2 Copyright 2008 Steven Barth <steven@midlink.org>
3 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
4 Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
5 Licensed to the public under the Apache License 2.0.
13 <h2><a id="content" name="content"><%:Active MID announcements%></a></h2>
15 <div id="togglebuttons"></div>
16 <fieldset class="cbi-section">
17 <legend><%:Overview of known multiple interface announcements%></legend>
18 <table class="cbi-section-table">
19 <tr class="cbi-section-table-titles">
20 <th class="cbi-section-table-cell"><%:OLSR node%></th>
21 <th class="cbi-section-table-cell" ><%:Secondary OLSR interfaces%></th>
24 <% for k, mid in ipairs(mids) do
26 for k,v in ipairs(mid.aliases) do
32 aliases = v.ipAddress .. sep .. aliases
34 local host = mid.ipAddress
35 if mid.proto == '6' then
36 host = '[' .. mid.ipAddress .. ']'
40 <tr class="cbi-section-table-row cbi-rowstyle-<%=i%> proto-<%=mid.proto%>">
41 <td class="cbi-section-table-cell"><a href="http://<%=host%>/cgi-bin-status.html"><%=mid.ipAddress%></a></td>
42 <td class="cbi-section-table-cell"><%=aliases%></td>
49 <%+status-olsr/common_js%>