server/admin/static/views/theme-list.html

24 lines
948 B
HTML
Raw Normal View History

2017-12-17 15:07:04 +00:00
<h2>
Thèmes
2018-11-18 20:34:08 +00:00
<button type="button" ng-click="show('new')" class="float-right btn btn-sm btn-primary ml-2"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Ajouter un thème</button>
<button type="button" ng-click="sync()" ng-class="{'disabled': inSync}" class="float-right btn btn-sm btn-secondary ml-2"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Synchroniser</button>
2017-12-17 15:07:04 +00:00
</h2>
2016-12-26 00:20:06 +00:00
<p><input type="search" class="form-control" placeholder="Search" ng-model="query" ng-keypress="validateSearch($event)" autofocus></p>
2017-12-17 15:07:04 +00:00
<table class="table table-hover table-bordered table-striped">
<thead class="thead-dark">
2016-01-22 16:37:29 +00:00
<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] | stripHTML }}
2016-01-22 16:37:29 +00:00
</td>
</tr>
</tbody>
</table>