applications/luci-ntpc: cbi fixes
This commit is contained in:
parent
eaaaa39c17
commit
96381bf0d8
2 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,7 @@ m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes
|
||||||
|
|
||||||
s = m:section(TypedSection, "ntpclient", translate("General"))
|
s = m:section(TypedSection, "ntpclient", translate("General"))
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
s.addremove = false
|
||||||
|
|
||||||
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
|
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
|
||||||
|
|
||||||
|
@ -25,9 +26,9 @@ s:option(Value, "count", translate("Count of Time Measurements"), translate("emp
|
||||||
|
|
||||||
s2 = m:section(TypedSection, "ntpdrift", translate("Clock Adjustment"))
|
s2 = m:section(TypedSection, "ntpdrift", translate("Clock Adjustment"))
|
||||||
s2.anonymous = true
|
s2.anonymous = true
|
||||||
|
s2.addremove = false
|
||||||
s2:option(Value, "freq", translate("Offset Frequency")).rmempty = true
|
s2:option(Value, "freq", translate("Offset Frequency")).rmempty = true
|
||||||
|
|
||||||
|
|
||||||
s3 = m:section(TypedSection, "ntpserver", translate("Time Server"))
|
s3 = m:section(TypedSection, "ntpserver", translate("Time Server"))
|
||||||
s3.anonymous = true
|
s3.anonymous = true
|
||||||
s3.addremove = true
|
s3.addremove = true
|
||||||
|
|
|
@ -17,6 +17,7 @@ m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes
|
||||||
|
|
||||||
s = m:section(TypedSection, "ntpclient", translate("General"))
|
s = m:section(TypedSection, "ntpclient", translate("General"))
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
s.addremove = false
|
||||||
|
|
||||||
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
|
s:option(DummyValue, "_time", translate("ntpc_current")).value = os.date("%c")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue