From 20708548dbfc7f62e8cb594d5bb640c2a8d677d9 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 18 Aug 2019 14:07:20 +0200 Subject: [PATCH] some more info --- html/index.html | 3 ++- html/script.js | 5 +++-- html/style.css | 11 ++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/html/index.html b/html/index.html index 5bd8a25..ea96adc 100644 --- a/html/index.html +++ b/html/index.html @@ -290,7 +290,8 @@ n/a n/a - + + Follow diff --git a/html/script.js b/html/script.js index e047d0c..b2dc2be 100644 --- a/html/script.js +++ b/html/script.js @@ -1095,6 +1095,7 @@ function refreshSelected() { $('#selected_vertical_rate').text(format_vert_rate_long(selected.baro_rate, DisplayUnits)); $('#selected_vertical_rate_geo').text(format_vert_rate_long(selected.geom_rate, DisplayUnits)); $('#selected_icao').text(selected.icao.toUpperCase()); + $('#selected_pf_info').text((selected.pfRoute ? selected.pfRoute : "") +" "+ (selected.pfFlightno ? selected.pfFlightno : "")); $('#airframes_post_icao').attr('value',selected.icao); $('#selected_track').text(format_track_long(selected.track)); @@ -2154,7 +2155,7 @@ function fetchPfData() { plane.pfRoute = ac.route; plane.pfMach = ac.mach; plane.pfFlightno = ac.flightno; - if (ac.reg && ac.reg != "????") + if (ac.reg && ac.reg != "????" && ac.reg != "z.NO-REG") plane.registration = ac.reg; if (ac.type && ac.type != "????") plane.icaoType = ac.type; @@ -2164,7 +2165,7 @@ function fetchPfData() { plane.typeDescription = typeData.desc; plane.wtc = typeData.wtc; } - console.log(plane.icaoType + " " + plane.icaoTypeCache + " " + plane.typeDescription + "-" + plane.wtc); + console.log(plane.icao +" "+ plane.flight + " was " + plane.icaoTypeCache + " and is now " + plane.icaoType + " " + plane.typeDescription + "-" + plane.wtc); //console.log(plane.flight); plane.icaoTypeCache = plane.icaoType; } diff --git a/html/style.css b/html/style.css index 7e726e2..8c0e134 100644 --- a/html/style.css +++ b/html/style.css @@ -478,7 +478,7 @@ select.error, textarea.error, input.error { padding-left: 18px; padding-top: 18px; display: inline-block; - width: 80%; + width: 83%; } .highlightedInfo { @@ -494,6 +494,15 @@ select.error, textarea.error, input.error { font-weight: lighter; } +.identMedium { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 18px; + line-height: 20px; + color: #002F5D; + color: rgb(0, 47, 93); + font-weight: lighter; +} + .identSmall { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px;