summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/src/view/public_olsr/topology.htm
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-08 16:14:49 +0000
committerSteven Barth <steven@midlink.org>2008-05-08 16:14:49 +0000
commit424a6ce48d2c1eba12493ad8bb5a8350a23f7dbf (patch)
tree1b3660fd9a8db552d50c9ef9d11b9dee35bf8fac /modules/freifunk/src/view/public_olsr/topology.htm
parent1f6c5cccd269ad70257cacb5d6f13e421d6cfb4f (diff)
* Readded freifunk module
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 000000000..c622026d4
--- /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