summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model/cbi/admin_index
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-31 07:25:38 +0000
committerSteven Barth <steven@midlink.org>2008-03-31 07:25:38 +0000
commitbe1cfcef389a6b673b3a730faa1c4fdb4635f85d (patch)
treedd0ef2cdc8e99966ba3ae47b056147b3d67ddaf1 /src/ffluci/model/cbi/admin_index
parent8474dc767ebf565566565c2c8d9def70bda55cc9 (diff)
* Added admin > index > luci (FFLuCI configuration page)
* Added admin > network > routes (static routes configuration page)
Diffstat (limited to 'src/ffluci/model/cbi/admin_index')
-rw-r--r--src/ffluci/model/cbi/admin_index/luci.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ffluci/model/cbi/admin_index/luci.lua b/src/ffluci/model/cbi/admin_index/luci.lua
new file mode 100644
index 0000000000..ec6c2228b9
--- /dev/null
+++ b/src/ffluci/model/cbi/admin_index/luci.lua
@@ -0,0 +1,14 @@
+-- ToDo: Translate, Add descriptions and help texts
+m = Map("luci", "FFLuCI")
+
+c = m:section(NamedSection, "main", "core", "Allgemein")
+c:option(Value, "lang", "Sprache")
+c:option(Value, "mediaurlbase", "Mediaverzeichnis")
+
+p = m:section(NamedSection, "category_privileges", "core", "Kategorieprivilegien")
+p.dynamic = true
+
+u = m:section(NamedSection, "uci_oncommit", "event", "UCI-Befehle beim Anwenden")
+u.dynamic = true
+
+return m \ No newline at end of file