summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-09 14:46:29 +0200
committerGitHub <noreply@github.com>2019-08-09 14:46:29 +0200
commit15e95260896220072bd43225229722f313b6b9e1 (patch)
tree567b19a3df67ff36a82881b6d1a6ffee2d705349 /modules/luci-base
parentb11a25dcb954093fd44f3ce69c9673a748acbb1e (diff)
parent7af8043a75ccf49c3e976984a4b10812e25d115f (diff)
Merge pull request #2969 from TDT-AG/pr/20190806-luci-base
luci-base: add new VPN toplevel menu entry
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/luasrc/controller/admin/index.lua7
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