From: Steven Barth Date: Fri, 25 Jul 2008 22:15:18 +0000 (+0000) Subject: applications/luci-splash: Made configuration sections tables X-Git-Tag: 0.8.0~573 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=bd4ac252a9c05d99d2132a685b6a89cef78d1cfa applications/luci-splash: Made configuration sections tables --- diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua index a14a38c1d..37ef559af 100644 --- a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua +++ b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua @@ -7,6 +7,7 @@ s = m:section(NamedSection, "general", "core", "Allgemein") s:option(Value, "leasetime", "Freigabezeit", "h") s = m:section(TypedSection, "iface", "Schnittstellen") +s.template = "cbi/tblsection" s.addremove = true s.anonymous = true @@ -19,11 +20,13 @@ luci.model.uci.foreach("network", "interface", end) s = m:section(TypedSection, "whitelist", "Automatische Freigabe") +s.template = "cbi/tblsection" s.addremove = true s.anonymous = true s:option(Value, "mac", "MAC-Adresse") s = m:section(TypedSection, "blacklist", "Automatische Sperrung") +s.template = "cbi/tblsection" s.addremove = true s.anonymous = true s:option(Value, "mac", "MAC-Adresse")