luci-app-keepalived: move status page to status menu
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 29 Apr 2024 08:45:00 +0000 (10:45 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 29 Apr 2024 10:44:18 +0000 (12:44 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/overview.js
applications/luci-app-keepalived/root/usr/share/luci/menu.d/luci-app-keepalived.json

index 7e261bf82d16f95b8dcc522801bdda1e0d854fda..ba1c1d2eb701a93da1edf266c0464f8b10d2e9e9 100644 (file)
@@ -63,7 +63,7 @@ return view.extend({
                });
 
                return E([
-                       E('h3', _('Keepalived Instances Status')),
+                       E('h3', _('VRRP')),
                        E('br'),
                        table
                ]);
index b1828583c448aba055797a97a5924149b1460e51..93c741918a287d182250fa8cefecddc6eddd3cc8 100644 (file)
@@ -4,16 +4,7 @@
                "order": 1,
                "action": {
                        "type": "alias",
-                       "path": "admin/services/keepalived/overview"
-               }
-       },
-
-       "admin/services/keepalived/overview": {
-               "title": "Overview",
-               "order": 10,
-               "action": {
-                       "type": "view",
-                       "path": "keepalived/overview"
+                       "path": "admin/services/keepalived/globals"
                }
        },
 
                        "type": "view",
                        "path": "keepalived/vrrp_sync_group"
                }
+       },
+
+       "admin/status/keepalived": {
+               "title": "VRRP",
+               "order": 10,
+               "action": {
+                       "type": "view",
+                       "path": "keepalived/overview"
+               }
        }
 }