From 57f8e6acd39a9811590a2cfe0f3faa037b2afaf5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Dec 2008 21:27:52 +0000 Subject: [PATCH] luci-0.8: merge r3870 --- .../luasrc/view/admin_uci/apply.htm | 47 +++++++++--------- .../luasrc/view/admin_uci/changes.htm | 48 +++++++++++-------- .../luasrc/view/admin_uci/revert.htm | 26 +++++----- 3 files changed, 66 insertions(+), 55 deletions(-) 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%> -- 2.25.1