summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/src/view/public_olsr/topology.htm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freifunk/src/view/public_olsr/topology.htm')
-rw-r--r--modules/freifunk/src/view/public_olsr/topology.htm23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/freifunk/src/view/public_olsr/topology.htm b/modules/freifunk/src/view/public_olsr/topology.htm
new file mode 100644
index 0000000000..c622026d48
--- /dev/null
+++ b/modules/freifunk/src/view/public_olsr/topology.htm
@@ -0,0 +1,23 @@
+<%+header%>
+<h1><%:olsrtopo OLSR-Topologie%></h1>
+<br />
+<table cellspacing="0" cellpadding="6">
+<tr>
+<th><%:destination Ziel%></th>
+<th><%:lasthop Letzter Router%></th>
+<th>LQ</th>
+<th>ILQ</th>
+<th>ETX</th>
+</tr>
+<% for k, route in ipairs(routes) do %>
+<tr>
+<td><a href="http://<%=route["Destination IP"]%>"><%=route["Destination IP"]%></a></td>
+<td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td>
+<td><%=route.LQ%></td>
+<td><%=route.ILQ%></td>
+<td><%=route.ETX%></td>
+</tr>
+<% end %>
+</table>
+<br />
+<%+footer%> \ No newline at end of file