- Create nav.js for Client Guardian with SecuBox themed tabs - Create nav.js for CrowdSec dashboard with themed navigation - Update all Client Guardian views to use CgNav.renderTabs() - Update all CrowdSec views to use CsNav.renderTabs() - Update Client Guardian menu.json paths from /client-guardian/ to /guardian/ - Hide default LuCI tabs via CSS injection for both dashboards Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
101 lines
2.0 KiB
JSON
101 lines
2.0 KiB
JSON
{
|
|
"admin/secubox/security/guardian": {
|
|
"title": "Client Guardian",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-client-guardian"]
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/overview"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/wizard": {
|
|
"title": "Setup Wizard",
|
|
"order": 15,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/wizard"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/clients": {
|
|
"title": "Clients",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/clients"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/zones": {
|
|
"title": "Network Zones",
|
|
"order": 25,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/zones"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/captive": {
|
|
"title": "Captive Portal",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/captive"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/portal": {
|
|
"title": "Portal Config",
|
|
"order": 35,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/portal"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/logs": {
|
|
"title": "Event Logs",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/logs"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/alerts": {
|
|
"title": "Alerts & Notifications",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/alerts"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/parental": {
|
|
"title": "Parental Controls",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/parental"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/settings"
|
|
}
|
|
},
|
|
"admin/secubox/security/guardian/debug": {
|
|
"title": "Debug Console",
|
|
"order": 95,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "client-guardian/debug"
|
|
}
|
|
}
|
|
}
|