diff options
author | Steven Barth <steven@midlink.org> | 2008-07-15 08:47:36 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-15 08:47:36 +0000 |
commit | 97ff4a156ff1aa6a4d2ab65ab13d12b4eb2651e2 (patch) | |
tree | 7b95d899c2cfc0bb95fc2ee149dec3ea3b4e0742 /modules/admin-full/luasrc/view/admin_uci | |
parent | 4d7c453ea83c749b05d6271a3bdc0c0c057150ed (diff) |
Split up admin-core into admin-core and admin-full, preparing admin-mini
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_uci')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_uci/apply.htm | 20 | ||||
-rw-r--r-- | modules/admin-full/luasrc/view/admin_uci/changes.htm | 25 | ||||
-rw-r--r-- | modules/admin-full/luasrc/view/admin_uci/revert.htm | 19 |
3 files changed, 64 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 new file mode 100644 index 0000000000..e280947282 --- /dev/null +++ b/modules/admin-full/luasrc/view/admin_uci/apply.htm @@ -0,0 +1,20 @@ +<%# +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%> +<h1><%:config%></h1> +<p><%:uci_applied%>:</p> +<code><%=(changes or "-")%> +<%=output%></code> +<%+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 new file mode 100644 index 0000000000..f2a88602ad --- /dev/null +++ b/modules/admin-full/luasrc/view/admin_uci/changes.htm @@ -0,0 +1,25 @@ +<%# +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%> +<h1><%:config%></h1> +<h2><%:changes%></h2> +<code><%=changes%></code> +<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/revert"> + <input type="submit" value="<%:revert%>" /> +</form> +<%+footer%>
\ No newline at end of file diff --git a/modules/admin-full/luasrc/view/admin_uci/revert.htm b/modules/admin-full/luasrc/view/admin_uci/revert.htm new file mode 100644 index 0000000000..7f98a0435b --- /dev/null +++ b/modules/admin-full/luasrc/view/admin_uci/revert.htm @@ -0,0 +1,19 @@ +<%# +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%> +<h1><%:config%></h1> +<p><%:uci_reverted%>:</p> +<code><%=(changes or "-")%></code> +<%+footer%>
\ No newline at end of file |