* Removed ffluci.view.public_status.internet: Too dirty

This commit is contained in:
Steven Barth 2008-04-23 16:59:21 +00:00
parent 0ea68c4f74
commit 224c256641
2 changed files with 0 additions and 33 deletions

View file

@ -3,7 +3,6 @@ act("contact", "Kontakt")
add("public", "status", "Status", 20)
act("routes", "Routingtabelle")
act("internet", "Internetzugang")
act("iwscan", "WLAN-Scan")
add("public", "olsr", "OLSR", 30)

View file

@ -1,32 +0,0 @@
<%+header%>
<h1><%:inetaccess Internetzugangstest%></h1>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
<th><%:target Ziel%></th>
<th><%:host Host%></th>
<th><%:result Ergebnis%></th>
</tr>
<%
local tests = {}
tests[1] = {descr = "Chaos Computer Club Deutschland", target = "213.73.91.29"}
tests[2] = {descr = "Kernel.org - Mirror Niederlande", target = "199.6.1.164"}
tests[3] = {descr = "Debian.org - Mirror Deutschland", target = "www.de.debian.org"}
tests[4] = {descr = "Wikimedia Deutschland", target = "www.wikimedia.de"}
for i, t in ipairs(tests) do
%>
<tr>
<td><%=t.descr%></td>
<td><%=t.target%></td>
<% if ffluci.sys.net.pingtest(t.target) == 0 then %>
<td class="ok"><%:ok OK%></td>
<% else %>
<td class="error"><%:failed fehlgeschlagen%></td>
<% end %>
</tr>
<% end %>
</table>
<br />
<%+footer%>