From d79e1ec4c14f190e36b4b45151c08260d2ed5c75 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 31 Mar 2008 08:52:24 +0000 Subject: * Rewritten menu builder * Moved menu definitions from controllers to model/menu --- src/ffluci/model/menu/00main.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ffluci/model/menu/00main.lua (limited to 'src/ffluci/model/menu/00main.lua') 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 -- cgit v1.2.3