3x-ui/web/html
MHSanaei 32b7ada549
subpage: enabled state
Track and surface a subscription's enabled state from backend to frontend so the UI can show inactive subscriptions and use it in active-state logic.

Changes:
- sub/subService.go: track hasEnabledClient, set traffic.Enable, add Enabled to PageData and populate it in BuildPageData.
- sub/subController.go: include enabled in the page context.
- web/html/settings/panel/subscription/subpage.html: emit data-enabled attribute and render an "inactive" tag when disabled.
- web/assets/js/subscription.js: read data-enabled and include it in isActive() checks.

This ensures subscriptions with no enabled clients are marked inactive in the UI and excluded from being considered active.
2026-05-04 23:27:57 +02:00
..
common TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
component fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
form Update QUIC params defaults and UI validations 2026-05-04 17:42:55 +02:00
modals fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
settings subpage: enabled state 2026-05-04 23:27:57 +02:00
inbounds.html fix: client count for Hysteria 2026-05-04 17:49:53 +02:00
index.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
login.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
settings.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
xray.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00