|
Revision 6653, 1.1 KB
(checked in by soma, 2 years ago)
|
|
applications/luci-olsr: Add overview page, move old index to neigbors
|
| Line | |
|---|
| 1 | <%# |
|---|
| 2 | LuCI - Lua Configuration Interface |
|---|
| 3 | Copyright 2008 Steven Barth <steven@midlink.org> |
|---|
| 4 | Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> |
|---|
| 5 | Copyright 2010 Manuel Munz <freifunk at somakoma dot de> |
|---|
| 6 | |
|---|
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 8 | you may not use this file except in compliance with the License. |
|---|
| 9 | You may obtain a copy of the License at |
|---|
| 10 | |
|---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 12 | |
|---|
| 13 | $Id: mid.htm 5448 2009-10-31 15:54:11Z jow $ |
|---|
| 14 | |
|---|
| 15 | -%> |
|---|
| 16 | <%+header%> |
|---|
| 17 | <h2><a id="content" name="content"><%:Interfaces%></a></h2> |
|---|
| 18 | <p><%:Overview of interfaces where OLSR is running%></p> |
|---|
| 19 | <br /> |
|---|
| 20 | <table class="smalltext" cellspacing="0" cellpadding="6"> |
|---|
| 21 | <tr> |
|---|
| 22 | <th><%:Interface%></th> |
|---|
| 23 | <th><%:State%></th> |
|---|
| 24 | <th><%:MTU%></th> |
|---|
| 25 | <th><%:WLAN%></th> |
|---|
| 26 | <th><%:Source address%></th> |
|---|
| 27 | <th><%:Netmask%></th> |
|---|
| 28 | <th><%:Broadcast address%></th> |
|---|
| 29 | </tr> |
|---|
| 30 | |
|---|
| 31 | <% for k, i in ipairs(iface) do %> |
|---|
| 32 | <tr> |
|---|
| 33 | <td><%=i.Name%></td> |
|---|
| 34 | <td><%=i.State%></td> |
|---|
| 35 | <td><%=i.MTU%></td> |
|---|
| 36 | <td><%=i.WLAN%></td> |
|---|
| 37 | <td><%=i["Src-Adress"]%></td> |
|---|
| 38 | <td><%=i.Mask%></td> |
|---|
| 39 | <td><%=i["Dst-Adress"]%></td> |
|---|
| 40 | </tr> |
|---|
| 41 | <% end %> |
|---|
| 42 | |
|---|
| 43 | </table> |
|---|
| 44 | <br /> |
|---|
| 45 | <%+footer%> |
|---|