From e1a06656d5d0ea57ba03bf37f17320310024d210 Mon Sep 17 00:00:00 2001 From: Brian Davenport Date: Sun, 19 May 2013 15:44:19 +0000 Subject: [PATCH 1/2] Added terribl's suggestion. --- public_html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/script.js b/public_html/script.js index a6bcd66..50df145 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -125,7 +125,7 @@ function refreshSelectedInfo() { function refreshTableInfo() { var html = ''; - html += ''; + html += ''; html += ''; html += ''; html += ''; From 9e8c1053bd6fc1679357721ccbb9ffc90908c279 Mon Sep 17 00:00:00 2001 From: terribl Date: Mon, 20 May 2013 11:21:08 +0300 Subject: [PATCH 2/2] Added link to FlightStats for flights with flight number. modified: public_html/script.js modified: public_html/style.css --- public_html/script.js | 8 +++++++- public_html/style.css | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index 50df145..9a3186d 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -103,7 +103,13 @@ function refreshSelectedInfo() { } var html = '
hexFlightSquawk
'; - html += ''; + if (p.flight != "") { + html += ''; + } else { + html += ''; + } html += ''; if (p.squawk != "0000") { html += ''; diff --git a/public_html/style.css b/public_html/style.css index 5ed73c0..72324b2 100644 --- a/public_html/style.css +++ b/public_html/style.css @@ -1,5 +1,6 @@ -html { height: 100% } +html { height: 100%; } body { height: 100%; margin: 0; padding: 0; font-size: small;} +a { color: blue; } #map_canvas { height: 100%; margin-right:390px;
'+p.flight+' 
'+p.flight+'  '; + html += '[FlightStats]
 
ICAO:'+p.hex+'
Squawk:'+p.squawk+'