summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_system/editor.htm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_system/editor.htm')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/editor.htm28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/editor.htm b/modules/admin-full/luasrc/view/admin_system/editor.htm
new file mode 100644
index 000000000..bac1729d0
--- /dev/null
+++ b/modules/admin-full/luasrc/view/admin_system/editor.htm
@@ -0,0 +1,28 @@
+<%#
+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><%:texteditor%></h1>
+<form method="post" action="<%=controller%>/admin/system/editor">
+<div><%:file%>: <input type="text" name="file" size="30" value="<%=fn%>" />
+<% if msg then %><span class="error"><%:error%>: <%=msg%></span><% end %></div>
+<br />
+<div><textarea style="width: 100%" rows="20" name="data"><%=cnt%></textarea></div>
+<br />
+<div>
+ <input type="submit" value="<%:save%>" />
+ <input type="reset" value="<%:reset%>" />
+</div>
+</form>
+<%+footer%> \ No newline at end of file