summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc/model/cbi
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-12-04 15:06:17 +0100
committerGitHub <noreply@github.com>2023-12-04 15:06:17 +0100
commit568b44edb3bf545e424e7c1a3f162e753b190113 (patch)
tree5d24269cb273a6ce9768e02aa0a2f12816c393b6 /applications/luci-app-dockerman/luasrc/model/cbi
parente3466bd83be36bc1d62257fac3e1635fe18133ba (diff)
parent7cc4aeb5c3fdde67552bc2019bbabbcb06b1c0d4 (diff)
Merge pull request #6651 from jjm2473/upstream/dockerman-hide-submit-on-overview
luci-app-dockerman: hide config buttons in overview page
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 022664738d..0506670cdb 100644
--- a/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
+++ b/applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua
@@ -18,9 +18,11 @@ function byte_format(byte)
end
end
-m = Map("dockerd",
+m = SimpleForm("dockerd",
translate("Docker - Overview"),
translate("An overview with the relevant data is displayed here with which the LuCI docker client is connected."))
+m.submit=false
+m.reset=false
local docker_info_table = {}
docker_info_table['3ServerVersion'] = {_key=translate("Docker Version"),_value='-'}