dump1090/public_html/gmap.html

225 lines
8.5 KiB
HTML
Raw Normal View History

2016-03-22 22:22:41 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="jquery/jquery-ui-1.11.4-smoothness.css" />
<script src="jquery/jquery-3.0.0.min.js"></script>
<script src="jquery/jquery-ui-1.11.4.min.js"></script>
2016-07-02 13:55:38 +02:00
<link rel="stylesheet" href="http://openlayers.org/en/v3.16.0/css/ol.css" type="text/css" />
2016-07-02 13:55:38 +02:00
<script src="http://openlayers.org/en/v3.16.0/build/ol-debug.js" type="text/javascript"></script>
<link rel="stylesheet" href="ol3/ol3-layerswitcher.css" type="text/css"/>
<script src="ol3/ol3-layerswitcher.js" type="text/javascript"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="markers.js"></script>
<script type="text/javascript" src="dbloader.js"></script>
<script type="text/javascript" src="planeObject.js"></script>
<script type="text/javascript" src="formatter.js"></script>
2015-08-18 06:25:39 +02:00
<script type="text/javascript" src="flags.js"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="coolclock/excanvas.js"></script>
<script type="text/javascript" src="coolclock/coolclock.js"></script>
<script type="text/javascript" src="coolclock/moreskins.js"></script>
2016-03-22 20:39:57 +01:00
<title>DUMP1090</title>
</head>
2016-03-22 20:39:57 +01:00
<body onload="initialize()">
2016-03-22 20:39:57 +01:00
<div id="loader" class="hidden">
2016-03-22 22:22:41 +01:00
<img src="spinny.gif" id="spinny" alt="Loading...">
2016-03-22 20:39:57 +01:00
<progress id="loader_progress"></progress>
</div>
<!--
This is hideous. airframes.org insists on getting a POST with a "submit" value specified,
but if we have an input control with that name then it shadows the submit() function that
we need. So steal the submit function off a different form. Surely there is a better way?!
-->
<form id="horrible_hack" class="hidden">
</form>
<form id="airframes_post" method="POST" action="http://www.airframes.org/" target="_blank" class="hidden">
<input type="hidden" name="reg1" value="">
<input type="hidden" name="selcal" value="">
<input id="airframes_post_icao" type="hidden" name="ica024" value="">
<input type="hidden" name="submit" value="submit">
</form>
<div id="map_container">
<div id="map_canvas"></div>
</div>
2016-03-22 20:39:57 +01:00
<div id="sidebar_container">
<div id="sidebar_canvas">
<div id="timestamps">
2016-03-22 22:22:41 +01:00
<table style="width: 100%">
2016-03-22 20:39:57 +01:00
<tr>
2016-03-22 22:22:41 +01:00
<td style="text-align: center"> <canvas id="utcclock"></canvas> </td>
<td style="text-align: center"> <canvas id="receiverclock"></canvas> </td>
2016-03-22 20:39:57 +01:00
</tr>
<tr>
2016-03-22 22:22:41 +01:00
<td style="text-align: center">UTC</td>
<td style="text-align: center">Last Update</td>
2016-03-22 20:39:57 +01:00
</tr>
</table>
</div> <!-- timestamps -->
<div id="sudo_buttons">
2016-03-22 22:22:41 +01:00
<table style="width: 100%">
2016-03-22 20:39:57 +01:00
<tr>
2016-03-22 22:22:41 +01:00
<td style="width: 150px; text-align: center;" class="pointer">
2016-03-22 20:39:57 +01:00
[ <span onclick="resetMap();">Reset Map</span> ]
</td>
</tr>
</table>
</div> <!-- sudo_buttons -->
2014-08-07 04:31:05 +02:00
<div id="dump1090_infoblock">
2016-03-22 22:22:41 +01:00
<table style="width: 100%">
2016-03-22 20:39:57 +01:00
<tr class="infoblock_heading">
<td>
<b id="infoblock_name">DUMP1090</b>
</td>
2016-03-22 22:22:41 +01:00
<td style="text-align: right">
2016-03-22 20:39:57 +01:00
<a href="https://github.com/mutability/dump1090" id="dump1090_version" target="_blank"></a>
</td>
</tr>
<tr class="infoblock_body">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="infoblock_body dim">
<td>(no aircraft selected)</td>
<td>&nbsp;</td>
</tr>
<tr class="infoblock_body">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="infoblock_body">
<td>Aircraft (total): <span id="dump1090_total_ac">n/a</span></td>
<td>Messages: <span id="dump1090_message_rate">n/a</span>/sec</td>
</tr>
<tr class="infoblock_body">
<td>(with positions): <span id="dump1090_total_ac_positions">n/a</span></td>
<td>History: <span id="dump1090_total_history">n/a</span> positions</td>
</tr>
</table>
</div> <!-- dump1090_infoblock -->
<div id="selected_infoblock" class="hidden">
2016-03-22 22:22:41 +01:00
<table style="width: 100%">
2016-03-22 20:39:57 +01:00
<tr class="infoblock_heading">
<td colspan="2">
<b>
<span id="selected_callsign" onclick="toggleFollowSelected();" class="pointer">n/a</span>
</b>
2016-03-22 22:22:41 +01:00
<span id="selected_follow" onclick="toggleFollowSelected();" class="pointer">&#x21D2;</span>
2016-03-22 20:39:57 +01:00
<span id="selected_flag">
2016-03-22 22:22:41 +01:00
<img style="width: 20px; height=12px" src="about:blank" alt="Flag">
2016-03-22 20:39:57 +01:00
</span>
<a href="http://www.airframes.org/" onclick="document.getElementById('horrible_hack').submit.call(document.getElementById('airframes_post')); return false;">
<span id="selected_icao"></span>
</a>
<span id="selected_registration"></span>
<span id="selected_icaotype"></span>
<span id="selected_emergency"></span>
<a id="selected_flightaware_link" href="" target="_blank">[FlightAware]</a>
<span id="selected_links">
<a id="selected_fr24_link" href="" target="_blank">[FR24]</a>
<a id="selected_flightstats_link" href="" target="_blank">[FlightStats]</a>
2016-03-29 23:50:39 +02:00
<a id="selected_planefinder_link" href="" target="_blank">[PlaneFinder]</a>
2016-03-22 20:39:57 +01:00
</span>
</td>
</tr>
<tr id="infoblock_country" class="infoblock_body">
<td colspan="2">Country of registration: <span id="selected_country">n/a</span></td>
</tr>
<tr class="infoblock_body">
2016-03-22 22:22:41 +01:00
<td style="width: 55%">Altitude: <span id="selected_altitude"></span></td>
<td style="width: 45%">Squawk: <span id="selected_squawk"></span></td>
2016-03-22 20:39:57 +01:00
</tr>
<tr class="infoblock_body">
<td>Speed: <span id="selected_speed">n/a</span></td>
<td>RSSI: <span id="selected_rssi">n/a</span></td>
</tr>
<tr class="infoblock_body">
<td>Track: <span id="selected_track">n/a</span></td>
<td>Last seen: <span id="selected_seen">n/a</span></td>
</tr>
<tr class="infoblock_body">
<td colspan="2">Position: <span id="selected_position">n/a</span></td>
</tr>
<tr class="infoblock_body">
<td colspan="2">Distance from Site: <span id="selected_sitedist">n/a</span></td>
</tr>
</table>
</div> <!-- selected_infoblock -->
<div id="planes_table">
2016-03-22 22:22:41 +01:00
<table id="tableinfo" style="width: 100%">
2016-03-22 20:39:57 +01:00
<thead style="background-color: #BBBBBB; cursor: pointer;">
<tr>
<td id="icao" onclick="sortByICAO();">ICAO</td>
<td id="flag" onclick="sortByCountry()"><!-- column for flag image --></td>
<td id="flight" onclick="sortByFlight();">Flight</td>
2016-03-22 22:22:41 +01:00
<td id="squawk" onclick="sortBySquawk();" style="text-align: right">Squawk</td>
<td id="altitude" onclick="sortByAltitude();" style="text-align: right">Altitude</td>
<td id="speed" onclick="sortBySpeed();" style="text-align: right">Speed</td>
<td id="distance" onclick="sortByDistance();" style="text-align: right">Distance</td>
<td id="track" onclick="sortByTrack();" style="text-align: right">Track</td>
<td id="msgs" onclick="sortByMsgs();" style="text-align: right">Msgs</td>
<td id="seen" onclick="sortBySeen();" style="text-align: right">Age</td>
2016-03-22 20:39:57 +01:00
</tr>
</thead>
<tbody>
<tr id="plane_row_template" class="plane_table_row hidden">
<td>ICAO</td>
2016-03-22 22:22:41 +01:00
<td><img style="width: 20px; height=12px" src="about:blank" alt="Flag"></td>
2016-03-22 20:39:57 +01:00
<td>FLIGHT</td>
2016-03-22 22:22:41 +01:00
<td style="text-align: right">SQUAWK</td>
<td style="text-align: right">ALTITUDE</td>
<td style="text-align: right">SPEED</td>
<td style="text-align: right">DISTANCE</td>
<td style="text-align: right">TRACK</td>
<td style="text-align: right">MSGS</td>
<td style="text-align: right">SEEN</td>
2016-03-22 20:39:57 +01:00
</tr>
</tbody>
</table>
</div> <!-- planes_table -->
</div> <!-- sidebar_canvas -->
</div> <!-- sidebar_container -->
<div id="SpecialSquawkWarning" class="hidden">
2016-03-22 20:39:57 +01:00
<b>Squawk 7x00 is reported and shown.</b><br>
This is most likely an error in receiving or decoding.<br>
Please do not call the local authorities, they already know about it if it is a valid squawk.
</div>
<div id="update_error" class="hidden">
2016-03-22 20:39:57 +01:00
<b>Problem fetching data from dump1090.</b><br>
<span id="update_error_detail"></span><br>
The displayed map data will be out of date.
</div>
<div id="container_splitter"></div>
</body>
</html>