themes/freifunk-generic: Add changes from r7585
[project/luci.git] / themes / freifunk-generic / luasrc / view / themes / freifunk-generic / header.htm
index 513471d..b8c1862 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>