admin: improve human interface

This commit is contained in:
nemunaire 2016-01-22 17:37:29 +01:00
parent 61dc38c09c
commit 46dcff83c3
4 changed files with 111 additions and 7 deletions

View 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>