From d47f6e00868ae987c160b5d5e0fa465c11a6ca5b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 2 Oct 2011 09:59:07 +0000 Subject: modules/freifunk: convert public status template to XHR.poll() --- .../luasrc/view/freifunk/public_status.htm | 212 ++++++++++----------- 1 file changed, 102 insertions(+), 110 deletions(-) (limited to 'modules/freifunk/luasrc') diff --git a/modules/freifunk/luasrc/view/freifunk/public_status.htm b/modules/freifunk/luasrc/view/freifunk/public_status.htm index 3cb57082e..633613e55 100644 --- a/modules/freifunk/luasrc/view/freifunk/public_status.htm +++ b/modules/freifunk/luasrc/view/freifunk/public_status.htm @@ -59,119 +59,111 @@ local defroutev6 = sys.net.defaultroute6()
@@ -190,7 +182,7 @@ local defroutev6 = sys.net.defaultroute6()

<%:Wireless Overview%>

- + <% if not has_iwinfo then %>
<%:Package libiwinfo required!%>
@@ -211,7 +203,7 @@ local defroutev6 = sys.net.defaultroute6() <%:TX%>-<%:Power%> <%:Interface%> - <% + <% for _, dev in ipairs(devices) do local net for _, net in ipairs(dev:get_wifinets()) do -- cgit v1.2.3