From: Florian Eckert Date: Thu, 8 Apr 2021 13:21:17 +0000 (+0200) Subject: luci-app-dockerman: add datatype and detail info for remote_host option X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f406004c9c6c547918a099241d2f4e56f8180e8e;p=project%2Fluci.git luci-app-dockerman: add datatype and detail info for remote_host option Signed-off-by: Florian Eckert --- 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)