18 lines
431 B
HTML
18 lines
431 B
HTML
<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>
|