secubox-openwrt/deploy-secubox-fix.sh
CyberMind-FR 3dcc89d3a3 feat: SecuBox modules v2 - Responsive cards with versions and actions
Major improvements to modules page:
- Responsive grid layout with modern card design
- Module versions display (v0.0.9)
- Category filter tabs (All, Security, Monitoring, Network, System)
- Quick actions (Start/Stop/Restart/Dashboard)
- Real-time status indicators with animations
- Emoji icons properly displayed
- Auto-refresh every 30 seconds

Changes:
- modules.js: Complete rewrite with responsive cards
- modules.css: New CSS with theme support and animations
- secubox config: Added emoji icons and version fields
- RPCD backend: Added version field to module data

Features:
 Responsive 3-column grid (auto-adapts to screen size)
🎯 Category filtering with animated tabs
▶️ One-click start/stop/restart actions
📊 Dashboard quick links for each module
💫 Smooth animations and hover effects
🌓 Full dark/light theme support
📱 Mobile-friendly design

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 16:51:59 +01:00

38 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# Deploy SecuBox config fix - Module icons emoji fix
ROUTER="root@192.168.8.191"
echo "🔧 Deploying SecuBox config fix to $ROUTER"
echo ""
echo "📝 Backing up current config..."
ssh "$ROUTER" "cp /etc/config/secubox /etc/config/secubox.backup.$(date +%Y%m%d-%H%M%S)"
echo "📦 Deploying updated config with emoji icons..."
scp luci-app-secubox/root/etc/config/secubox "$ROUTER:/etc/config/secubox"
echo "🔄 Restarting RPCD..."
ssh "$ROUTER" "/etc/init.d/rpcd restart"
echo ""
echo "✅ Config deployed successfully!"
echo ""
echo "🎨 Fixed module icons:"
echo " 🛡️ CrowdSec Dashboard"
echo " 📊 Netdata Dashboard"
echo " 🔍 Netifyd Dashboard"
echo " 🔒 WireGuard Dashboard"
echo " 🌐 Network Modes"
echo " 👁️ Client Guardian"
echo " ⚙️ System Hub"
echo " 📦 CDN Cache"
echo " 📡 Bandwidth Manager"
echo " 🔑 Auth Guardian"
echo " ▶️ Media Flow"
echo " 🖥️ Virtual Host Manager"
echo " 📈 Traffic Shaper"
echo " 🔐 KSM Manager"
echo ""
echo "👉 Refresh your browser (Ctrl+Shift+R) to see the changes"