diff options
author | Steven Barth <steven@midlink.org> | 2008-03-31 07:25:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-31 07:25:38 +0000 |
commit | be1cfcef389a6b673b3a730faa1c4fdb4635f85d (patch) | |
tree | dd0ef2cdc8e99966ba3ae47b056147b3d67ddaf1 /src/ffluci/model/cbi | |
parent | 8474dc767ebf565566565c2c8d9def70bda55cc9 (diff) |
* Added admin > index > luci (FFLuCI configuration page)
* Added admin > network > routes (static routes configuration page)
Diffstat (limited to 'src/ffluci/model/cbi')
-rw-r--r-- | src/ffluci/model/cbi/admin_index/luci.lua | 14 | ||||
-rw-r--r-- | src/ffluci/model/cbi/admin_network/routes.lua | 16 |
2 files changed, 30 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 diff --git a/src/ffluci/model/cbi/admin_network/routes.lua b/src/ffluci/model/cbi/admin_network/routes.lua new file mode 100644 index 0000000000..5a5f780070 --- /dev/null +++ b/src/ffluci/model/cbi/admin_network/routes.lua @@ -0,0 +1,16 @@ +-- ToDo: Translate, Add descriptions and help texts +m = Map("network", "Statische Routen") + +s = m:section(TypedSection, "route") +s.addremove = true +s.anonymous = true + +s:option(Value, "interface", "Schnittstelle") + +s:option(Value, "target", "Ziel", "Host-IP oder Netzwerk") + +s:option(Value, "netmask", "Netzmaske", "falls Ziel ein Netzwerk ist").rmemepty = true + +s:option(Value, "gateway", "Gateway") + +return m
\ No newline at end of file |