mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 04:53:28 +02:00
Cleanup code for control-panes.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
.widget-container.fluid-height.stf-cpu(ng-controller='CpuCtrl')
|
||||
.widget-content.padded
|
||||
//nothing-to-show(show='!data', message='No CPU info', icon='fa-bar-chart-o')
|
||||
div.overflow-x
|
||||
ul
|
||||
li(ng-repeat="(id, stats) in data")
|
||||
span {{ stats.deviceName }}
|
||||
ul
|
||||
li(ng-repeat="(cpu, load) in stats.loads")
|
||||
span {{cpu}}: {{load.user + load.nice + load.system}}%
|
||||
span {{cpu}}: {{load.user + load.nice + load.system}}%
|
||||
|
||||
Reference in New Issue
Block a user