Fix NAC/NIC/SIL labels and content. Fix airframes padding. Fix info icon url
This commit is contained in:
parent
0983766a6c
commit
6af6ff7c2b
|
@ -573,7 +573,7 @@
|
||||||
<div class="infoBlockSection">
|
<div class="infoBlockSection">
|
||||||
<div class="infoRowLine">
|
<div class="infoRowLine">
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
<span title="Navigation accuracy category of the position (95% bound on positions).">Nac_p</span>:
|
<span title="Navigation accuracy category of the position (95% bound on positions).">NAC<sub>P</sub></sub></span>:
|
||||||
</div>
|
</div>
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
<span id="selected_nac_p">n/a</span>
|
<span id="selected_nac_p">n/a</span>
|
||||||
|
@ -581,43 +581,35 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="infoRowLine">
|
<div class="infoRowLine">
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
Sil_type:
|
<span title="Surveillance integrity level (probability of positions lying outside the claimed radius of containment).">SIL</span>:
|
||||||
</div>
|
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
|
||||||
<span id="selected_sil_type">n/a</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="infoRowLine">
|
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
|
||||||
<span title="Navigation accuracy category of the velocity (95% bound on velocities).">Nac_v</span>:
|
|
||||||
</div>
|
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
|
||||||
<span id="selected_nac_p">n/a</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="infoRowLine">
|
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
|
||||||
Nic_baro:
|
|
||||||
</div>
|
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
|
||||||
<span id="selected_nic_baro">n/a</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="infoRowLine">
|
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
|
||||||
<span title="Surveillance integrity level (probability of positions lying outside the claimed radius of containment).">Sil</span>:
|
|
||||||
</div>
|
</div>
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
<span id="selected_sil">n/a</span>
|
<span id="selected_sil">n/a</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="infoRowLine">
|
||||||
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
|
<span title="Navigation accuracy category of the velocity (95% bound on velocities).">NAC<sub>V</sub></span>:
|
||||||
|
</div>
|
||||||
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
|
<span id="selected_nac_p">n/a</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="infoRowLine">
|
||||||
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
|
NIC<sub>BARO</sub>:
|
||||||
|
</div>
|
||||||
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
|
<span id="selected_nic_baro">n/a</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bottom-info-container">
|
<div class="bottom-info-container">
|
||||||
<img src="/images/icon-information@2x.png" width="18" height="18"> Learn more about Mode S data type by hovering over each data label.
|
<img src="images/icon-information@2x.png" width="18" height="18"> Learn more about Mode S data type by hovering over each data label.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bottom-container">
|
<div class="bottom-container">
|
||||||
|
|
|
@ -1031,7 +1031,11 @@ function refreshSelected() {
|
||||||
if (selected.nic_baro == null) {
|
if (selected.nic_baro == null) {
|
||||||
$('#selected_nic_baro').text("n/a");
|
$('#selected_nic_baro').text("n/a");
|
||||||
} else {
|
} else {
|
||||||
$('#selected_nic_baro').text(selected.nic_baro);
|
if (selected.nic_baro == 1) {
|
||||||
|
$('#selected_nic_baro').text("cross-checked");
|
||||||
|
} else {
|
||||||
|
$('#selected_nic_baro').text("not cross-checked");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (selected.nac_p == null) {
|
if (selected.nac_p == null) {
|
||||||
$('#selected_nac_p').text("n/a");
|
$('#selected_nac_p').text("n/a");
|
||||||
|
@ -1043,15 +1047,36 @@ function refreshSelected() {
|
||||||
} else {
|
} else {
|
||||||
$('#selected_nac_v').text(selected.nac_v);
|
$('#selected_nac_v').text(selected.nac_v);
|
||||||
}
|
}
|
||||||
if (selected.sil == null) {
|
if (selected.sil == null || selected.sil_type == null) {
|
||||||
$('#selected_sil').text("n/a");
|
$('#selected_sil').text("n/a");
|
||||||
} else {
|
} else {
|
||||||
$('#selected_sil').text(selected.sil);
|
var sampleRate = "";
|
||||||
|
var silDesc = "";
|
||||||
|
if (selected.sil_type == "perhour") {
|
||||||
|
sampleRate = " per flight hour";
|
||||||
|
} else if (selected.sil_type == "persample") {
|
||||||
|
sampleRate = " per sample";
|
||||||
}
|
}
|
||||||
if (selected.sil_type == null) {
|
|
||||||
$('#selected_sil_type').text("n/a");
|
switch (selected.sil) {
|
||||||
} else {
|
case 0:
|
||||||
$('#selected_sil_type').text(selected.sil_type);
|
silDesc = "> 1×10<sup>-3</sup>";
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
silDesc = "≤ 1×10<sup>-3</sup>";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
silDesc = "≤ 1×10<sup>-5</sup>";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
silDesc = "≤ 1×10<sup>-7</sup>";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
silDesc = "n/a";
|
||||||
|
sampleRate = "";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$('#selected_sil').html(silDesc + sampleRate);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selected.version == null) {
|
if (selected.version == null) {
|
||||||
|
|
|
@ -302,6 +302,10 @@ select.error, textarea.error, input.error {
|
||||||
color: #002F5D;
|
color: #002F5D;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.infoHeading sub {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.infoData {
|
.infoData {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -713,7 +717,7 @@ select.error, textarea.error, input.error {
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
.selected_airframe {
|
.selected_airframe {
|
||||||
padding-top: 75px;
|
padding-top: 30px;
|
||||||
}
|
}
|
||||||
.selected_airframe a {
|
.selected_airframe a {
|
||||||
color: #002F5D;
|
color: #002F5D;
|
||||||
|
|
Loading…
Reference in a new issue