summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/view/freifunk-olsr/topology.htm
blob: c622026d4818b41ca970301f358a30cbb22dd327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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%>