summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua2
-rw-r--r--applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua4
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='-'}