luci-app-nlbwmon: move into menu entry into service section 4264/head
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 8 Jul 2020 08:13:09 +0000 (10:13 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 13 Jul 2020 09:57:55 +0000 (11:57 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json

index 5b597c632998688720f1624594047dd97ab47ce4..b744a6a6de4f714d7e9374a42a96c87746d5d732 100644 (file)
@@ -1,9 +1,10 @@
 {
-       "admin/nlbw": {
+       "admin/services/nlbw": {
                "title": "Bandwidth Monitor",
                "order": 80,
                "action": {
-                       "type": "firstchild"
+                       "type": "alias",
+                       "path": "admin/services/nlbw/display"
                },
                "depends": {
                        "acl": [ "luci-app-nlbwmon" ],
                }
        },
 
-       "admin/nlbw/display": {
+       "admin/services/nlbw/display": {
                "title": "Display",
-               "order": 1,
+               "order": 10,
                "action": {
                        "type": "view",
                        "path": "nlbw/display"
                }
        },
 
-       "admin/nlbw/config": {
+       "admin/services/nlbw/config": {
                "title": "Configuration",
-               "order": 2,
+               "order": 20,
                "action": {
                        "type": "view",
                        "path": "nlbw/config"
                }
        },
 
-       "admin/nlbw/backup": {
+       "admin/services/nlbw/backup": {
                "title": "Backup",
-               "order": 3,
+               "order": 30,
                "action": {
                        "type": "view",
                        "path": "nlbw/backup"