small fixes
This commit is contained in:
@@ -672,8 +672,7 @@ function stats(data) {
|
||||
var s = data[name];
|
||||
var o = oldstats[name];
|
||||
if (!o|| !s) continue;
|
||||
$('text:contains("'+name+'") + text + text').css('background-color: red');
|
||||
$('text:contains("'+name+'") + text + text')
|
||||
$('text + text:contains("'+name+'") + text')
|
||||
.html('cpu: '
|
||||
+(Math.round((s.cpuacct.usage.data-o.cpuacct.usage.data)
|
||||
/(s.cpuacct.usage.date-o.cpuacct.usage.date)
|
||||
|
Reference in New Issue
Block a user