secubox-openwrt/luci-app-secubox/htdocs/luci-static/resources/view/secubox
CyberMind-FR 72a2b29e32 fix: Correct module dashboard button URLs
Dashboard and modules view had incorrect URLs for module links, causing
404 errors when clicking on module cards. Updated all module paths to
match actual menu structure defined in menu.d JSON files.

**Changes:**

**dashboard.js:**
- Fixed modulePaths in renderActiveModules (2 instances)
- Updated all 14 module paths to include correct subpaths

**modules.js:**
- Fixed getModuleDashboardPath function
- Updated all 14 module paths to match menu definitions

**Corrected Paths:**

| Module | Old Path | New Path |
|--------|----------|----------|
| crowdsec | security/crowdsec | security/crowdsec/overview |
| netdata | monitoring/netdata | monitoring/netdata/dashboard |
| netifyd | security/netifyd | security/netifyd/overview |
| wireguard | network/wireguard | network/wireguard/overview |
| network_modes | network/modes | network/network-modes/overview |
| client_guardian | security/guardian | security/client-guardian/overview |
| system_hub | system/hub | system/system-hub/overview |
| bandwidth_manager | network/bandwidth | network/bandwidth-manager/overview |
| auth_guardian | security/auth | security/auth-guardian/overview |
| media_flow | network/media | monitoring/mediaflow/dashboard |
| vhost_manager | system/vhost | services/vhosts/overview |
| traffic_shaper | network/shaper | network/traffic-shaper/overview |
| cdn_cache | network/cdn | network/cdn-cache/overview |
| ksm_manager | security/ksm | security/ksm-manager/overview |

**Result:**
-  Module cards now link to correct dashboards
-  "Dashboard" buttons in modules view work correctly
-  All paths verified against actual menu.d/*.json definitions

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-28 02:33:34 +01:00
..
alerts.js feat: Bump version to 0.3.1 for enhanced modules 2025-12-27 10:28:12 +01:00
dashboard.js fix: Correct module dashboard button URLs 2025-12-28 02:33:34 +01:00
modules-debug.js release: v0.1.1 - Unified Theme System with Dark/Light Mode Support 2025-12-26 16:09:15 +01:00
modules-minimal.js release: v0.1.1 - Unified Theme System with Dark/Light Mode Support 2025-12-26 16:09:15 +01:00
modules.js fix: Correct module dashboard button URLs 2025-12-28 02:33:34 +01:00
monitoring.js fix: correct CSS path from system-hub to secubox in view files 2025-12-26 20:59:41 +01:00
settings.js fix: correct CSS path from system-hub to secubox in view files 2025-12-26 20:59:41 +01:00