diff --git a/html/config.js b/html/config.js index 64cef2f..24c61d3 100644 --- a/html/config.js +++ b/html/config.js @@ -136,3 +136,5 @@ BingMapsAPIKey = null; //displayUATasADSB = false; //uatNoTISB = true; + +//noFALink = false; diff --git a/html/defaults.js b/html/defaults.js index 81d8c5f..e95a930 100644 --- a/html/defaults.js +++ b/html/defaults.js @@ -166,49 +166,5 @@ var labelZoomGround = 14.8; var displayUATasADSB = false; var uatNoTISB = true; -/* -60 -54 -44 -38 -40 -42 -42 -42 -41 -40 -48 -59 -64 -60 -56 -50 -44 -51 -52 -58 -60 -old: -69 -60 -45 -36 -39 -41 -42 -42 -40 -39 -51 -67 -74 -69 -62 -54 -45 -55 -57 -65 -69 -*/ +var noFALink = false; diff --git a/html/script.js b/html/script.js index 6674cc4..d294f38 100644 --- a/html/script.js +++ b/html/script.js @@ -1241,7 +1241,9 @@ function refreshSelected() { } else { $('#selected_callsign').text('n/a'); } - $('#selected_flightaware_link').html(getFlightAwareModeSLink(selected.icao, selected.flight, "Visit Flight Page")); + if (!noFALink) { + $('#selected_flightaware_link').html(getFlightAwareModeSLink(selected.icao, selected.flight, "Visit Flight Page")); + } if (selected.registration) { $('#selected_registration').html(getFlightAwareIdentLink(selected.registration, selected.registration)); @@ -1600,8 +1602,13 @@ function refreshTableInfo() { } // ICAO doesn't change - updateCell(tableplane, 2, getFlightAwareModeSLink(tableplane.icao, tableplane.flight, tableplane.name), true); - updateCell(tableplane, 3, getFlightAwareIdentLink(tableplane.registration, tableplane.registration), true); + if (noFALink) { + updateCell(tableplane, 2, tableplane.name); + updateCell(tableplane, 3, tableplane.registration); + } else { + updateCell(tableplane, 2, getFlightAwareModeSLink(tableplane.icao, tableplane.flight, tableplane.name), true); + updateCell(tableplane, 3, getFlightAwareIdentLink(tableplane.registration, tableplane.registration), true); + } updateCell(tableplane, 4, (tableplane.icaoType != null ? tableplane.icaoType : "")); updateCell(tableplane, 5, (tableplane.squawk != null ? tableplane.squawk : "")); updateCell(tableplane, 6, format_altitude_brief(tableplane.altitude, tableplane.vert_rate, DisplayUnits)); diff --git a/html/style.css b/html/style.css index a5f5ad6..bce989a 100644 --- a/html/style.css +++ b/html/style.css @@ -377,32 +377,12 @@ select.error, textarea.error, input.error { z-index: 99999; } -.flightawareLogo { - background-color: #FFF; - padding-top: 7px; - padding-bottom: 6px; - padding-left: 20px; - padding-right: 20px; - width: 121px; - height: 46px; - box-shadow:inset -12px 0 12px -12px #000000; -} - .adsbLogo { padding-left: 20px; padding-top: 30px; padding-bottom: 5px; } -.piAwareLogo { - width: 186px; - height: 24px; -} -.flightfeederLogo { - width: 229px; - height: 24px; -} - .logoContainer { flex: 1; } @@ -429,9 +409,9 @@ select.error, textarea.error, input.error { background: #67b6c3; min-width: 21pt; height: 19pt; - border-radius: 3pt; - -moz-border-radius: 3pt; - -webkit-border-radius: 3pt; + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; display: inline-block; margin-right: 4pt; margin-left: 4pt;