2008-07-07 22:00:56 +00:00
|
|
|
<%#
|
|
|
|
LuCI - Lua Configuration Interface
|
|
|
|
Copyright 2008 Steven Barth <steven@midlink.org>
|
|
|
|
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
|
2011-11-09 18:12:25 +00:00
|
|
|
Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
|
2008-07-07 22:00:56 +00:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
|
|
|
|
-%>
|
2011-11-09 18:12:25 +00:00
|
|
|
<%
|
|
|
|
local i = 1
|
|
|
|
%>
|
|
|
|
|
2008-05-08 16:14:49 +00:00
|
|
|
<%+header%>
|
2009-10-31 15:54:11 +00:00
|
|
|
<h2><a id="content" name="content"><%:Active MID announcements%></a></h2>
|
2011-11-09 18:12:25 +00:00
|
|
|
|
|
|
|
<fieldset class="cbi-section">
|
|
|
|
<legend><%:Overview of known multiple interface announcements%></legend>
|
|
|
|
<table class="cbi-section-table">
|
|
|
|
<tr class="cbi-section-table-titles">
|
|
|
|
<th class="cbi-section-table-cell"><%:OLSR node%></th>
|
|
|
|
<th class="cbi-section-table-cell" ><%:Secondary OLSR interfaces%></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% for k, mid in ipairs(mids) do %>
|
|
|
|
|
|
|
|
<tr class="cbi-section-table-row cbi-rowstyle-<%=i%>">
|
|
|
|
<td class="cbi-section-table-cell"><a href="http://<%=mid["IP address"]%>/cgi-bin-status.html"><%=mid["IP address"]%></a></td>
|
|
|
|
<td class="cbi-section-table-cell"><%=mid.Aliases%></td>
|
|
|
|
</tr>
|
|
|
|
|
2011-11-13 12:34:09 +00:00
|
|
|
<% i = ((i % 2) + 1)
|
2011-11-09 18:12:25 +00:00
|
|
|
end %>
|
|
|
|
</table>
|
|
|
|
</fieldset>
|
2008-09-14 20:57:00 +00:00
|
|
|
<%+footer%>
|