applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme
This commit is contained in:
parent
36717208f1
commit
b4d9e2867f
1 changed files with 0 additions and 4 deletions
|
@ -12,15 +12,11 @@ You may obtain a copy of the License at
|
||||||
|
|
||||||
$Id$
|
$Id$
|
||||||
]]--
|
]]--
|
||||||
require("luci.tools.webadmin")
|
|
||||||
m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc"))
|
m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc"))
|
||||||
|
|
||||||
s = m:section(TypedSection, "ntpclient", translate("general"))
|
s = m:section(TypedSection, "ntpclient", translate("general"))
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
|
||||||
iface = s:option(ListValue, "iface", translate("ntpc_iface"), translate("ntpc_iface_desc"))
|
|
||||||
luci.tools.webadmin.cbi_add_networks(iface)
|
|
||||||
|
|
||||||
s:option(Value, "interval", translate("ntpc_interval"))
|
s:option(Value, "interval", translate("ntpc_interval"))
|
||||||
s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc"))
|
s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue