frontend: replace the niceborder under the menu by a time progressbar
This commit is contained in:
parent
dff8431e8b
commit
598f4a5076
2 changed files with 7 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue