mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 22:05:21 +02:00
but the real problem relies in that the device counting takes time and we don't know before-hand how many devices we have. Also the scope is not shared between the device list and the remote control.
23 lines
804 B
Plaintext
23 lines
804 B
Plaintext
.widget-container.stats-container
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-globe.visitors
|
|
//span(ng-bind='counter.total') 0
|
|
span(count-from='0', count-to='{{counter.total}}', duration='50')
|
|
.text(translate) Total devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-check.visitors
|
|
span(count-from='0', count-to='{{counter.usable}}', duration='50')
|
|
.text(translate) Usable devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-users.visitors
|
|
span(count-from='0', count-to='{{counter.busy}}', duration='50')
|
|
.text(translate) Busy devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-user.visitors(ng-class='{"fa-trophy": $root.adminMode, "fa-user": !$root.adminMode}')
|
|
span(count-from='0', count-to='{{counter.using}}', duration='50')
|
|
.text(ng-bind='currentUser.name')
|