1 -- ToDo: Translate, Add descriptions and help texts
2 require("luci.model.uci")
4 m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot-Authentifizierungs-System.]])
6 s = m:section(NamedSection, "general", "core", "Allgemein")
7 s:option(Value, "leasetime", "Freigabezeit", "h")
9 s = m:section(TypedSection, "iface", "Schnittstellen")
13 iface = s:option(ListValue, "network", "Schnittstelle")
14 for k, v in pairs(luci.model.uci.sections("network")) do
15 if v[".type"] == "interface" and k ~= "loopback" then
20 s = m:section(TypedSection, "whitelist", "Automatische Freigabe")
23 s:option(Value, "mac", "MAC-Adresse")
25 s = m:section(TypedSection, "blacklist", "Automatische Sperrung")
28 s:option(Value, "mac", "MAC-Adresse")