diff options
Diffstat (limited to 'modules/freifunk/src/view/public_olsr')
-rw-r--r-- | modules/freifunk/src/view/public_olsr/error_olsr.htm | 6 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_olsr/hna.htm | 17 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_olsr/index.htm | 43 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_olsr/mid.htm | 17 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_olsr/routes.htm | 36 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_olsr/topology.htm | 23 |
6 files changed, 0 insertions, 142 deletions
diff --git a/modules/freifunk/src/view/public_olsr/error_olsr.htm b/modules/freifunk/src/view/public_olsr/error_olsr.htm deleted file mode 100644 index 25426f50d7..0000000000 --- a/modules/freifunk/src/view/public_olsr/error_olsr.htm +++ /dev/null @@ -1,6 +0,0 @@ -<%+header%> -<h1><%:olsr OLSR%></h1> -<p class="error"><%:olsrerror1 Es konnte keine Verbindung zum OLSR-Daemon hergestellt werden!%></p> -<p><%:olsrerror2 Um die Statusinformationen abfragen zu können muss der OLSR-Daemon gestartet -und das Plugin "txtinfo" geladen sein.%></p> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_olsr/hna.htm b/modules/freifunk/src/view/public_olsr/hna.htm deleted file mode 100644 index c13369f426..0000000000 --- a/modules/freifunk/src/view/public_olsr/hna.htm +++ /dev/null @@ -1,17 +0,0 @@ -<%+header%> -<h1><%:olsrhna OLSR-HNA%></h1> -<br /> -<table cellspacing="0" cellpadding="6"> -<tr> -<th><%:destination Ziel%></th> -<th><%:gateway Gateway%></th> -</tr> -<% for k, route in ipairs(routes) do %> -<tr> -<td><%=route.Network%>/<%=route.Netmask%></td> -<td><a href="http://<%=route.Gateway%>"><%=route.Gateway%></a></td> -</tr> -<% end %> -</table> -<br /> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_olsr/index.htm b/modules/freifunk/src/view/public_olsr/index.htm deleted file mode 100644 index 0633d1f456..0000000000 --- a/modules/freifunk/src/view/public_olsr/index.htm +++ /dev/null @@ -1,43 +0,0 @@ -<%+header%> -<h1><%:olsrlinks OLSR-Verbindungen%></h1> -<p><%:olsrlinks1 Übersicht über aktuell bestehende OLSR-Verbindungen%></p> -<br /> -<table cellspacing="0" cellpadding="6"> -<tr> -<th><%:destination Ziel%></th> -<th><%:local Lokal%></th> -<th>LQ</th> -<th>NLQ</th> -<th>ETX</th> -</tr> -<% for k, link in ipairs(links) do - local color = "#bb3333" - - link.ETX = tonumber(link.ETX) - if link.ETX == 0 then - color = "#bb3333" - elseif link.ETX < 4 then - color = "#00cc00" - elseif link.ETX < 10 then - color = "#ffcb05" - elseif link.ETX < 100 then - color = "#ff6600" - end -%> -<tr> -<td><a href="http://<%=link["remote IP"]%>"><%=link["remote IP"]%></a></td> -<td><%=link["Local IP"]%></td> -<td><%=link.LinkQuality%></td> -<td><%=link.NLQ%></td> -<td style="background-color:<%=color%>"><%=link.ETX%></td> -</tr> -<% end %> -</table> -<br /> -<h3><%:legend Legende%>:</h3> -<ul> -<li><strong>LQ: </strong><%:lq1 Erfolgsquote gesendeter Pakete%></li> -<li><strong>NLQ: </strong><%:nlq1 Erfolgsquote empfangener Pakete%></li> -<li><strong>ETX: </strong><%:etx1 Zu erwartende Sendeversuche pro Paket%></li> -</ul> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_olsr/mid.htm b/modules/freifunk/src/view/public_olsr/mid.htm deleted file mode 100644 index 6553237ea5..0000000000 --- a/modules/freifunk/src/view/public_olsr/mid.htm +++ /dev/null @@ -1,17 +0,0 @@ -<%+header%> -<h1><%:olsrmid OLSR-MID%></h1> -<br /> -<table cellspacing="0" cellpadding="6"> -<tr> -<th><%:node Knoten%></th> -<th><%:aliases Aliasse%></th> -</tr> -<% for k, mid in ipairs(mids) do %> -<tr> -<td><a href="http://<%=mid.IP%>"><%=mid.IP%></a></td> -<td><%=mid.Aliases%></td> -</tr> -<% end %> -</table> -<br /> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_olsr/routes.htm b/modules/freifunk/src/view/public_olsr/routes.htm deleted file mode 100644 index f3a0fd3366..0000000000 --- a/modules/freifunk/src/view/public_olsr/routes.htm +++ /dev/null @@ -1,36 +0,0 @@ -<%+header%> -<h1><%:olsrlinks OLSR-Routen%></h1> -<br /> -<table cellspacing="0" cellpadding="6"> -<tr> -<th><%:destination Ziel%></th> -<th><%:gateway Gateway%></th> -<th><%:interface Schnittstelle%></th> -<th><%:metric Metrik%></th> -<th>ETX</th> -</tr> -<% for k, route in ipairs(routes) do - local color = "#bb3333" - - route.ETX = tonumber(route.ETX) - if route.ETX == 0 then - color = "#bb3333" - elseif route.ETX < 4 then - color = "#00cc00" - elseif route.ETX < 10 then - color = "#ffcb05" - elseif route.ETX < 100 then - color = "#ff6600" - end -%> -<tr> -<td><%=route.Destination%></td> -<td><%=route.Gateway%></td> -<td><%=route.Interface%></td> -<td><%=route.Metric%></td> -<td style="background-color:<%=color%>"><%=route.ETX%></td> -</tr> -<% end %> -</table> -<br /> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_olsr/topology.htm b/modules/freifunk/src/view/public_olsr/topology.htm deleted file mode 100644 index c622026d48..0000000000 --- a/modules/freifunk/src/view/public_olsr/topology.htm +++ /dev/null @@ -1,23 +0,0 @@ -<%+header%> -<h1><%:olsrtopo OLSR-Topologie%></h1> -<br /> -<table cellspacing="0" cellpadding="6"> -<tr> -<th><%:destination Ziel%></th> -<th><%:lasthop Letzter Router%></th> -<th>LQ</th> -<th>ILQ</th> -<th>ETX</th> -</tr> -<% for k, route in ipairs(routes) do %> -<tr> -<td><a href="http://<%=route["Destination IP"]%>"><%=route["Destination IP"]%></a></td> -<td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td> -<td><%=route.LQ%></td> -<td><%=route.ILQ%></td> -<td><%=route.ETX%></td> -</tr> -<% end %> -</table> -<br /> -<%+footer%>
\ No newline at end of file |