From: Jo-Philipp Wich Date: Sun, 7 Dec 2008 21:27:11 +0000 (+0000) Subject: modules/admin-full: improve layout of uci changes pages X-Git-Tag: 0.9.0~915 X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=cb06573805826173c0f19ca13bc9670f74f6b499 modules/admin-full: improve layout of uci changes pages --- diff --git a/modules/admin-full/luasrc/view/admin_uci/apply.htm b/modules/admin-full/luasrc/view/admin_uci/apply.htm index a908b6a8b..ac18746b6 100644 --- a/modules/admin-full/luasrc/view/admin_uci/apply.htm +++ b/modules/admin-full/luasrc/view/admin_uci/apply.htm @@ -13,27 +13,30 @@ $Id$ -%> <%+header%> -
-"><< <%:back%> -
-
-
+

<%:config%>

-

<%:uci_applied%>:

-<%=(changes or "-")%> - -<% -local fp = reload() -local line = fp:read() -while line do - write(line.."\n") - line = fp:read() -end -fp:close() -%> -
-"><< <%:back%> -
-
+

<%:uci_applied%>:

+ +
+ <%=(changes or "-")%>
-<%+footer%> \ No newline at end of file + +
+
    <%- + local fp = reload() + local line = fp:read() + while line do + write("
  • " .. luci.util.pcdata(line) .. "
  • \n") + line = fp:read() + end + fp:close() + -%>
+
+ +
+
"> + +
+
+ +<%+footer%> diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm index 6375aaf71..a9db8b49b 100644 --- a/modules/admin-full/luasrc/view/admin_uci/changes.htm +++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm @@ -12,28 +12,34 @@ You may obtain a copy of the License at $Id$ -%> + <%+header%> -
-"><< <%:back%> -
-
-
+

<%:config%>

-

<%:changes%>

-<%=changes%> -

-
- -
-
- -
-
- -
- -
-
-"><< <%:back%> +

<%:changes%>:

+ +
+ <%=changes%>
+ +
+
+
"> + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ <%+footer%> diff --git a/modules/admin-full/luasrc/view/admin_uci/revert.htm b/modules/admin-full/luasrc/view/admin_uci/revert.htm index e8515dc41..9c98d452e 100644 --- a/modules/admin-full/luasrc/view/admin_uci/revert.htm +++ b/modules/admin-full/luasrc/view/admin_uci/revert.htm @@ -12,18 +12,20 @@ You may obtain a copy of the License at $Id$ -%> + <%+header%> -
-"><< <%:back%> -
-
-
+

<%:config%>

-

<%:uci_reverted%>:

-<%=(changes or "-")%> -
-"><< <%:back%> -
-
+

<%:uci_reverted%>:

+ +
+ <%=(changes or "-")%>
-<%+footer%> \ No newline at end of file + +
+
"> + +
+
+ +<%+footer%>