summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/index.lua3
-rw-r--r--modules/admin-mini/luasrc/controller/mini/network.lua3
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua3
-rw-r--r--modules/admin-mini/luasrc/controller/mini/wifi.lua3
4 files changed, 8 insertions, 4 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/index.lua b/modules/admin-mini/luasrc/controller/mini/index.lua
index 08587acb88..fd960bb1bd 100644
--- a/modules/admin-mini/luasrc/controller/mini/index.lua
+++ b/modules/admin-mini/luasrc/controller/mini/index.lua
@@ -31,7 +31,8 @@ function index()
page.sysauth = "root"
page.ucidata = true
- entry({"mini", "index"}, template("mini/index"), i18n("overview"), 10)
+ entry({"mini", "index"}, alias("mini", "index", "index"), i18n("overview"), 10)
+ entry({"mini", "index", "index"}, template("mini/index"), i18n("general"), 1)
entry({"mini", "index", "luci"}, cbi("mini/luci"), i18n("settings"), 10)
entry({"mini", "index", "logout"}, call("action_logout"), i18n("logout"))
end
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua
index 838bc9b95e..5bd587daf7 100644
--- a/modules/admin-mini/luasrc/controller/mini/network.lua
+++ b/modules/admin-mini/luasrc/controller/mini/network.lua
@@ -19,6 +19,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "network"}, cbi("mini/network"), i18n("network"), 20)
+ entry({"mini", "network"}, alias("mini", "network", "index"), i18n("network"), 20)
+ entry({"mini", "network", "index"}, cbi("mini/network"), i18n("general"), 1)
entry({"mini", "network", "dhcp"}, cbi("mini/dhcp"), "DHCP", 20)
end \ No newline at end of file
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index b24c1c0657..a4a07a672a 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -19,7 +19,8 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "system"}, cbi("mini/system"), i18n("system"))
+ entry({"mini", "system"}, alias("mini", "system", "index"), i18n("system"), 40)
+ entry({"mini", "system", "index"}, cbi("mini/system"), i18n("general"), 1)
entry({"mini", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("a_s_flash"), 90)
entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("reboot"), 100)
diff --git a/modules/admin-mini/luasrc/controller/mini/wifi.lua b/modules/admin-mini/luasrc/controller/mini/wifi.lua
index 1fa8c2a717..e879a2c7e6 100644
--- a/modules/admin-mini/luasrc/controller/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/controller/mini/wifi.lua
@@ -18,6 +18,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "wifi"}, cbi("mini/wifi"), i18n("wifi"), 30)
+ entry({"mini", "wifi"}, alias("mini", "wifi", "index"), i18n("wifi"), 30)
+ entry({"mini", "wifi", "index"}, cbi("mini/wifi"), i18n("general"), 1)
entry({"mini", "wifi", "scan"}, template("mini/iwscan"), i18n("wlanscan"), 10)
end \ No newline at end of file