1
0
Fork 0

Phi: small tweaks to the airport chart

This commit is contained in:
Torsten Dreyer 2015-03-28 17:54:14 +01:00
parent c68f3f5cc9
commit 8872ca7083

View file

@ -1,9 +1,15 @@
<style> <style>
.ui-autocomplete {
max-height: 300px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
}
</style> </style>
<fieldset data-bind="visible: hasAirports"> <fieldset data-bind="visible: hasAirports">
<legend>Airports</legend> <legend>Search (enter at least two characters of airport name or id)</legend>
<input type="text" data-bind="autocomplete: { source: airports, select: onSelect }" style="width: 100%;"> <input type="text" data-bind="autocomplete: { minLength: 2, source: airports, select: onSelect }" style="width: 100%;">
</fieldset> </fieldset>
<div style="width=100%" data-bind="with: selectedAirport"> <div style="width=100%" data-bind="with: selectedAirport">
@ -20,20 +26,20 @@
</div> </div>
<div style="float: right;"> <div style="float: right;">
<div> <div>
<span style="font-size: 20pt; font-weight: normal; float: right" data-bind="text: name"></span>
</div>
<div>
<!-- <!--
<span style="font-size: 20pt; font-weight: bold;" data-bind="text: city"></span> <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;">, </span>
<span style="font-size: 20pt; font-weight: bold;" data-bind="text: country"></span> <span style="font-size: 20pt; font-weight: bold;" data-bind="text: country"></span>
--> -->
</div> </div>
<div>
<span style="font-size: 14pt; font-weight: normal; float: right" data-bind="text: name"></span>
</div>
</div> </div>
</div> </div>
<div class="ui-helper-clearfix"></div> <div class="ui-helper-clearfix"></div>
<fieldset data-bind="with: selectedAirport"> <fieldset data-bind="with: selectedAirport, visible: selectedAirport">
<legend>Communication</legend> <legend>Communication</legend>
<table style="width: 100%"> <table style="width: 100%">
<tr data-bind="foreach: comm"> <tr data-bind="foreach: comm">
@ -47,11 +53,11 @@
</table> </table>
</fieldset> </fieldset>
<fieldset> <fieldset data-bind="visible: selectedAirport">
<div id="phi-environment-position-map" style="height: 400px;"></div> <div id="phi-environment-position-map" style="height: 400px;"></div>
</fieldset> </fieldset>
<fieldset data-bind="with: selectedAirport"> <fieldset data-bind="with: selectedAirport, visible: selectedAirport">
<legend>Runway Information</legend> <legend>Runway Information</legend>
<table style="width: 100%" data-bind="foreach: runway"> <table style="width: 100%" data-bind="foreach: runway">
<tr> <tr>