mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
For now it shows/hides columns in the Device List and adds kicking behaviour. Using $rootScope.adminMode for convenience.
22 lines
804 B
Plaintext
22 lines
804 B
Plaintext
.widget-container.stats-container
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-globe.visitors
|
|
span(counter, count-from='0', count-to='{{counter.total}}', duration='100')
|
|
.text(translate) Total devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-check.visitors
|
|
span(counter, count-from='0', count-to='{{counter.usable}}', duration='100')
|
|
.text(translate) Usable devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-users.visitors
|
|
span(counter, count-from='0', count-to='{{counter.busy}}', duration='100')
|
|
.text(translate) Busy devices
|
|
.col-md-3
|
|
.number
|
|
.icon.fa.fa-user.visitors(ng-class='{"fa-trophy": $root.adminMode, "fa-user": !$root.adminMode}')
|
|
span(counter, count-from='0', count-to='{{counter.using}}', duration='100')
|
|
.text(ng-bind='currentUser.name')
|