summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-04-08 15:21:17 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-04-08 16:25:35 +0200
commitf406004c9c6c547918a099241d2f4e56f8180e8e (patch)
tree5222c6355968601bf7b0594950658b2bae2a6869 /applications/luci-app-dockerman/luasrc/model/cbi
parent0e29a0ecc686c0c19e9a1964e60b687844fd517b (diff)
luci-app-dockerman: add datatype and detail info for remote_host option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
index 3308d64ac5..51609a6aaf 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
@@ -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)