2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 <h1><%:olsr_topology%></h1>
18 <table class="smalltext" cellspacing="0" cellpadding="6">
20 <th><%:destination%></th>
21 <th><%:olsr_lasthop%></th>
26 <% for k, route in ipairs(routes) do
29 <td><a href="http://<%=route["Destination IP"]%>"><%=route["Destination IP"]%></a></td>
30 <td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td>
31 <td><%=route.LQ%></td>
32 <td><%=route.ILQ%></td>
33 <td><%=string.format("%.3f", tonumber(route.ETX) or 0)%></td>