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