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>
This commit is contained in:
parent
07aedbf129
commit
d3e060ae6c
1 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,13 @@ function index()
|
||||||
-- system/system is from mod-admin-full
|
-- system/system is from mod-admin-full
|
||||||
toplevel_page(page, "admin/system/system", alias("admin", "system", "system"))
|
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
|
-- Only used if applications add items
|
||||||
page = node("admin", "services")
|
page = node("admin", "services")
|
||||||
page.title = _("Services")
|
page.title = _("Services")
|
||||||
|
|
Loading…
Reference in a new issue