summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
diff options
context:
space:
mode:
authorVladislav Grigoryev <vg.aetera@gmail.com>2021-08-24 12:55:44 +0300
committerVladislav Grigoryev <vg.aetera@gmail.com>2021-08-26 06:15:04 +0300
commita62a6c0f3bc78af8c6df15249a89b9b8e19333f4 (patch)
treebe05a290e8268db6d6e02c4116e4a549e9dabe99 /modules/luci-mod-status
parent59d9f8bbcf9f31d99e2c3e7d3aaeddea789f7531 (diff)
luci-mod-status: merge status/dmesg with status/syslog
Merge "Kernel Log" with "System Log" as an extra tab. Consolidate logging facilities for more intuitive navigation. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'modules/luci-mod-status')
-rw-r--r--modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json22
1 files changed, 14 insertions, 8 deletions
diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
index 1e6556bab2..e726c56b27 100644
--- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
@@ -35,27 +35,33 @@
}
},
- "admin/status/syslog": {
+ "admin/status/logs": {
"title": "System Log",
"order": 4,
"action": {
- "type": "view",
- "path": "status/syslog"
+ "type": "alias",
+ "path": "admin/status/logs/syslog"
},
"depends": {
"acl": [ "luci-mod-status-logs" ]
}
},
- "admin/status/dmesg": {
+ "admin/status/logs/syslog": {
+ "title": "System Log",
+ "order": 1,
+ "action": {
+ "type": "view",
+ "path": "status/syslog"
+ }
+ },
+
+ "admin/status/logs/dmesg": {
"title": "Kernel Log",
- "order": 5,
+ "order": 2,
"action": {
"type": "view",
"path": "status/dmesg"
- },
- "depends": {
- "acl": [ "luci-mod-status-logs" ]
}
},