diff options
author | Paul Donald <newtwen@gmail.com> | 2023-12-04 15:06:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 15:06:17 +0100 |
commit | 568b44edb3bf545e424e7c1a3f162e753b190113 (patch) | |
tree | 5d24269cb273a6ce9768e02aa0a2f12816c393b6 /applications/luci-app-dockerman | |
parent | e3466bd83be36bc1d62257fac3e1635fe18133ba (diff) | |
parent | 7cc4aeb5c3fdde67552bc2019bbabbcb06b1c0d4 (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')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/controller/dockerman.lua | 2 | ||||
-rw-r--r-- | applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua index f00f863ca5..ac0668b073 100644 --- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua +++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua @@ -33,7 +33,7 @@ function index() return end - entry({"admin", "docker", "overview"},cbi("dockerman/overview"),_("Overview"), 2).leaf=true + entry({"admin", "docker", "overview"}, form("dockerman/overview"),_("Overview"), 2).leaf=true entry({"admin", "docker", "containers"}, form("dockerman/containers"), _("Containers"), 3).leaf=true entry({"admin", "docker", "images"}, form("dockerman/images"), _("Images"), 4).leaf=true entry({"admin", "docker", "networks"}, form("dockerman/networks"), _("Networks"), 5).leaf=true 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='-'} |