- 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>
308 lines
7.5 KiB
JSON
308 lines
7.5 KiB
JSON
{
|
|
"admin/secubox": {
|
|
"title": "SecuBox",
|
|
"order": 25,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/wizard": {
|
|
"title": "Setup Wizard",
|
|
"order": 5,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/wizard"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/dashboard": {
|
|
"title": "Dashboard",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/dashboard"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/apps": {
|
|
"title": "App Store",
|
|
"order": 18,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/apps"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/modules": {
|
|
"title": "Modules",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/modules"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/alerts": {
|
|
"title": "Alerts",
|
|
"order": 22,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/alerts"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/settings": {
|
|
"title": "Settings",
|
|
"order": 25,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/settings"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/security": {
|
|
"title": "Security & Access",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/monitoring": {
|
|
"title": "Monitoring & Analytics",
|
|
"order": 35,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/monitoring"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/network": {
|
|
"title": "Network & Connectivity",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache": {
|
|
"title": "CDN Cache",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox", "luci-app-cdn-cache"]
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/overview"
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/cache": {
|
|
"title": "Cache",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/cache"
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/policies": {
|
|
"title": "Policies",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/policies"
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/statistics": {
|
|
"title": "Statistics",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/statistics"
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/maintenance": {
|
|
"title": "Maintenance",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/maintenance"
|
|
}
|
|
},
|
|
"admin/secubox/network/cdn-cache/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "cdn-cache/settings"
|
|
}
|
|
},
|
|
"admin/secubox/system": {
|
|
"title": "System & Performance",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/services": {
|
|
"title": "Services",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/services/registry": {
|
|
"title": "Registry",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/services"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/help": {
|
|
"title": "Bonus \u00b7 Help \u00e0 SecuBox",
|
|
"order": 99,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox/help"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox"]
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes": {
|
|
"title": "Network Modes",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox", "luci-app-network-modes"]
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/overview"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/wizard": {
|
|
"title": "Mode Wizard",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/wizard"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/router": {
|
|
"title": "Router Mode",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/router"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/multiwan": {
|
|
"title": "Multi-WAN Mode",
|
|
"order": 35,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/multiwan"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/doublenat": {
|
|
"title": "Double NAT Mode",
|
|
"order": 37,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/doublenat"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/accesspoint": {
|
|
"title": "Access Point Mode",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/accesspoint"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/relay": {
|
|
"title": "Relay Mode",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/relay"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/vpnrelay": {
|
|
"title": "VPN Relay Mode",
|
|
"order": 52,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/vpnrelay"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/travel": {
|
|
"title": "Travel Mode",
|
|
"order": 55,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/travel"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/sniffer": {
|
|
"title": "Sniffer Mode",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/sniffer"
|
|
}
|
|
},
|
|
"admin/secubox/network/network-modes/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/settings"
|
|
}
|
|
}
|
|
}
|