summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dockerman/luasrc
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-08-03 12:32:11 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-08-11 12:55:36 +0200
commit400985d020bb7b44f472637e7cd4eea7f143045c (patch)
tree1ca13973139b95cd7c5a42da5b258f58202385cd /applications/luci-app-dockerman/luasrc
parent6bd215fe82fd2ad737ac23d8d666896b67cb57ba (diff)
luci-app-dockerman: set overview to first menu entry
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc')
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
index 368664cae..9167a896c 100644
--- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
+++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua
@@ -12,7 +12,7 @@ function index()
e.dependent = false
e.acl_depends = { "luci-app-dockerman" }
- entry({"admin", "docker", "overview"},cbi("dockerman/overview"),_("Overview"),0).leaf=true
+ entry({"admin", "docker", "overview"},cbi("dockerman/overview"),_("Overview"), 1).leaf=true
local remote = luci.model.uci.cursor():get_bool("dockerd", "globals", "remote_endpoint")
if remote then
@@ -32,11 +32,11 @@ function index()
return
end
- entry({"admin", "docker", "containers"}, form("dockerman/containers"), _("Containers"),1).leaf=true
- entry({"admin", "docker", "images"}, form("dockerman/images"), _("Images"),2).leaf=true
- entry({"admin", "docker", "networks"}, form("dockerman/networks"), _("Networks"),3).leaf=true
- entry({"admin", "docker", "volumes"}, form("dockerman/volumes"), _("Volumes"),4).leaf=true
- entry({"admin", "docker", "events"}, call("action_events"), _("Events"),5)
+ entry({"admin", "docker", "containers"}, form("dockerman/containers"), _("Containers"), 2).leaf=true
+ entry({"admin", "docker", "images"}, form("dockerman/images"), _("Images"), 3).leaf=true
+ entry({"admin", "docker", "networks"}, form("dockerman/networks"), _("Networks"), 4).leaf=true
+ entry({"admin", "docker", "volumes"}, form("dockerman/volumes"), _("Volumes"), 5).leaf=true
+ entry({"admin", "docker", "events"}, call("action_events"), _("Events"), 6)
entry({"admin", "docker", "newcontainer"}, form("dockerman/newcontainer")).leaf=true
entry({"admin", "docker", "newnetwork"}, form("dockerman/newnetwork")).leaf=true