diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-08-06 16:03:29 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-08-06 16:20:17 +0200 |
commit | d3e060ae6c3698f9ae7089ad22faa85de60091fc (patch) | |
tree | 2ac5a5c3de13668903a7363dc434c862a2ad282c | |
parent | 07aedbf129823d06beeaef3aca8ee5a39c047abc (diff) |
luci-base: add vpn menu section
There is always more vpn services. To make the LuCI menu look cleaner, a
new top level menu "VPN" will be added with this commit. All luci-app-*
that have something to do with VPN should move to this new menu entry.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r-- | modules/luci-base/luasrc/controller/admin/index.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/controller/admin/index.lua b/modules/luci-base/luasrc/controller/admin/index.lua index 9fcfe4a30..3f2b46587 100644 --- a/modules/luci-base/luasrc/controller/admin/index.lua +++ b/modules/luci-base/luasrc/controller/admin/index.lua @@ -51,6 +51,13 @@ function index() toplevel_page(page, "admin/system/system", alias("admin", "system", "system")) -- Only used if applications add items + page = node("admin", "vpn") + page.title = _("VPN") + page.order = 30 + page.index = true + toplevel_page(page, false, false) + + -- Only used if applications add items page = node("admin", "services") page.title = _("Services") page.order = 40 |