summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_uci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-10 20:59:27 +0000
committerSteven Barth <steven@midlink.org>2008-10-10 20:59:27 +0000
commit720295d973b44cdad4cd4a0e0b0b0f7f79ff6c3a (patch)
tree19ba90091e82853047488f3c2a0842f31d47b42d /modules/admin-full/luasrc/view/admin_uci
parenta957254e79a8cfaf4c79da138b6531c6ec324b36 (diff)
OXYGEN #3: Add "back" button to UCI apply/revert/changes pages
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_uci')
-rw-r--r--modules/admin-full/luasrc/view/admin_uci/apply.htm10
-rw-r--r--modules/admin-full/luasrc/view/admin_uci/changes.htm10
-rw-r--r--modules/admin-full/luasrc/view/admin_uci/revert.htm10
3 files changed, 30 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/view/admin_uci/apply.htm b/modules/admin-full/luasrc/view/admin_uci/apply.htm
index 8aa09c641..a908b6a8b 100644
--- a/modules/admin-full/luasrc/view/admin_uci/apply.htm
+++ b/modules/admin-full/luasrc/view/admin_uci/apply.htm
@@ -13,6 +13,11 @@ $Id$
-%>
<%+header%>
+<div>
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+<br />
+<br />
+</div>
<h2><a id="content" name="content"><%:config%></a></h2>
<p><%:uci_applied%>:</p>
<code><%=(changes or "-")%>
@@ -26,4 +31,9 @@ while line do
end
fp:close()
%></code>
+<div>
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+<br />
+<br />
+</div>
<%+footer%> \ No newline at end of file
diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm
index da0d9f11c..6375aaf71 100644
--- a/modules/admin-full/luasrc/view/admin_uci/changes.htm
+++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm
@@ -13,6 +13,11 @@ $Id$
-%>
<%+header%>
+<div>
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+<br />
+<br />
+</div>
<h2><a id="content" name="content"><%:config%></a></h2>
<h3><%:changes%></h3>
<code><%=changes%></code>
@@ -26,4 +31,9 @@ $Id$
<form class="inline" method="get" action="<%=controller%>/admin/uci/revert">
<input type="submit" value="<%:revert%>" />
</form>
+
+<div>
+<br />
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+</div>
<%+footer%>
diff --git a/modules/admin-full/luasrc/view/admin_uci/revert.htm b/modules/admin-full/luasrc/view/admin_uci/revert.htm
index 553ec7454..e8515dc41 100644
--- a/modules/admin-full/luasrc/view/admin_uci/revert.htm
+++ b/modules/admin-full/luasrc/view/admin_uci/revert.htm
@@ -13,7 +13,17 @@ $Id$
-%>
<%+header%>
+<div>
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+<br />
+<br />
+</div>
<h2><a id="content" name="content"><%:config%></a></h2>
<p><%:uci_reverted%>:</p>
<code><%=(changes or "-")%></code>
+<div>
+<a href="<%=luci.http.formvalue("redir")%>">&lt;&lt; <%:back%></a>
+<br />
+<br />
+</div>
<%+footer%> \ No newline at end of file