Renamed FFLuCI to LuCI, ffluci to luci and Freifunk Lua Configuration Interface to...
[project/luci.git] / modules / freifunk / src / view / public_status / routes.htm
1 <%+header%>
2 <h1><%:routes Routen%></h1>
3
4 <br />
5 <table cellspacing="0" cellpadding="6" class="smalltext">
6 <tr>
7 <th><%:target Ziel%></th>
8 <th><%:netmask Netzmaske%></th>
9 <th><%:gateway Gateway%></th>
10 <th><%:metric Metrik%></th>
11 <th><%:iface Schnittstelle%></th>
12 </tr>
13 <%
14 local routes = luci.sys.net.routes()
15
16 for i, r in pairs(routes) do
17 %>
18 <tr>
19 <td><%=luci.sys.net.hexip4(r.Destination)%></td>
20 <td><%=luci.sys.net.hexip4(r.Mask)%></td>
21 <td><%=luci.sys.net.hexip4(r.Gateway)%></td>
22 <td><%=r.Metric%></td>
23 <td><%=r.Iface%></td>
24 </tr>
25 <% end %>
26 </table>
27 <br />
28 <%+footer%>