style: use distinct colors for WiFi and Bluetooth devices
WiFi devices now shown in orange (#f59f00), Bluetooth in blue (#4dabf7). Makes it easier to distinguish device types on map and in device list. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
11
config.yaml
11
config.yaml
@@ -1,6 +1,6 @@
|
|||||||
gps:
|
gps:
|
||||||
latitude: 50.85852913116932
|
latitude: 50.858495376473314
|
||||||
longitude: 4.3976058563598315
|
longitude: 4.397614016072339
|
||||||
web:
|
web:
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 5000
|
port: 5000
|
||||||
@@ -16,10 +16,9 @@ scanner:
|
|||||||
path_loss_exponent: 2.5
|
path_loss_exponent: 2.5
|
||||||
wifi_tx_power: -59
|
wifi_tx_power: -59
|
||||||
bt_tx_power: -72
|
bt_tx_power: -72
|
||||||
# Peer sync settings
|
peers: []
|
||||||
peers: [] # List of peer scanner URLs (auto-populated via registration)
|
sync_interval_seconds: 30
|
||||||
sync_interval_seconds: 30 # How often to sync with peers (0 = disabled)
|
accept_registrations: true
|
||||||
accept_registrations: true # Allow other scanners to register with this one
|
|
||||||
data:
|
data:
|
||||||
directory: data
|
directory: data
|
||||||
max_scans: 100
|
max_scans: 100
|
||||||
|
|||||||
12247
data/rf-mapper.log
Normal file
12247
data/rf-mapper.log
Normal file
File diff suppressed because it is too large
Load Diff
1
data/rf-mapper.pid
Normal file
1
data/rf-mapper.pid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
75365
|
||||||
1
data/rf-mapper.started
Normal file
1
data/rf-mapper.started
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1769915071.4769592
|
||||||
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
--color-primary: #00ff88;
|
--color-primary: #00ff88;
|
||||||
--color-secondary: #4dabf7;
|
--color-secondary: #4dabf7;
|
||||||
|
--color-wifi: #f59f00;
|
||||||
|
--color-bluetooth: #4dabf7;
|
||||||
--color-warning: #ffd93d;
|
--color-warning: #ffd93d;
|
||||||
--color-danger: #ff6b6b;
|
--color-danger: #ff6b6b;
|
||||||
--color-text: #eee;
|
--color-text: #eee;
|
||||||
@@ -162,8 +164,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.filter-btn.wifi {
|
.filter-btn.wifi {
|
||||||
color: var(--color-primary);
|
color: var(--color-wifi);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-wifi);
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-btn.wifi.inactive {
|
.filter-btn.wifi.inactive {
|
||||||
@@ -173,8 +175,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.filter-btn.bluetooth {
|
.filter-btn.bluetooth {
|
||||||
color: var(--color-secondary);
|
color: var(--color-bluetooth);
|
||||||
border-color: var(--color-secondary);
|
border-color: var(--color-bluetooth);
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-btn.bluetooth.inactive {
|
.filter-btn.bluetooth.inactive {
|
||||||
@@ -283,11 +285,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.device-card.wifi {
|
.device-card.wifi {
|
||||||
border-left: 3px solid var(--color-primary);
|
border-left: 3px solid var(--color-wifi);
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-card.bluetooth {
|
.device-card.bluetooth {
|
||||||
border-left: 3px solid var(--color-secondary);
|
border-left: 3px solid var(--color-bluetooth);
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-header {
|
.device-header {
|
||||||
@@ -661,12 +663,12 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.device-detail-panel.wifi {
|
.device-detail-panel.wifi {
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-wifi);
|
||||||
box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
|
box-shadow: 0 4px 20px rgba(245, 159, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-detail-panel.bluetooth {
|
.device-detail-panel.bluetooth {
|
||||||
border-color: var(--color-secondary);
|
border-color: var(--color-bluetooth);
|
||||||
box-shadow: 0 4px 20px rgba(77, 171, 247, 0.2);
|
box-shadow: 0 4px 20px rgba(77, 171, 247, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -929,14 +931,14 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.marker-3d.wifi .marker-icon {
|
.marker-3d.wifi .marker-icon {
|
||||||
background: var(--color-primary);
|
background: var(--color-wifi);
|
||||||
box-shadow: 0 0 15px var(--color-primary), 0 2px 8px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 0 15px var(--color-wifi), 0 2px 8px rgba(0, 0, 0, 0.5);
|
||||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.marker-3d.bluetooth .marker-icon {
|
.marker-3d.bluetooth .marker-icon {
|
||||||
background: var(--color-secondary);
|
background: var(--color-bluetooth);
|
||||||
box-shadow: 0 0 15px var(--color-secondary), 0 2px 8px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 0 15px var(--color-bluetooth), 0 2px 8px rgba(0, 0, 0, 0.5);
|
||||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,8 +46,8 @@
|
|||||||
defaultLon: {{ lon | default(4.3517) }},
|
defaultLon: {{ lon | default(4.3517) }},
|
||||||
apiBase: '{{ url_for("index") }}api',
|
apiBase: '{{ url_for("index") }}api',
|
||||||
colors: {
|
colors: {
|
||||||
wifi: '#00ff88',
|
wifi: '#f59f00', // Orange for WiFi
|
||||||
bluetooth: '#4dabf7',
|
bluetooth: '#4dabf7', // Blue for Bluetooth
|
||||||
warning: '#ffd93d',
|
warning: '#ffd93d',
|
||||||
danger: '#ff6b6b'
|
danger: '#ff6b6b'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user