Files
stf-DeviceFarmer/res/app/device-list/device-list-stats.jade
Gunther Brunner dd5b04998d Tried to fix the counting for zero,
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.
2014-07-16 18:20:54 +09:00

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')