diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:06:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-25 08:06:22 +0000 |
commit | 77ae07c88f9d27d60c7d98a81d83386d60d36645 (patch) | |
tree | 4071dfc03b51faae844e4176482dd4eb8a3d86ae | |
parent | e17e66be6ee85e545cc9b3d4dabaa3e03354eb63 (diff) |
modules/admin-full: pass along backlink in uci pages
-rw-r--r-- | modules/admin-full/luasrc/view/admin_uci/changes.htm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_uci/changes.htm b/modules/admin-full/luasrc/view/admin_uci/changes.htm index 34968c05a..c26d8cc5b 100644 --- a/modules/admin-full/luasrc/view/admin_uci/changes.htm +++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm @@ -27,18 +27,21 @@ $Id$ <div class="cbi-page-actions"> <div style="float:left"> <form class="inline" method="get" action="<%=luci.util.pcdata(luci.http.formvalue("redir"))%>"> - <input class="cbi-button" style="float:left; margin:0" type="submit" value="<%:« Back%>" /> + <input class="cbi-button cbi-button-link" style="float:left; margin:0" type="submit" value="<%:Back%>" /> </form> </div> <div style="text-align:right"> <form class="inline" method="get" action="<%=controller%>/admin/uci/apply"> + <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" /> <input class="cbi-button cbi-button-apply" type="submit" value="<%:Apply%>" /> </form> <form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply"> + <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" /> <input class="cbi-button cbi-button-save" type="submit" value="<%:Save & Apply%>" /> </form> <form class="inline" method="get" action="<%=controller%>/admin/uci/revert"> + <input type="hidden" name="redir" value="<%=pcdata(luci.http.formvalue("redir"))%>" /> <input class="cbi-button cbi-button-reset" type="submit" value="<%:Revert%>" /> </form> </div> |