Cleanup code for control-panes.

This commit is contained in:
Gunther Brunner
2015-08-31 17:04:46 +09:00
parent bd493b210b
commit 4db67dd703
26 changed files with 4 additions and 356 deletions

View File

@@ -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}}%