Merge pull request #1 from terribl/master
Added link to FlightStats-service
This commit is contained in:
commit
8e23983c86
|
@ -103,7 +103,13 @@ function refreshSelectedInfo() {
|
|||
}
|
||||
|
||||
var html = '<table id="selectedinfo">';
|
||||
html += '<tr><td colspan=2><b>'+p.flight+' </b></td></tr>';
|
||||
if (p.flight != "") {
|
||||
html += '<tr><td colspan=2><b>'+p.flight+' </b>';
|
||||
html += '[<a href="http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?';
|
||||
html += 'flightNumber='+p.flight+'" target="_blank">FlightStats</a>]</td></tr>';
|
||||
} else {
|
||||
html += '<tr><td colspan=2><b> </b></td></tr>';
|
||||
}
|
||||
html += '<tr><td>ICAO:</td><td>'+p.hex+'</td></tr>';
|
||||
if (p.squawk != "0000") {
|
||||
html += '<tr><td>Squawk:</td><td>'+p.squawk+'</td></tr>';
|
||||
|
@ -125,7 +131,7 @@ function refreshSelectedInfo() {
|
|||
|
||||
function refreshTableInfo() {
|
||||
var html = '<table id="tableinfo" width="100%">';
|
||||
html += '<thead style="background-color: #CCCCCC;">';
|
||||
html += '<thead style="background-color: #CCCCCC; cursor: pointer;">';
|
||||
html += '<td onclick="setASC_DESC(\'0\');sortTable(\'tableinfo\',\'0\');">hex</td>';
|
||||
html += '<td onclick="setASC_DESC(\'1\');sortTable(\'tableinfo\',\'1\');">Flight</td>';
|
||||
html += '<td onclick="setASC_DESC(\'2\');sortTable(\'tableinfo\',\'2\');" align="right">Squawk</td>';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue