X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-mini%2Fluasrc%2Fview%2Fmini%2Findex.htm;h=e00100c18b7317ee256b00e486ff94f0a855ee1a;hp=1b9e46aaea317a622ce390bf5ebf9f8c97de26a1;hb=be5c20195f71ff6187a31b4200ea1f23e1c9b13c;hpb=3d794abec4531bd2a2e44e2cb0e2ce13c657dcdb diff --git a/modules/admin-mini/luasrc/view/mini/index.htm b/modules/admin-mini/luasrc/view/mini/index.htm index 1b9e46aae..e00100c18 100644 --- a/modules/admin-mini/luasrc/view/mini/index.htm +++ b/modules/admin-mini/luasrc/view/mini/index.htm @@ -12,7 +12,8 @@ You may obtain a copy of the License at $Id$ -%> -<% +<%+header%> +<%- local system, model, memtotal = luci.sys.sysinfo() local uptime = luci.sys.uptime() @@ -27,7 +28,6 @@ local utsecs = uptime % 60 local iwconfig = luci.sys.wifi.getiwconfig() -%> -<%+header%>

<%:a_i_i_hello%>

<%:a_i_i_admin1%>

<%:a_i_i_admin2%>
@@ -66,7 +66,6 @@ local iwconfig = luci.sys.wifi.getiwconfig() -<%- if luci.model.uci.get_statevalue("network", "lan", "up") == "1" then %>

<%:m_n_local%>

@@ -79,10 +78,8 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "lan", "netmask")%>
-<%- end %> -<%- if luci.model.uci.get_statevalue("network", "lan", "up") == "1" then %>

<%:m_n_inet%>

@@ -95,7 +92,6 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "wan", "netmask")%>
-<%- end %> <%- if next(iwconfig) then %>

<%:wifi%>

@@ -134,4 +130,4 @@ local iwconfig = luci.sys.wifi.getiwconfig() <%end%> <%-end%> -<%+footer%> \ No newline at end of file +<%+footer%>