Cleanups, reformatting, a few bugfixes, add sort-by-country.
This commit is contained in:
parent
7bebcc558f
commit
b5960fd44a
5 changed files with 255 additions and 227 deletions
|
|
@ -112,10 +112,13 @@
|
|||
</b>
|
||||
<span id="selected_follow" onclick="toggleFollowSelected();" class="pointer">⇒</span>
|
||||
|
||||
<span id="selected_flag">
|
||||
<img width="20" height="12">
|
||||
</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>
|
||||
<span id="selected_icao"></span>
|
||||
</a>
|
||||
<span id="selected_flag"></span>
|
||||
<span id="selected_registration"></span>
|
||||
<span id="selected_icaotype"></span>
|
||||
<span id="selected_emergency"></span>
|
||||
|
|
@ -127,6 +130,10 @@
|
|||
</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">
|
||||
<td width="55%">Altitude: <span id="selected_altitude"></span></td>
|
||||
<td width="45%">Squawk: <span id="selected_squawk"></span></td>
|
||||
|
|
@ -143,8 +150,7 @@
|
|||
</tr>
|
||||
|
||||
<tr class="infoblock_body">
|
||||
<td>Position: <span id="selected_position">n/a</span></td>
|
||||
<td>Country: <span id="selected_country">n/a</span></td>
|
||||
<td colspan="2">Position: <span id="selected_position">n/a</span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="infoblock_body">
|
||||
|
|
@ -156,7 +162,7 @@
|
|||
<table id="tableinfo" width="100%">
|
||||
<thead style="background-color: #BBBBBB; cursor: pointer;">
|
||||
<td id="icao" onclick="sortByICAO();">ICAO</td>
|
||||
<td>Country</td>
|
||||
<td id="flag" onclick="sortByCountry()"><!-- column for flag image --></td>
|
||||
<td id="flight" onclick="sortByFlight();">Flight</td>
|
||||
<td id="squawk" onclick="sortBySquawk();" align="right">Squawk</td>
|
||||
<td id="altitude" onclick="sortByAltitude();" align="right">Altitude</td>
|
||||
|
|
@ -169,8 +175,8 @@
|
|||
<tbody>
|
||||
<tr id="plane_row_template" class="plane_table_row hidden">
|
||||
<td>ICAO</td>
|
||||
<td>COUNTRY</td>
|
||||
<td>FLIGHT</td>
|
||||
<td><img width="20" height="12"></td>
|
||||
<td>FLIGHT</td>
|
||||
<td align="right">SQUAWK</td>
|
||||
<td align="right">ALTITUDE</td>
|
||||
<td align="right">SPEED</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue