From dd3f7d202266f6721bfd5f058b4e37950e9ff4e7 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Wed, 8 Feb 2012 18:36:26 +0000 Subject: [PATCH] luci-olsr: fix html olsr status page --- .../luasrc/view/status-olsr/overview.htm | 108 +++++++++++++----- 1 file changed, 79 insertions(+), 29 deletions(-) diff --git a/applications/luci-olsr/luasrc/view/status-olsr/overview.htm b/applications/luci-olsr/luasrc/view/status-olsr/overview.htm index 753e3b912e..d57da7cfe3 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/overview.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/overview.htm @@ -162,82 +162,131 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 },
-
+
+
+ +
"> - <%=nr_ifaces%> + <%=nr_ifaces%> +
-
+
<%=interfaces%>
+
- -
+ +
+
+ <%:Neighbors%> +
"> - <%=nr_neigh%> + <%=nr_neigh%> +
-
+
<%=neighbors%>
+
-
-
"> - - <%=nr_nodes%> - +
+
+ <%:Nodes%>
+ +
-
-
"> - - <%=nr_hna%> - +
+
+ <%:HNA%> +
+ +
-
-
"> - - <%=nr_topo%> - +
+
+ <%:Links total%>
+ +
-
+
+
+ <%:Links per node (average)%> +
- - <%=meshfactor%> - +
+ + <%=meshfactor%> + +
+
+

OLSR <%:Configuration%>

-
-
<%=ver.version%> (built <%=ver.date%> on <%=ver.host%>) +
+
+ <%:Version%>
+
+ <%=ver.version%> (built <%=ver.date%> on <%=ver.host%>) +
+
-
+
+
+ <%:Download Config%> +
OpenWrt, <% if ipv == "6and4" then %> @@ -247,6 +296,7 @@ XHR.poll(30, '<%=REQUEST_URI%>', { status: 1 }, OLSRD <% end %>
+
-- 2.30.2