From: Jean-Philippe Orsini Date: Sun, 10 Jul 2011 21:32:14 +0000 (+0000) Subject: minor html clean X-Git-Tag: v0.8.0.5~732 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=625cf040970e6997ee0c152f40e8d86bb2da1e8c minor html clean --- diff --git a/www/monitor.lua b/www/monitor.lua index 3042ad3..57b7a46 100644 --- a/www/monitor.lua +++ b/www/monitor.lua @@ -100,13 +100,13 @@ if sysinfo then str = str .. h2("CPU") str = str .. "" - .. tr("title", + .. "" .. tr("title", th(nil,"Current usage"), th(nil,"Load 1mn"), th(nil,"Load 5mn"), - th(nil,"Load 15mn")) + th(nil,"Load 15mn")) .. "" - str = str .. "" + str = str .. "" if sysinfo["load"] then str = str .. td(math.ceil(100*sysinfo["load"]) .. "%") @@ -117,7 +117,7 @@ if sysinfo then str = str .. td(string.format("%.2f",sysinfo["load_1mn"])) .. td(string.format("%.2f",sysinfo["load_5mn"])) .. td(string.format("%.2f",sysinfo["load_15mn"])) .. - "" .. + "" .. "
" --