diff options
author | Steven Barth <steven@midlink.org> | 2008-10-31 09:35:11 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-31 09:35:11 +0000 |
commit | 8c4492db5fac28d1c143931316e4ccb7f877e6ec (patch) | |
tree | 39f27af314d0c04dcfa3699203d35163d673652e /modules/admin-mini/luasrc/view | |
parent | 676966f78bbe4aa42f819b991586dca0bac8c554 (diff) |
Removed UCI Save/Apply cache from Essentials
Made CBI controllers configurable
Diffstat (limited to 'modules/admin-mini/luasrc/view')
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/uci_apply.htm | 39 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/uci_changes.htm | 39 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/uci_revert.htm | 29 |
3 files changed, 0 insertions, 107 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/uci_apply.htm b/modules/admin-mini/luasrc/view/mini/uci_apply.htm deleted file mode 100644 index a908b6a8b..000000000 --- a/modules/admin-mini/luasrc/view/mini/uci_apply.htm +++ /dev/null @@ -1,39 +0,0 @@ -<%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - --%> -<%+header%> -<div> -<a href="<%=luci.http.formvalue("redir")%>"><< <%:back%></a> -<br /> -<br /> -</div> -<h2><a id="content" name="content"><%:config%></a></h2> -<p><%:uci_applied%>:</p> -<code><%=(changes or "-")%> - -<% -local fp = reload() -local line = fp:read() -while line do - write(line.."\n") - line = fp:read() -end -fp:close() -%></code> -<div> -<a href="<%=luci.http.formvalue("redir")%>"><< <%:back%></a> -<br /> -<br /> -</div> -<%+footer%>
\ No newline at end of file diff --git a/modules/admin-mini/luasrc/view/mini/uci_changes.htm b/modules/admin-mini/luasrc/view/mini/uci_changes.htm deleted file mode 100644 index 89df99dab..000000000 --- a/modules/admin-mini/luasrc/view/mini/uci_changes.htm +++ /dev/null @@ -1,39 +0,0 @@ -<%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - --%> -<%+header%> -<div> -<a href="<%=luci.http.formvalue("redir")%>"><< <%:back%></a> -<br /> -<br /> -</div> -<h2><a id="content" name="content"><%:config%></a></h2> -<h3><%:changes%></h3> -<code><%=changes%></code> -<br /><br /> -<form class="inline" method="get" action="<%=controller%>/admin/uci/apply"> - <input type="submit" value="<%:apply%>" /> -</form> -<form class="inline" method="get" action="<%=controller%>/admin/uci/saveapply"> - <input type="submit" value="<%:saveapply%>" /> -</form> -<form class="inline" method="get" action="<%=controller%>/admin/uci/revert"> - <input type="submit" value="<%:revert%>" /> -</form> - -<div> -<br /> -<a href="<%=luci.http.formvalue("redir")%>"><< <%:back%></a> -</div> -<%+footer%>
\ No newline at end of file diff --git a/modules/admin-mini/luasrc/view/mini/uci_revert.htm b/modules/admin-mini/luasrc/view/mini/uci_revert.htm deleted file mode 100644 index e8515dc41..000000000 --- a/modules/admin-mini/luasrc/view/mini/uci_revert.htm +++ /dev/null @@ -1,29 +0,0 @@ -<%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - --%> -<%+header%> -<div> -<a href="<%=luci.http.formvalue("redir")%>"><< <%: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")%>"><< <%:back%></a> -<br /> -<br /> -</div> -<%+footer%>
\ No newline at end of file |