X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-olsr%2Fluasrc%2Fview%2Fstatus-olsr%2Fhna.htm;h=bde1f009b54b50f71389664a76fb8df9787d2d2c;hb=32be6cea9305168b303d1e54ec3e658826725ef2;hp=e0ec8846a12a358d0b75987e5c7e70a02b5c2ace;hpb=86e1aebb593eb712e45536b730302495948ebdad;p=project%2Fluci.git diff --git a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm index e0ec8846a..bde1f009b 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm @@ -2,6 +2,7 @@ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich +Copyright 2011 Manuel Munz Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -12,21 +13,36 @@ You may obtain a copy of the License at $Id$ -%> +<% +local i = 1 +%> + <%+header%> -

<%:olsrd_hna2%>

-

<%:olsrd_hna_desc%>

-
- - - - - -<% for k, route in ipairs(routes) do %> - - - - -<% end %> -
<%:olsrd_network%><%:olsrd_gateway%>
<%=route.Destination%><%=route.Gateway%>
-
+ +

<%:Active host net announcements%>

+ +
+ <%:Overview of currently active OLSR host net announcements%> + + + + + + + <% for k, route in ipairs(routes) do %> + + + + + + + <% i = ((i % 2) + 1) + end %> +
<%:Announced network%><%:OLSR gateway%>
<%=route.Destination%> + <%=route.Gateway%> + <% if route.Hostname then %> + / <%=route.Hostname%> + <% end %> +
+
<%+footer%>