themes/freifunk-generic: Add changes from r7585
authorManuel Munz <freifunk@somakoma.de>
Sat, 1 Oct 2011 17:29:00 +0000 (17:29 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sat, 1 Oct 2011 17:29:00 +0000 (17:29 +0000)
themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm

index 513471da50e5662ab0f2ce0e49b61b535a9b9285..b8c1862cfdbe3012e019a76925f24689bc752917 100644 (file)
@@ -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>