Add back in photos link. Add more descriptions and remove squawks section
This commit is contained in:
parent
71f2c99e96
commit
963cb1aefb
|
@ -289,7 +289,7 @@
|
||||||
Aircraft Type:
|
Aircraft Type:
|
||||||
</div>
|
</div>
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
<span id="selected_icaotype"></span>
|
<span id="selected_icaotype"></span> <span class="lightblue-link" id="selected_photo_link"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -299,14 +299,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="infoBlockSection">
|
<div class="infoBlockSection">
|
||||||
<div class="infoRowLine">
|
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
|
||||||
<span title="A 4-digit octal code assigned to the aircraft by Air Traffic Control.">Squawk</span>:
|
|
||||||
</div>
|
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
|
||||||
<span id="selected_squawk"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sectionTitle">
|
<div class="sectionTitle">
|
||||||
|
@ -563,11 +556,19 @@
|
||||||
<span id="selected_seen">n/a</span>
|
<span id="selected_seen">n/a</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="infoRowLine">
|
||||||
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
|
<span title="A 4-digit octal code assigned to the aircraft by Air Traffic Control.">Squawk</span>:
|
||||||
|
</div>
|
||||||
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
|
<span id="selected_squawk"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sectionTitle">
|
<div class="sectionTitle">
|
||||||
<div class="section-title-content">
|
<div class="section-title-content">
|
||||||
<span title="Aircraft category code as reported by the aircraft. This indicates the type of aircraft and, for airplanes, a relative indicator of its size.">Accuracy</span>
|
Accuracy
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="infoBlockSection">
|
<div class="infoBlockSection">
|
||||||
|
@ -597,7 +598,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="infoRowLine">
|
<div class="infoRowLine">
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
NIC<sub>BARO</sub>:
|
<span title="Whether the reported pressure altitude has been crosschecked against another source of pressure altitude.">NIC<sub>BARO</sub></span>:
|
||||||
</div>
|
</div>
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
<span id="selected_nic_baro">n/a</span>
|
<span id="selected_nic_baro">n/a</span>
|
||||||
|
@ -605,7 +606,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="infoRowLine">
|
<div class="infoRowLine">
|
||||||
<div class="infoHeading infoRowFluid fourColumnSection1">
|
<div class="infoHeading infoRowFluid fourColumnSection1">
|
||||||
R<sub>C</sub>:
|
<span title="Radius of containment. The reported position of the aircraft is expected to be within this distance of the true position, with a failure rate defined by SIL.">R<sub>C</sub></span>:
|
||||||
</div>
|
</div>
|
||||||
<div class="infoData infoRowFluid fourColumnSection2">
|
<div class="infoData infoRowFluid fourColumnSection2">
|
||||||
<span id="selected_rc">n/a</span>
|
<span id="selected_rc">n/a</span>
|
||||||
|
|
|
@ -1819,7 +1819,7 @@ function getFlightAwareModeSLink(code, ident, linkText) {
|
||||||
|
|
||||||
function getFlightAwarePhotoLink(registration) {
|
function getFlightAwarePhotoLink(registration) {
|
||||||
if (registration !== null && registration !== "") {
|
if (registration !== null && registration !== "") {
|
||||||
return "<a target=\"_blank\" href=\"https://flightaware.com/photos/aircraft/" + registration.replace(/[^0-9a-z]/ig,'') + "\">See Aircraft Photos</a>";
|
return "<a target=\"_blank\" href=\"https://flightaware.com/photos/aircraft/" + registration.replace(/[^0-9a-z]/ig,'') + "\">See Photos</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
|
|
@ -440,6 +440,10 @@ select.error, textarea.error, input.error {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lightblue-link, .lightblue-link a {
|
||||||
|
color: #00A0E2;
|
||||||
|
}
|
||||||
|
|
||||||
.buttonHeader {
|
.buttonHeader {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue