summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-04-19 16:23:54 +0200
committerGitHub <noreply@github.com>2021-04-19 16:23:54 +0200
commitc05bd1990fc9df234b24141ddd10cd91c5e067f6 (patch)
tree46f64c8bd52e1c4a3a1683d688e68186f771c035 /applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua
parenta0e05a7c4d3e7b9815cdfb2459c8d117fe5502fe (diff)
parentfd88a64843767f91942d3a6301da504fcfe90cc9 (diff)
Merge pull request #4973 from TDT-AG/pr/20210408-luci-app-dockerman
luci-app-dockerman: fixes and improvements
Diffstat (limited to 'applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua')
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua14
1 files changed, 10 insertions, 4 deletions
diff --git a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua
index 01a7e3f237..2381df4634 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua
@@ -68,7 +68,9 @@ end
local image_list = get_images()
-m = SimpleForm("docker", translate("Docker"))
+m = SimpleForm("docker",
+ translate("Docker - Images"),
+ translate("On this page all images are displayed that are available on the system and with which a container can be created."))
m.submit=false
m.reset=false
@@ -77,7 +79,9 @@ local pull_value={
_registry="index.docker.io"
}
-s = m:section(SimpleSection, translate("Pull Image"))
+s = m:section(SimpleSection,
+ translate("Pull Image"),
+ translate("By entering a valid image name with the corresponding version, the docker image can be downloaded from the configured registry."))
s.template="cbi/nullsection"
o = s:option(Value, "_image_tag_name")
@@ -116,12 +120,14 @@ o.write = function(self, section)
luci.http.redirect(luci.dispatcher.build_url("admin/docker/images"))
end
-s = m:section(SimpleSection, translate("Import Images"))
+s = m:section(SimpleSection,
+ translate("Import Image"),
+ translate("When pressing the Import button, both a local image can be loaded onto the system and a valid image tar can be downloaded from remote."))
o = s:option(DummyValue, "_image_import")
o.template = "dockerman/images_import"
-s = m:section(Table, image_list, translate("Images"))
+s = m:section(Table, image_list, translate("Images overview"))
o = s:option(Flag, "_selected","")
o.disabled = 0