luci-app-dockerman: add datatype and detail info for remote_host option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit f406004c9c)
This commit is contained in:
Florian Eckert 2021-04-08 15:21:17 +02:00
parent 48d8a1a732
commit 4b4850ead6

View file

@ -98,7 +98,9 @@ o = s:option(Flag, "remote_endpoint",
o.rmempty = false
o = s:option(Value, "remote_host",
translate("Remote Host"))
translate("Remote Host"),
translate("Host or IP Address for the connection to a remote docker instance"))
o.datatype = "host"
o.placeholder = "10.1.1.2"
o:depends("remote_endpoint", 1)