diff --git a/static/js/core/app.js b/static/js/core/app.js index 1c9bebb..321dfaf 100644 --- a/static/js/core/app.js +++ b/static/js/core/app.js @@ -119,7 +119,6 @@ function switchMode(mode) { document.getElementById('aircraftStats').style.display = mode === 'aircraft' ? 'flex' : 'none'; document.getElementById('satelliteStats').style.display = mode === 'satellite' ? 'flex' : 'none'; document.getElementById('wifiStats').style.display = mode === 'wifi' ? 'flex' : 'none'; - document.getElementById('btStats').style.display = mode === 'bluetooth' ? 'flex' : 'none'; // Hide signal meter - individual panels show signal strength where needed document.getElementById('signalMeter').style.display = 'none'; diff --git a/templates/index.html b/templates/index.html index 7d759a8..529eb52 100644 --- a/templates/index.html +++ b/templates/index.html @@ -474,10 +474,6 @@
0
- @@ -1817,12 +1813,6 @@ if (headerHandshakeCount) headerHandshakeCount.textContent = document.getElementById('handshakeCount')?.textContent || '0'; if (headerDroneCount) headerDroneCount.textContent = document.getElementById('droneCount')?.textContent || '0'; - // Bluetooth stats - const headerBtDeviceCount = document.getElementById('headerBtDeviceCount'); - const headerBtBeaconCount = document.getElementById('headerBtBeaconCount'); - if (headerBtDeviceCount) headerBtDeviceCount.textContent = document.getElementById('btDeviceCount')?.textContent || '0'; - if (headerBtBeaconCount) headerBtBeaconCount.textContent = document.getElementById('btBeaconCount')?.textContent || '0'; - // Satellite stats const headerPassCount = document.getElementById('headerPassCount'); if (headerPassCount) headerPassCount.textContent = document.getElementById('passCount')?.textContent || '0'; @@ -2102,19 +2092,16 @@ const sensorStats = document.getElementById('sensorStats'); const satelliteStats = document.getElementById('satelliteStats'); const wifiStats = document.getElementById('wifiStats'); - const btStats = document.getElementById('btStats'); if (pagerStats) pagerStats.style.display = mode === 'pager' ? 'flex' : 'none'; if (sensorStats) sensorStats.style.display = mode === 'sensor' ? 'flex' : 'none'; if (satelliteStats) satelliteStats.style.display = mode === 'satellite' ? 'flex' : 'none'; if (wifiStats) wifiStats.style.display = mode === 'wifi' ? 'flex' : 'none'; - if (btStats) btStats.style.display = mode === 'bluetooth' ? 'flex' : 'none'; // Update header stats groups document.getElementById('headerPagerStats')?.classList.toggle('active', mode === 'pager'); document.getElementById('headerSensorStats')?.classList.toggle('active', mode === 'sensor'); document.getElementById('headerSatelliteStats')?.classList.toggle('active', mode === 'satellite'); document.getElementById('headerWifiStats')?.classList.toggle('active', mode === 'wifi'); - document.getElementById('headerBtStats')?.classList.toggle('active', mode === 'bluetooth'); // Show/hide dashboard buttons in nav bar const satelliteDashboardBtn = document.getElementById('satelliteDashboardBtn'); @@ -6193,7 +6180,6 @@ if (isNew) { btDeviceCount++; - document.getElementById('btDeviceCount').textContent = btDeviceCount; playAlert(); pulseSignal(); }