From ba8a8935be367a3c55ac638ecfab552e1a763a01 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Thu, 22 Jan 2015 15:31:35 +0000 Subject: [PATCH] Move ICAO for the selected plane into the header line. Put RSSI in the selected info box where ICAO used to be. --- public_html/gmap.html | 4 ++-- public_html/script.js | 3 ++- public_html/style.css | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/public_html/gmap.html b/public_html/gmap.html index 89789f5..40f67d4 100644 --- a/public_html/gmap.html +++ b/public_html/gmap.html @@ -90,7 +90,7 @@ - + diff --git a/public_html/script.js b/public_html/script.js index 2ea62b7..eabde45 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -635,7 +635,7 @@ function refreshSelected() { } $('#selected_speed').text(format_speed_long(selected.speed)); - $('#selected_icao').text(selected.icao); + $('#selected_icao').text(selected.icao.toUpperCase()); $('#selected_track').text(format_track_long(selected.track)); if (selected.seen <= 1) { @@ -659,6 +659,7 @@ function refreshSelected() { } $('#selected_sitedist').text(format_distance_long(selected.sitedist)); + $('#selected_rssi').text(selected.rssi.toFixed(1) + ' dBFS'); } // Refreshes the larger table of all the planes diff --git a/public_html/style.css b/public_html/style.css index 1991f2a..7234d12 100644 --- a/public_html/style.css +++ b/public_html/style.css @@ -33,6 +33,8 @@ div#loader { z-index: 99; position: absolute; left: 0; top: 0; bottom: 0; right: .infoblock_heading a { text-decoration: none; color: blue; font-size: x-small;} .infoblock_body { font-size: small; } +#selected_icao { font-size: x-small; } + .dim { opacity: 0.3; filter:alpha(opacity=30); /* For IE8 and earlier */ } .pointer { cursor: pointer; }
- n/a + n/a [FR24] @@ -107,7 +107,7 @@
Speed: n/aICAO: n/aRSSI: n/a