descr = "Übersicht",
order = 10,
entries = {
+ {action = "luci", descr = "FFLuCI"},
{action = "contact", descr = "Kontakt"}
}
}
\ No newline at end of file
{action = "vlan", descr = "Switch"},
{action = "ifaces", descr = "Schnittstellen"},
{action = "ptp", descr = "PPPoE / PPTP"},
+ {action = "routes", descr = "Statische Routen"},
}
}
\ No newline at end of file
--- /dev/null
+-- 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
--- /dev/null
+-- 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