2015-03-27 23:39:20 +00:00
|
|
|
<style>
|
2015-03-30 19:15:16 +00:00
|
|
|
.ui-autocomplete {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
/* prevent horizontal scrollbar */
|
|
|
|
overflow-x: hidden;
|
2015-03-28 16:54:14 +00:00
|
|
|
}
|
2015-03-27 23:39:20 +00:00
|
|
|
|
2015-03-28 20:47:32 +00:00
|
|
|
.metric {
|
2015-03-30 19:15:16 +00:00
|
|
|
font-style: italic;
|
|
|
|
font-size: 90%;
|
2015-03-28 20:47:32 +00:00
|
|
|
}
|
2015-03-27 23:39:20 +00:00
|
|
|
</style>
|
|
|
|
<fieldset data-bind="visible: hasAirports">
|
2015-03-28 16:54:14 +00:00
|
|
|
<legend>Search (enter at least two characters of airport name or id)</legend>
|
|
|
|
<input type="text" data-bind="autocomplete: { minLength: 2, source: airports, select: onSelect }" style="width: 100%;">
|
2015-03-27 23:39:20 +00:00
|
|
|
</fieldset>
|
2015-03-30 19:15:16 +00:00
|
|
|
<h1 data-bind="visible: isLoading">Please wait... Loading Airports...</h1>
|
|
|
|
<div style="" data-bind="with: selectedAirport">
|
|
|
|
<div style="float: left;">
|
|
|
|
<div style="font-size: 20pt; font-weight: bold;" data-bind="text: id"></div>
|
|
|
|
<div>
|
|
|
|
<span style="font-size: 12pt; font-weight: normal;">Apt Elev </span> <span style="font-size: 14pt; font-weight: bold;"
|
|
|
|
data-bind="text: elevation"></span> <span style="font-size: 14pt; font-weight: bold;">'</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<span style="font-size: 12pt; font-weight: normal;" data-bind="text: arpFormatted"></span>
|
|
|
|
</div>
|
2015-03-28 16:54:14 +00:00
|
|
|
</div>
|
2015-03-30 19:15:16 +00:00
|
|
|
<div style="float: right;">
|
|
|
|
<div>
|
|
|
|
<span style="font-size: 20pt; font-weight: normal; float: right" data-bind="text: name"></span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<!--
|
2015-03-27 23:39:20 +00:00
|
|
|
<span style="font-size: 20pt; font-weight: bold;" data-bind="text: city"></span>
|
|
|
|
<span style="font-size: 20pt; font-weight: bold;">, </span>
|
|
|
|
<span style="font-size: 20pt; font-weight: bold;" data-bind="text: country"></span>
|
|
|
|
-->
|
2015-03-30 19:15:16 +00:00
|
|
|
</div>
|
2015-03-27 23:39:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ui-helper-clearfix"></div>
|
|
|
|
|
2015-03-28 16:54:14 +00:00
|
|
|
<fieldset data-bind="with: selectedAirport, visible: selectedAirport">
|
2015-03-27 23:39:20 +00:00
|
|
|
<legend>Communication</legend>
|
2015-03-30 19:15:16 +00:00
|
|
|
<table style="width: 100%">
|
|
|
|
<tr data-bind="foreach: comm">
|
|
|
|
<td>
|
|
|
|
<div data-bind="text: name" style="text-align: center"></div>
|
|
|
|
<div data-bind="foreach: frequencies" style="text-align: center">
|
|
|
|
<span data-bind="text: $data"></span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2015-03-27 23:39:20 +00:00
|
|
|
</fieldset>
|
|
|
|
|
2015-03-28 16:54:14 +00:00
|
|
|
<fieldset data-bind="visible: selectedAirport">
|
2015-03-30 19:15:16 +00:00
|
|
|
<div id="phi-environment-position-map" style="height: 400px;"></div>
|
2015-03-27 23:39:20 +00:00
|
|
|
</fieldset>
|
|
|
|
|
2015-03-28 16:54:14 +00:00
|
|
|
<fieldset data-bind="with: selectedAirport, visible: selectedAirport">
|
2015-03-27 23:39:20 +00:00
|
|
|
<legend>Runway Information</legend>
|
2015-03-30 19:15:16 +00:00
|
|
|
<table style="width: 100%">
|
|
|
|
<thead>
|
2015-03-28 20:47:32 +00:00
|
|
|
<tr>
|
|
|
|
<th style="text-align: left">RWY</th>
|
|
|
|
<th style="text-align: right">True</th>
|
|
|
|
<th style="text-align: left">Surface</th>
|
|
|
|
<th style="text-align: left">Length</th>
|
|
|
|
<th style="text-align: left">Width</th>
|
|
|
|
<th style="text-align: left">Displ. Threshold</th>
|
|
|
|
<th style="text-align: left">Stopway</th>
|
|
|
|
<th style="text-align: left"></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2015-03-30 19:15:16 +00:00
|
|
|
<tbody data-bind="foreach: runway">
|
|
|
|
<tr>
|
|
|
|
<td><span data-bind="text: id"></span></td>
|
|
|
|
<td style="text-align: right;"><span data-bind="text: heading"></span>°</td>
|
|
|
|
<td><span data-bind="text: surface"></span></td>
|
|
|
|
<td><span data-bind="text: lengthFt"></span>ft <span data-bind="text: lengthM" class="metric"></span><span
|
|
|
|
class="metric">m</span></td>
|
|
|
|
<td><span data-bind="text: widthFt"></span>ft <span data-bind="text: widthM" class="metric"></span><span
|
|
|
|
class="metric">m</span></td>
|
|
|
|
<td><span data-bind="text: displacedThresholdFt"></span>ft <span data-bind="text: displacedThresholdM"
|
|
|
|
class="metric"></span><span class="metric">m</span></td>
|
|
|
|
<td><span data-bind="text: stopwayFt"></span>ft <span data-bind="text: stopwayM" class="metric"></span><span
|
|
|
|
class="metric">m</span></td>
|
|
|
|
<td><button
|
|
|
|
data-bind="button: { text: false, icons: { primary: 'ui-icon-arrowreturnthick-1-e' } }, click: $parent.gotoRwy">Restart
|
|
|
|
here</button></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-03-27 23:39:20 +00:00
|
|
|
</fieldset>
|
|
|
|
|
2015-03-30 19:15:16 +00:00
|
|
|
<fieldset data-bind="visible: metarValid">
|
|
|
|
<legend>Weather</legend>
|
|
|
|
<div data-bind="text: metar"></div>
|
|
|
|
</fieldset>
|