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 --- .../luci-app-wireguard/luasrc/view/wireguard.htm | 52 +++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'applications/luci-app-wireguard/luasrc/view/wireguard.htm') diff --git a/applications/luci-app-wireguard/luasrc/view/wireguard.htm b/applications/luci-app-wireguard/luasrc/view/wireguard.htm index 5af6232ae..64d995529 100644 --- a/applications/luci-app-wireguard/luasrc/view/wireguard.htm +++ b/applications/luci-app-wireguard/luasrc/view/wireguard.htm @@ -164,43 +164,43 @@ for ikey, iface in pairs(data) do -%> <%:Interface%> <%=ikey%> - - - - - + + + + <%- for pkey, peer in pairs(iface.peers) do -%> - - - - + + + + <%- end -%> -
<%:Configuration%> - - - - -
+
+
+
<%:Configuration%>
+
+
+
+
  -
+ +
<%:Collecting data...%> -
-
<%:Peer%> - - - - -
+
+
<%:Peer%>
+
+
+
+

? -
+ +
<%:Collecting data...%> -
-
+ <%- end -%> -- cgit v1.2.3