Files
stf-DeviceFarmer/res/app/control-panes/cpu/cpu.pug
Gunther Brunner 1eb6af0119 Replaced old jade with new pug.
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`.
Follow here: https://github.com/jtangelder/template-html-loader/issues/8
2016-08-05 18:24:30 +09:00

10 lines
336 B
Plaintext

.widget-container.fluid-height.stf-cpu(ng-controller='CpuCtrl')
.widget-content.padded
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}}%