admin: complet API and interface with files checking page

This commit is contained in:
nemunaire 2017-12-27 01:53:01 +01:00
commit 9a1a64c41c
9 changed files with 166 additions and 19 deletions

View file

@ -0,0 +1,22 @@
<h2>
Fichiers
<button ng-click="checksumAll()" class="float-right btn btn-sm btn-secondary mr-sm-2"><span class="glyphicon glyphicon-flash" aria-hidden="true"></span> Vérifier les fichiers</button>
</h2>
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>
<table class="table table-hover table-bordered table-striped table-sm">
<thead class="thead-dark">
<tr>
<th ng-repeat="field in fields">
{{ field }}
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="file in files | filter: query" ng-click="show(file)">
<td ng-repeat="field in fields">
{{ file[field] }}
</td>
</tr>
</tbody>
</table>