luci-mod-dsl: add page with DSL status information
[project/luci.git] / modules / luci-mod-dsl / root / usr / share / luci / menu.d / luci-mod-dsl.json
index 76d56fd6d50302a6e9521a9f1123eb4543e839eb..4e77b6f9e61315e07696bcd2c825eb5187cbdeb0 100644 (file)
@@ -1,13 +1,30 @@
 {
        "admin/status/dsl": {
-               "title": "DSL line spectrum",
+               "title": "DSL Status",
                "order": 7,
                "action": {
-                       "type": "view",
-                       "path": "status/dsl/spectrum"
+                       "type": "firstchild"
                },
                "depends": {
-                       "acl": [ "luci-mod-dsl-spectrum" ]
+                       "acl": [ "luci-mod-dsl" ]
+               }
+       },
+
+       "admin/status/dsl/stats": {
+               "title": "Stats",
+               "order": 1,
+               "action": {
+                       "type": "view",
+                       "path": "status/dsl/stats"
+               }
+       },
+
+       "admin/status/dsl/spectrum": {
+               "title": "Spectrum",
+               "order": 2,
+               "action": {
+                       "type": "view",
+                       "path": "status/dsl/spectrum"
                }
        }
 }