refactor(menu): Reorganize network-modes under Network category

Restructured the SecuBox menu hierarchy to improve organization:
- Added new "Network & Connectivity" category (order 40)
- Moved Network Modes from top-level to Network submenu
- Changed paths: admin/secubox/network-modes → admin/secubox/network/modes

Menu structure:
  SecuBox/
  ├── Dashboard
  ├── Modules
  ├── Alerts
  ├── Settings
  ├── Security & Access
  ├── Monitoring & Analytics
  ├── Network & Connectivity        ← NEW CATEGORY
  │   └── Network Modes            ← MOVED HERE
  │       ├── Overview
  │       ├── Mode Wizard
  │       ├── Router Mode
  │       ├── Multi-WAN Mode
  │       ├── Double NAT Mode
  │       ├── Access Point Mode
  │       ├── Relay Mode
  │       ├── VPN Relay Mode
  │       ├── Travel Mode
  │       ├── Sniffer Mode
  │       └── Settings
  ├── System & Performance
  ├── Services & Applications
  └── Help

Files modified:
- luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json
- luci-app-network-modes/root/usr/share/luci/menu.d/luci-app-network-modes.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2025-12-28 18:38:07 +01:00
parent 3e1da58d73
commit 883fc4be3c
2 changed files with 18 additions and 13 deletions

View File

@ -1,7 +1,7 @@
{ {
"admin/secubox/network-modes": { "admin/secubox/network/modes": {
"title": "Network Modes", "title": "Network Modes",
"order": 20, "order": 10,
"action": { "action": {
"type": "firstchild" "type": "firstchild"
}, },
@ -9,7 +9,7 @@
"acl": ["luci-app-network-modes"] "acl": ["luci-app-network-modes"]
} }
}, },
"admin/secubox/network-modes/overview": { "admin/secubox/network/modes/overview": {
"title": "Overview", "title": "Overview",
"order": 10, "order": 10,
"action": { "action": {
@ -17,7 +17,7 @@
"path": "network-modes/overview" "path": "network-modes/overview"
} }
}, },
"admin/secubox/network-modes/wizard": { "admin/secubox/network/modes/wizard": {
"title": "Mode Wizard", "title": "Mode Wizard",
"order": 20, "order": 20,
"action": { "action": {
@ -25,7 +25,7 @@
"path": "network-modes/wizard" "path": "network-modes/wizard"
} }
}, },
"admin/secubox/network-modes/router": { "admin/secubox/network/modes/router": {
"title": "Router Mode", "title": "Router Mode",
"order": 30, "order": 30,
"action": { "action": {
@ -33,7 +33,7 @@
"path": "network-modes/router" "path": "network-modes/router"
} }
}, },
"admin/secubox/network-modes/multiwan": { "admin/secubox/network/modes/multiwan": {
"title": "Multi-WAN Mode", "title": "Multi-WAN Mode",
"order": 35, "order": 35,
"action": { "action": {
@ -41,7 +41,7 @@
"path": "network-modes/multiwan" "path": "network-modes/multiwan"
} }
}, },
"admin/secubox/network-modes/doublenat": { "admin/secubox/network/modes/doublenat": {
"title": "Double NAT Mode", "title": "Double NAT Mode",
"order": 37, "order": 37,
"action": { "action": {
@ -49,7 +49,7 @@
"path": "network-modes/doublenat" "path": "network-modes/doublenat"
} }
}, },
"admin/secubox/network-modes/accesspoint": { "admin/secubox/network/modes/accesspoint": {
"title": "Access Point Mode", "title": "Access Point Mode",
"order": 40, "order": 40,
"action": { "action": {
@ -57,7 +57,7 @@
"path": "network-modes/accesspoint" "path": "network-modes/accesspoint"
} }
}, },
"admin/secubox/network-modes/relay": { "admin/secubox/network/modes/relay": {
"title": "Relay Mode", "title": "Relay Mode",
"order": 50, "order": 50,
"action": { "action": {
@ -65,7 +65,7 @@
"path": "network-modes/relay" "path": "network-modes/relay"
} }
}, },
"admin/secubox/network-modes/vpnrelay": { "admin/secubox/network/modes/vpnrelay": {
"title": "VPN Relay Mode", "title": "VPN Relay Mode",
"order": 52, "order": 52,
"action": { "action": {
@ -73,7 +73,7 @@
"path": "network-modes/vpnrelay" "path": "network-modes/vpnrelay"
} }
}, },
"admin/secubox/network-modes/travel": { "admin/secubox/network/modes/travel": {
"title": "Travel Mode", "title": "Travel Mode",
"order": 55, "order": 55,
"action": { "action": {
@ -81,7 +81,7 @@
"path": "network-modes/travel" "path": "network-modes/travel"
} }
}, },
"admin/secubox/network-modes/sniffer": { "admin/secubox/network/modes/sniffer": {
"title": "Sniffer Mode", "title": "Sniffer Mode",
"order": 60, "order": 60,
"action": { "action": {
@ -89,7 +89,7 @@
"path": "network-modes/sniffer" "path": "network-modes/sniffer"
} }
}, },
"admin/secubox/network-modes/settings": { "admin/secubox/network/modes/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -39,6 +39,11 @@
"order": 10, "order": 10,
"action": {"type": "view", "path": "secubox/monitoring"} "action": {"type": "view", "path": "secubox/monitoring"}
}, },
"admin/secubox/network": {
"title": "Network & Connectivity",
"order": 40,
"action": {"type": "firstchild"}
},
"admin/secubox/system": { "admin/secubox/system": {
"title": "System & Performance", "title": "System & Performance",
"order": 50, "order": 50,