X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-olsr%2Fluasrc%2Fview%2Fstatus-olsr%2Finterfaces.htm;fp=applications%2Fluci-olsr%2Fluasrc%2Fview%2Fstatus-olsr%2Finterfaces.htm;h=b409fede91b3a93145d2cfe69c4b54c5204eca0d;hp=0000000000000000000000000000000000000000;hb=210d77543369ab3f44e5aa4894ed82134019c1b5;hpb=f68906c20fa82065196d37e243c5819f7ff18ea9 diff --git a/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm b/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm new file mode 100644 index 000000000..b409fede9 --- /dev/null +++ b/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm @@ -0,0 +1,45 @@ +<%# +LuCI - Lua Configuration Interface +Copyright 2008 Steven Barth +Copyright 2008 Jo-Philipp Wich +Copyright 2010 Manuel Munz + +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: mid.htm 5448 2009-10-31 15:54:11Z jow $ + +-%> +<%+header%> +

<%:Interfaces%>

+

<%:Overview of interfaces where OLSR is running%>

+
+ + + + + + + + + + + +<% for k, i in ipairs(iface) do %> + + + + + + + + + +<% end %> + +
<%:Interface%><%:State%><%:MTU%><%:WLAN%><%:Source address%><%:Netmask%><%:Broadcast address%>
<%=i.Name%><%=i.State%><%=i.MTU%><%=i.WLAN%><%=i["Src-Adress"]%><%=i.Mask%><%=i["Dst-Adress"]%>
+
+<%+footer%>