admin: interface to synchronize

This commit is contained in:
nemunaire 2017-12-17 15:39:20 +01:00
commit 9abac6e47b
5 changed files with 154 additions and 12 deletions

View file

@ -1,4 +1,15 @@
<h2>Exercices</h2>
<h2>Exercices
<a ng-click="syncFull()" ng-class="{'disabled': inSync}" class="pull-right btn btn-default"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Synchroner</a>
<small style="height: 0px;">
<div class="checkbox pull-right"><label><input type="checkbox" ng-model="syncFiles"> Fichiers</label></div>
<div class="checkbox pull-right"><label><input type="checkbox" ng-model="syncHints"> Indices</label></div>
<div class="checkbox pull-right"><label><input type="checkbox" ng-model="syncKeys"> Flags</label></div>
</small>
</h2>
<div class="progress" ng-if="inSync">
<div class="progress-bar" style="width: {{ done * 100 / total }}%;"></div>
</div>
<div>
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>