frontend: replace the niceborder under the menu by a time progressbar

This commit is contained in:
nemunaire 2018-12-05 02:56:09 +01:00
parent dff8431e8b
commit 598f4a5076
2 changed files with 7 additions and 1 deletions

View file

@ -156,6 +156,8 @@ angular.module("FICApp")
remain = $rootScope.settings.end - srv_cur;
}
$rootScope.timeProgression = 1 - remain / ($rootScope.settings.end - $rootScope.settings.start);
remain = remain / 1000;
if (remain < 0) {