Move ICAO for the selected plane into the header line.

Put RSSI in the selected info box where ICAO used to be.
This commit is contained in:
Oliver Jowett 2015-01-22 15:31:35 +00:00
parent ffe03fe749
commit ba8a8935be
3 changed files with 6 additions and 3 deletions

View file

@ -90,7 +90,7 @@
<table width="100%">
<tr class="infoblock_heading">
<td colspan="2">
<b> <span id="selected_callsign">n/a</span></b>
<b> <span id="selected_callsign">n/a</span></b> <span id="selected_icao"></span>
<span id="selected_emergency"></span>
<span id="selected_links">
<a id="selected_fr24_link" href="" target="_blank">[FR24]</a>
@ -107,7 +107,7 @@
<tr class="infoblock_body">
<td>Speed: <span id="selected_speed">n/a</span></td>
<td>ICAO: <span id="selected_icao">n/a</span></td>
<td>RSSI: <span id="selected_rssi">n/a</span></td>
</tr>
<tr class="infoblock_body">

View file

@ -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

View file

@ -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; }