summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/view/freifunk-olsr/mid.htm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freifunk/luasrc/view/freifunk-olsr/mid.htm')
-rw-r--r--modules/freifunk/luasrc/view/freifunk-olsr/mid.htm17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk-olsr/mid.htm b/modules/freifunk/luasrc/view/freifunk-olsr/mid.htm
new file mode 100644
index 000000000..6553237ea
--- /dev/null
+++ b/modules/freifunk/luasrc/view/freifunk-olsr/mid.htm
@@ -0,0 +1,17 @@
+<%+header%>
+<h1><%:olsrmid OLSR-MID%></h1>
+<br />
+<table cellspacing="0" cellpadding="6">
+<tr>
+<th><%:node Knoten%></th>
+<th><%:aliases Aliasse%></th>
+</tr>
+<% for k, mid in ipairs(mids) do %>
+<tr>
+<td><a href="http://<%=mid.IP%>"><%=mid.IP%></a></td>
+<td><%=mid.Aliases%></td>
+</tr>
+<% end %>
+</table>
+<br />
+<%+footer%> \ No newline at end of file