admin: improve human interface
This commit is contained in:
parent
61dc38c09c
commit
46dcff83c3
4 changed files with 111 additions and 7 deletions
17
admin/static/views/theme-list.html
Normal file
17
admin/static/views/theme-list.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-repeat="field in fields">
|
||||
{{ field }}
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="theme in themes | filter: query" ng-click="show(theme.id)">
|
||||
<td ng-repeat="field in fields">
|
||||
{{ theme[field] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Reference in a new issue