2 <h1><%:olsrlinks OLSR-Verbindungen%
></h1>
3 <p><%:olsrlinks1 Übersicht über aktuell bestehende OLSR-Verbindungen%
></p>
5 <table cellspacing=
"0" cellpadding=
"6">
7 <th><%:destination Ziel%
></th>
8 <th><%:local Lokal%
></th>
13 <% for k, link in ipairs(links) do
14 local color =
"#bb3333"
16 link.ETX = tonumber(link.ETX)
19 elseif link.ETX <
4 then
21 elseif link.ETX <
10 then
23 elseif link.ETX <
100 then
28 <td><a href=
"http://<%=link["remote IP
"]%>"><%=link[
"remote IP"]%
></a></td>
29 <td><%=link[
"Local IP"]%
></td>
30 <td><%=link.LinkQuality%
></td>
31 <td><%=link.NLQ%
></td>
32 <td style=
"background-color:<%=color%>"><%=link.ETX%
></td>
37 <h3><%:legend Legende%
>:
</h3>
39 <li><strong>LQ:
</strong><%:lq1 Erfolgsquote gesendeter Pakete%
></li>
40 <li><strong>NLQ:
</strong><%:nlq1 Erfolgsquote empfangener Pakete%
></li>
41 <li><strong>ETX:
</strong><%:etx1 Zu erwartende Sendeversuche pro Paket%
></li>