luci-base: move vpn section
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 19 Dec 2019 08:21:48 +0000 (09:21 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 16 Jun 2020 09:34:04 +0000 (11:34 +0200)
Move the VPN configuration section behind the network configuration. The normal
workflow is add/edit the network and then add/edit a vpn configuration.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-base/root/usr/share/luci/menu.d/luci-base.json

index 9b32048be6ace8bd16b2ffb8c22875e1854ed72f..eb72c565dca3126232ca3ff61ae55cd77fb34025 100644 (file)
                }
        },
 
-       "admin/vpn": {
-               "title": "VPN",
-               "order": 30,
-               "action": {
-                       "type": "firstchild",
-                       "recurse": true
-               }
-       },
-
        "admin/services": {
                "title": "Services",
                "order": 40,
                }
        },
 
+       "admin/vpn": {
+               "title": "VPN",
+               "order": 70,
+               "action": {
+                       "type": "firstchild",
+                       "recurse": true
+               }
+       },
+
        "admin/translations/*": {
                "action": {
                        "type": "call",