
functions
files
intro
|
|
Configuration of ntp-client |
include/ntp-client/widgets.ycp |
Widgets definitions |
|
|
Imports
- CWMFirewallInterfaces
- Confirm
- Label
- LogView
- NetworkDevices
- NtpClient
- Popup
- SLP
Includes
Local Functions
- ConfigDhcpInit (string id)
- ConfigDhcpStore (string id, map event)
- FoundServersInit (string id)
- FoundServersStore (string id, map event)
- InitWidgets ()
- ServerListHandle (string id, map event)
- ServerListInit (string id)
- ServerListStore (string id, map event)
- ServerListValidate (string id, map event)
- ServersSourceInit (string id)
- addressInit (string id)
- addressStore (string id, map event)
- browseButtonHandle (string id, map event)
- chrootInit (string id)
- chrootStore (string id, map event)
- clockTypeHandle (string id, map event)
- clockTypeInit (string id)
- clockTypeStore (string id, map event)
- complexButtonHandle (string key, map event)
- createSymlinkHandle (string id, map event)
- createSymlinkInit (string id)
- createSymlinkStore (string id, map event)
- deviceInit (string id)
- deviceStore (string id, map event)
- fudgeButtonHandle (string key, map event)
- initSyncInit (string id)
- initSyncStore (string id, map event)
- ntpEnabledOrDisabled (string id, map event)
- optionsInit (string id)
- optionsStore (string id, map event)
- overviewHandle (string id, map event)
- overviewInit (string id)
- overviewRedraw ()
- peerTypesHandle (string id, map event)
- peerTypesInit (string id)
- serverAddressHandle (string id, map event)
- showLogPopup ()
- startHandle (string id, map event)
- startInit (string id)
- startStore (string id, map event)
- unitNumberInit (string id)
- unitNumberStore (string id, map event)
|
|
|
local showLogPopup () -> void
|
|
Show popup with NTP daemon's log
local ntpEnabledOrDisabled (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local startInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local startStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local startHandle (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local complexButtonHandle (string key, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
key |
any widget id |
event |
map event that caused storing process |
- Return value:
local fudgeButtonHandle (string key, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
key |
string widget id |
event |
map event that caused storing process |
- Return value:
local chrootInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local chrootStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local ConfigDhcpInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local ConfigDhcpStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local overviewRedraw () -> void
|
|
Redraw the overview table
local overviewHandle (string id, map event) -> symbol
|
|
Handle events on the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
- Return value:
|
event to pass to WS or nil |
local overviewInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local addressInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local addressStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local serverAddressHandle (string id, map event) -> symbol
|
|
Handle events on the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
|
event to pass to WS or nil |
local initSyncInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local initSyncStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local optionsInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local optionsStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
local peerTypesInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local peerTypesHandle (string id, map event) -> symbol
|
|
Handle events on the widget
- Parameters:
id |
any widget id |
event |
map event that caused storing process |
- Return value:
|
event to pass to WS or nil |
local createSymlinkInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local createSymlinkHandle (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local createSymlinkStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local clockTypeHandle (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local clockTypeInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local clockTypeStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local unitNumberInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local unitNumberStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local browseButtonHandle (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local deviceInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local deviceStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local ServerListHandle (string id, map event) -> symbol
|
|
Handle function of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
- Return value:
local ServerListInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local ServerListStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local ServerListValidate (string id, map event) -> boolean
|
|
Validation function of a widget
- Parameters:
id |
string widget id |
event |
map event that caused validation |
- Return value:
|
true if validation succeeded |
local ServersSourceInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local FoundServersInit (string id) -> void
|
|
Initialize the widget
- Parameters:
local FoundServersStore (string id, map event) -> void
|
|
Store settings of the widget
- Parameters:
id |
string widget id |
event |
map event that caused storing process |
local InitWidgets () -> map<string,map<string,any> >
|
|
Initialize all widgets
- Return value:
|