|
|
|
@ -52,24 +52,24 @@ o.default = 0
|
|
|
|
|
o.rmempty = false
|
|
|
|
|
|
|
|
|
|
-- Connection Type Dropdown
|
|
|
|
|
o = s:option(ListValue, "backbone", translate("Connection Type"), translate("Choose if Node or Gateway is connected to internet by LAN or WiFi"))
|
|
|
|
|
o:value("lan", translate("LAN"))
|
|
|
|
|
o:value("wifi", translate("WiFi"))
|
|
|
|
|
o.default = "lan"
|
|
|
|
|
o.rmempty = false
|
|
|
|
|
--o = s:option(ListValue, "backbone", translate("Connection Type"), translate("Choose if Node or Gateway is connected to internet by LAN or WiFi"))
|
|
|
|
|
--o:value("lan", translate("LAN"))
|
|
|
|
|
--o:value("wifi", translate("WiFi"))
|
|
|
|
|
--o.default = "lan"
|
|
|
|
|
--o.rmempty = false
|
|
|
|
|
|
|
|
|
|
-- AP Name
|
|
|
|
|
apn = s:option(Value, "apname", translate("AP Name"), translate("Enter the client WiFi AP name"))
|
|
|
|
|
apn:depends("backbone", "wifi")
|
|
|
|
|
apn.placeholder = "easymesh_AC"
|
|
|
|
|
apn.rmempty = true
|
|
|
|
|
--apn = s:option(Value, "apname", translate("AP Name"), translate("Enter the client WiFi AP name"))
|
|
|
|
|
--apn:depends("backbone", "wifi")
|
|
|
|
|
--apn.placeholder = "easymesh_AC"
|
|
|
|
|
--apn.rmempty = true
|
|
|
|
|
|
|
|
|
|
-- AP Password
|
|
|
|
|
app = s:option(Value, "appass", translate("AP Password"), translate("Enter the client WiFi AP password"))
|
|
|
|
|
app:depends("backbone", "wifi")
|
|
|
|
|
--app = s:option(Value, "appass", translate("AP Password"), translate("Enter the client WiFi AP password"))
|
|
|
|
|
--app:depends("backbone", "wifi")
|
|
|
|
|
--app.password = true
|
|
|
|
|
app.placeholder = "easymesh"
|
|
|
|
|
app.rmempty = true
|
|
|
|
|
--app.placeholder = "easymesh"
|
|
|
|
|
--app.rmempty = true
|
|
|
|
|
|
|
|
|
|
o = s:option(ListValue, "role", translate("Mesh Device Type"))
|
|
|
|
|
o:value("off", translate("Mesh Node"))
|
|
|
|
|