Fix invisible checkboxes in Step 3 collections: - Add explicit inline styles to checkbox inputs - Set width: 18px, height: 18px with cursor: pointer - Add 'for' attribute to label for better click handling - Replace null rendering with empty element E([]) - Fixes "null" text appearing on screen Issue: Collection items not selectable, checkboxes invisible Cause: Checkboxes may be hidden by browser default styles Solution: Add explicit inline styles and proper label association Frontend Changes: - htdocs/luci-static/resources/view/crowdsec-dashboard/wizard.js - Add inline styles to checkbox inputs - Add 'for' attribute linking label to checkbox - Replace ': null' with ': E([])' to avoid "null" text Checkboxes now have: - Explicit dimensions (18x18px) - Proper cursor styling - Label association via 'for' attribute - No more "null" text rendering Version: 0.6.0-7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (C) 2024 CyberMind.fr - Gandalf
|
|
#
|
|
# LuCI CrowdSec Dashboard - Real-time security monitoring interface
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-crowdsec-dashboard
|
|
PKG_VERSION:=0.6.0
|
|
PKG_RELEASE:=7
|
|
PKG_ARCH:=all
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=LuCI CrowdSec Dashboard
|
|
LUCI_DESCRIPTION:=Real-time security monitoring dashboard for CrowdSec on OpenWrt
|
|
LUCI_DEPENDS:=+luci-base +luci-app-secubox +luci-lib-jsonc +rpcd +rpcd-mod-luci
|
|
|
|
LUCI_PKGARCH:=all
|
|
|
|
|
|
# File permissions (CRITICAL: RPCD scripts MUST be executable 755)
|
|
# Format: path:owner:group:mode
|
|
# - RPCD scripts: 755 (executable by root, required for ubus calls)
|
|
# - Helper scripts: 755 (if executable)
|
|
# - Config files: 644 (readable by all, writable by root)
|
|
# - CSS/JS files: 644 (set automatically by luci.mk)
|
|
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.crowdsec-dashboard:root:root:755
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/crowdsec-dashboard
|
|
endef
|
|
|
|
# call BuildPackage - OpenWrt buildance
|