summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-31 08:52:24 +0000
committerSteven Barth <steven@midlink.org>2008-03-31 08:52:24 +0000
commitd79e1ec4c14f190e36b4b45151c08260d2ed5c75 (patch)
treed32997f753f0b9ef2c006b1f0215de294f515943 /src/ffluci/model
parentbe1cfcef389a6b673b3a730faa1c4fdb4635f85d (diff)
* Rewritten menu builder
* Moved menu definitions from controllers to model/menu
Diffstat (limited to 'src/ffluci/model')
-rw-r--r--src/ffluci/model/menu/00main.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ffluci/model/menu/00main.lua b/src/ffluci/model/menu/00main.lua
new file mode 100644
index 0000000000..64fc36462d
--- /dev/null
+++ b/src/ffluci/model/menu/00main.lua
@@ -0,0 +1,26 @@
+-- General menu definition
+add("public", "index", "Übersicht", 10)
+act("contact", "Kontakt")
+
+
+add("admin", "index", "Übersicht", 10)
+act("luci", "FFLuCI")
+act("contact", "Kontakt")
+
+add("admin", "system", "System", 20)
+act("passwd", "Passwort ändern")
+act("sshkeys", "SSH-Schlüssel")
+act("reboot", "Neu starten")
+
+add("admin", "network", "Netzwerk", 30)
+act("vlan", "Switch")
+act("ifaces", "Schnittstellen")
+act("ptp", "PPPoE / PPTP")
+act("routes", "Statische Routen")
+
+add("admin", "wifi", "Drahtlos", 40)
+act("devices", "Geräte")
+act("networks", "Netze")
+
+add("admin", "mesh", "Mesh", 50)
+act("olsrd", "OLSR") \ No newline at end of file