secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/luci/menu.d/luci-app-crowdsec-dashboard.json
CyberMind-FR 31f4db881e refactor(crowdsec-dashboard): KISS rewrite and move to Services menu
- Rewrite all views with KISS CSS (1200+ lines removed)
- Use unified cs-* CSS prefix with SecuBox theme variables
- Move CrowdSec from Security to Services menu
- Update navigation paths in all views and nav.js
- Add CSS loading in each view's load() function
- Fix Services menu as proper firstchild submenu
- Simplify dashboard.css from 950+ to 112 lines

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 06:51:13 +01:00

77 lines
1.5 KiB
JSON

{
"admin/secubox/services/crowdsec": {
"title": "CrowdSec",
"order": 10,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-crowdsec-dashboard"]
}
},
"admin/secubox/services/crowdsec/overview": {
"title": "Overview",
"order": 5,
"action": {
"type": "view",
"path": "crowdsec-dashboard/overview"
}
},
"admin/secubox/services/crowdsec/wizard": {
"title": "Setup Wizard",
"order": 10,
"action": {
"type": "view",
"path": "crowdsec-dashboard/wizard"
}
},
"admin/secubox/services/crowdsec/decisions": {
"title": "Decisions",
"order": 20,
"action": {
"type": "view",
"path": "crowdsec-dashboard/decisions"
}
},
"admin/secubox/services/crowdsec/alerts": {
"title": "Alerts",
"order": 30,
"action": {
"type": "view",
"path": "crowdsec-dashboard/alerts"
}
},
"admin/secubox/services/crowdsec/bouncers": {
"title": "Bouncers",
"order": 40,
"action": {
"type": "view",
"path": "crowdsec-dashboard/bouncers"
}
},
"admin/secubox/services/crowdsec/waf": {
"title": "WAF/AppSec",
"order": 45,
"action": {
"type": "view",
"path": "crowdsec-dashboard/waf"
}
},
"admin/secubox/services/crowdsec/metrics": {
"title": "Metrics",
"order": 50,
"action": {
"type": "view",
"path": "crowdsec-dashboard/metrics"
}
},
"admin/secubox/services/crowdsec/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "crowdsec-dashboard/settings"
}
}
}