From ac6d1b570df14f68fd053f0c000c340e3adcfece Mon Sep 17 00:00:00 2001 From: Smittix Date: Thu, 15 Jan 2026 14:11:19 +0000 Subject: [PATCH] Add clear SDR device selection for ADS-B and airband listening - Add ADS-B device selector with label before START button - Add Listen label for airband device selector - Track which device is actively used for ADS-B tracking - Disable ADS-B device selector while tracking is active - Update device conflict detection to use actual selected device - Consolidate device selector initialization into single function - Remove duplicate device loading from initAirband() --- static/css/adsb_dashboard.css | 15 ++++ templates/adsb_dashboard.html | 129 ++++++++++++++++++++++------------ 2 files changed, 99 insertions(+), 45 deletions(-) diff --git a/static/css/adsb_dashboard.css b/static/css/adsb_dashboard.css index 0cbeb80..5ee91ee 100644 --- a/static/css/adsb_dashboard.css +++ b/static/css/adsb_dashboard.css @@ -906,6 +906,21 @@ body { flex-shrink: 0; } +.sdr-group { + display: flex; + align-items: center; + gap: 4px; + flex-shrink: 0; +} + +.sdr-label { + font-size: 9px; + color: var(--accent-cyan); + text-transform: uppercase; + font-weight: 600; + letter-spacing: 0.5px; +} + .airband-controls { display: flex; align-items: center; diff --git a/templates/adsb_dashboard.html b/templates/adsb_dashboard.html index b614751..b24556f 100644 --- a/templates/adsb_dashboard.html +++ b/templates/adsb_dashboard.html @@ -164,8 +164,17 @@ + + ADS-B: + +
+ + Listen: +