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 <h2><a id=
"content" name=
"content"><%:Active OLSR nodes%
></a></h2>
17 <p><%:Overview of currently known OLSR nodes%
></p>
19 <table class=
"smalltext" cellspacing=
"0" cellpadding=
"6">
21 <th><%:OLSR node%
></th>
22 <th><%:Last hop%
></th>
27 <% for k, route in ipairs(routes) do
30 <td><a href=
"http://<%=route["Dest. IP
"]%>"><%=route[
"Dest. IP"]%
></a></td>
31 <td><a href=
"http://<%=route["Last hop IP
"]%>"><%=route[
"Last hop IP"]%
></a></td>
32 <td><%=route.LQ%
></td>
33 <td><%=route.NLQ%
></td>
34 <td><%=string.format(
"%.3f", tonumber(route.Cost) or
0)%
></td>