From 067d7dc9f708d5ebeda1072fb6dc82e960de0d81 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 28 May 2018 14:57:54 +0200 Subject: treewide: convert HTML tables to div Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/freifunk-services/services.htm | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm') diff --git a/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm b/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm index 476150dd28..150ed87dad 100644 --- a/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm +++ b/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm @@ -132,11 +132,11 @@ end { var service = info[idx]; s += String.format( - '' + - '%s' + - '%s' + - '%s' + - '', + '
' + + '' + + '
%s
' + + '' + + '
', service.url, service.descr, service.proto, service.origin_link, service.origin || '?' ); } @@ -153,16 +153,16 @@ end
<%:Internal services%> - - - - - - - - - - +
+
+
+
<%:Url%>
+
<%:Protocol%>
+
<%:Source%>
+
+
+ +
<% for k, line in ipairs(services) do local field = {} @@ -178,15 +178,15 @@ end local url, proto, descr, origin = pcdata(field[1]), pcdata(field[2]), utl.trim(pcdata(field[3])), pcdata(field[4]) %> -
- - - - +
+ +
<%=proto%>
+ +
<% i = ((i % 2) + 1) end %> - -
<%:Url%><%:Protocol%><%:Source%>
<%=descr%><%=proto%><%=origin%>
+ +
<%=last_update%>
-- cgit v1.2.3