Added comprehensive Advanced Settings view to luci-app-secubox-admin: ## New Features ### Advanced Settings Editor (advanced-settings.js) - **Quick Config Panel**: One-click access to common configurations - AppStore, Network, Firewall, DHCP - Direct catalog.json editing - **System Subsets Overview**: Visual status of 7 system categories - Authentication, Network, Security, Monitoring - Applications, Storage, System - Real-time status indicators with emojis - **UCI Config Editor**: Live editor for /etc/config/* files - File selector dropdown - Load/Save/Clear operations - Syntax highlighting support - **JSON Editor**: Advanced editor for JSON configuration files - catalog.json direct editing - Format and Validate buttons - Real-time syntax validation - **Danger Zone**: Safe system operations - Reload UCI configuration - Restart services (uhttpd, rpcd, uhttpd) - Backup configuration (download) - **Cyberpunk Theme**: Consistent neon terminal aesthetic - Dual console layout - Animated status indicators - Responsive design ## Changes ### New Files - htdocs/luci-static/resources/view/secubox-admin/advanced-settings.js - Complete advanced configuration editor - ~500 lines with comprehensive error handling - Integrated with existing cyberpunk.css ### Modified Files - root/usr/share/luci/menu.d/luci-app-secubox-admin.json - Added "⚙️ Advanced Settings" menu entry (order: 60) - Path: secubox-admin/advanced-settings - Makefile - Incremented PKG_RELEASE: 9 → 10 ## Technical Details **UCI Integration**: - Uses L.uci for configuration loading - Supports all /etc/config/* files - Real-time load/save with error handling **JSON Editing**: - Validates JSON syntax before saving - Pretty-print formatting - Error messages with line numbers **System Subsets**: - Dynamic status detection via RPC calls - Color-coded indicators (success/warning/info) - Quick navigation to related settings **Safety Features**: - Confirmation dialogs for destructive operations - Backup before critical changes - Error recovery mechanisms **Access Points**: - Menu: SecuBox → Admin Control → ⚙️ Advanced Settings - URL: http://router/cgi-bin/luci/admin/secubox/admin/advanced/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
19 lines
507 B
Makefile
19 lines
507 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-secubox-admin
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=10
|
|
PKG_LICENSE:=MIT
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=LuCI SecuBox Admin Control Center
|
|
LUCI_DEPENDS:=+luci-base +rpcd +secubox-core
|
|
LUCI_DESCRIPTION:=Unified admin control center for SecuBox appstore plugins with system monitoring
|
|
LUCI_PKGARCH:=all
|
|
|
|
# This is free software, licensed under the MIT License
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot
|