summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua24
1 files changed, 9 insertions, 15 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 59266ac490..3c2b80a236 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
@@ -18,12 +18,9 @@ function byte_format(byte)
end
end
-m = Map("dockerd", translate("Docker"),
- translate("DockerMan is a Simple Docker manager client for LuCI, If you have any issue please visit:") ..
- " " ..
- [[<a href="https://github.com/lisaac/luci-app-dockerman" target="_blank">]] ..
- translate("Github") ..
- [[</a>]])
+m = Map("dockerd",
+ translate("Docker - Overview"),
+ translate("An overview with the relevant data is displayed here with which the LuCI docker client is connected."))
local docker_info_table = {}
docker_info_table['3ServerVersion'] = {_key=translate("Docker Version"),_value='-'}
@@ -90,6 +87,8 @@ if docker.new():_ping().code == 200 then
s.volumes_total = tostring(#volumes_list)
end
+<<<<<<< HEAD
+=======
s = m:section(NamedSection, "globals", "section", translate("Setting"))
o = s:option(Flag, "remote_endpoint",
@@ -97,12 +96,6 @@ o = s:option(Flag, "remote_endpoint",
translate("Connect to remote endpoint"))
o.rmempty = false
-o = s:option(Value, "socket_path",
- translate("Docker Socket Path"))
-o.default = "unix:///var/run/docker.sock"
-o.placeholder = "unix:///var/run/docker.sock"
-o:depends("remote_endpoint", 1)
-
o = s:option(Value, "remote_host",
translate("Remote Host"))
o.placeholder = "10.1.1.2"
@@ -124,13 +117,13 @@ if nixio.fs.access("/usr/bin/dockerd") then
translate("Default bridge"),
translate("Configure the default bridge network"))
o.placeholder = "172.17.0.1/16"
- o.default = "172.17.0.1/16"
o.datatype = "ipaddr"
o:depends("remote_endpoint", 0)
o = s:option(DynamicList, "registry_mirrors",
- translate("Registry Mirrors"))
- o:value("https://hub-mirror.c.163.com", "https://hub-mirror.c.163.com")
+ translate("Registry Mirrors"),
+ translate("It replaces the daemon registry mirrors with a new set of registry mirrors"))
+ o.placeholder = translate("Example: https://hub-mirror.c.163.com")
o:depends("remote_endpoint", 0)
o = s:option(ListValue, "log_level",
@@ -152,4 +145,5 @@ if nixio.fs.access("/usr/bin/dockerd") then
o:depends("remote_endpoint", 0)
end
+>>>>>>> ec564ddf6... luci-app-dockerman: set examle registry url as placeholder
return m