applications/luci-splash: add rate limiting options for splash clients
[project/luci.git] / applications / luci-splash / luasrc / model / cbi / splash / splash.lua
index 29bc6d9..22d13c7 100644 (file)
@@ -6,6 +6,14 @@ m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot
 s = m:section(NamedSection, "general", "core", "Allgemein")
 s:option(Value, "leasetime", "Freigabezeit", "h")
 
+s:option(Value, "limit_up", "Upload-Limitierung", "Kilobit/s - limitiert die Upload-Geschwindigkeit von Clients")
+s:option(Value, "limit_down", "Download-Limitierung", "Kilobit/s - limitiert die Download-Geschwindigkeit von Clients")
+
+s:option(DummyValue, "_tmp", "",
+       "Bandbreitenlimitierung für Clients wird aktiviert wenn sowohl Up- als auch " ..
+       "Download-Geschwindigkeit angegeben werden. Auf 0 setzen um die Limitierung zu deaktivieren. " ..
+       "Clients in der Whitelist werden nicht limitiert.")
+
 s = m:section(TypedSection, "iface", "Schnittstellen")
 s.template = "cbi/tblsection"
 s.addremove = true
@@ -44,4 +52,4 @@ s.addremove = true
 s.anonymous = true
 s:option(Value, "mac", "MAC-Adresse")
        
-return m
\ No newline at end of file
+return m