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
2011 Manuel Munz
<freifunk at somakoma dot de
>
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
11 http://www.apache.org/licenses/LICENSE-
2.0
21 <h2><a id=
"content" name=
"content"><%:Active MID announcements%
></a></h2>
23 <div id=
"togglebuttons"></div>
24 <fieldset class=
"cbi-section">
25 <legend><%:Overview of known multiple interface announcements%
></legend>
26 <table class=
"cbi-section-table">
27 <tr class=
"cbi-section-table-titles">
28 <th class=
"cbi-section-table-cell"><%:OLSR node%
></th>
29 <th class=
"cbi-section-table-cell" ><%:Secondary OLSR interfaces%
></th>
32 <% for k, mid in ipairs(mids) do
34 for k,v in ipairs(mid.aliases) do
40 aliases = v.ipAddress .. sep .. aliases
42 local host = mid.ipAddress
43 if mid.proto == '
6' then
44 host = '[' .. mid.ipAddress .. ']'
48 <tr class=
"cbi-section-table-row cbi-rowstyle-<%=i%> proto-<%=mid.proto%>">
49 <td class=
"cbi-section-table-cell"><a href=
"http://<%=host%>/cgi-bin-status.html"><%=mid.ipAddress%
></a></td>
50 <td class=
"cbi-section-table-cell"><%=aliases%
></td>
57 <%+status-olsr/common_js%
>