dashboard: rename CountdownController to TimerController
This commit is contained in:
parent
deb12052b5
commit
3df8d24e33
2 changed files with 11 additions and 5 deletions
|
|
@ -46,7 +46,7 @@
|
|||
<div class="card-header bg-{{s.params.color}} text-light" ng-if="s.params.title">
|
||||
<h3 style="margin:0"><strong ng-bind="s.params.title"></strong></h3>
|
||||
</div>
|
||||
<div ng-controller="CountdownController" ng-init="s.params.end?init(s.params.end):initT(startAt)">
|
||||
<div ng-controller="TimerController" ng-init="s.params.end?init(s.params.end):initStart()">
|
||||
<div class="card-body text-center" style="font-size: 450%;" ng-if="duration > 0">{{ duration / 60 | time }} <span class="point">:</span> {{ duration % 60 | time }}</div>
|
||||
<div class="card-body text-center" style="font-size: 450%;" ng-if="!duration || duration <= 0">{{ s.params.lead }}</div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue