admin: Display time before start in UI

This commit is contained in:
nemunaire 2017-01-16 13:14:55 +01:00
commit 4550f653ea
3 changed files with 13 additions and 0 deletions

View file

@ -28,6 +28,11 @@ const indextpl = `<!DOCTYPE html>
</ul>
<p id="clock" class="navbar-text navbar-right" ng-controller="CountdownController">
<span ng-show="startIn > 0">
Démarrage dans :
<span>{{"{{ startIn }}"}}</span>"
<span class="point">|</span>
</span>
<span id="hours">{{"{{ time.hours | time }}"}}</span>
<span class="point">:</span>
<span id="min">{{"{{ time.minutes | time }}"}}</span>