diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-10-01 17:29:00 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-10-01 17:29:00 +0000 |
commit | 17f5feace1798e93de2962eab29ffb785a0f8074 (patch) | |
tree | 132921bd24a42c538b88e22d663ccb1445a1ddb4 /themes | |
parent | 0620210de4106a12c814d302139ecd8e2b79b8a3 (diff) |
themes/freifunk-generic: Add changes from r7585
Diffstat (limited to 'themes')
-rw-r--r-- | themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index 513471da5..b8c1862cf 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -118,6 +118,11 @@ require("luci.http").prepare_content("application/xhtml+xml") <%=luci.version.distversion%><br /> <%:Load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%><br /> <%:Hostname%>: <%=hostname%><br /> + <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> + <span id="xhr_poll_status_off" style="display:none"><%:off%></span> + </span> </div> <%end%> </div> |