diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-17 15:17:42 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-17 15:17:42 +0100 |
commit | 30d45d0c0e0a08725b017693460a6d70379a68ac (patch) | |
tree | 30c03bf2705ee7637082608a9ca28428fac742bf /themes/luci-theme-openwrt/luasrc | |
parent | 4abf1caa3f088701fcb8bd428e7e78f74ef5e377 (diff) |
themes: fix load number formatting
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'themes/luci-theme-openwrt/luasrc')
-rw-r--r-- | themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm index e17df95d2..d43cc9c02 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -121,7 +121,7 @@ <div class="hostinfo"> <%=(boardinfo.hostname or "?")%> | <%=ver.distversion%> | - <%:Load%>: <%="%.2f" % loadinfo[1] / 65535.0%> <%="%.2f" % loadinfo[2] / 65535.0%> <%="%.2f" % loadinfo[3] / 65535.0%> + <%:Load%>: <%="%.2f" % (loadinfo[1] / 65535.0)%> <%="%.2f" % (loadinfo[2] / 65535.0)%> <%="%.2f" % (loadinfo[3] / 65535.0)%> <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> | <%:Auto Refresh%>: <span id="xhr_poll_status_on"><%:on%></span> |