#51 Add Version
This commit is contained in:
parent
41376bb130
commit
56284283bf
@ -1,7 +1,18 @@
|
|||||||
|
<!--
|
||||||
|
Copyright 2020 Keith Paterson
|
||||||
|
|
||||||
|
This file is part of FG Airports.
|
||||||
|
|
||||||
|
FG Airports is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
FG Airports is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with FG Airports. If not, see http://www.gnu.org/licenses/.
|
||||||
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="leaflet-sidebar-pane" id="home">
|
<div class="leaflet-sidebar-pane" id="home">
|
||||||
<h1 class="leaflet-sidebar-header">
|
<h1 class="leaflet-sidebar-header">
|
||||||
Help
|
{{version}}
|
||||||
<div class="leaflet-sidebar-close"><i class="fa fa-caret-left"></i></div>
|
<div class="leaflet-sidebar-close"><i class="fa fa-caret-left"></i></div>
|
||||||
</h1>
|
</h1>
|
||||||
<h2>Setup</h2>
|
<h2>Setup</h2>
|
||||||
@ -15,22 +26,20 @@
|
|||||||
<h2>World view</h2>
|
<h2>World view</h2>
|
||||||
<p>
|
<p>
|
||||||
When zoomed out you will see circles. Their size corresponds with the number of flights.
|
When zoomed out you will see circles. Their size corresponds with the number of flights.
|
||||||
Blue means Ok. Yellow to little parking. Red no groundnet.
|
Blue means Ok. Yellow to little parking in comparison to the number of flights. Red no groundnet.
|
||||||
</p>
|
</p>
|
||||||
<h2>Edit view</h2>
|
<h2>Edit view</h2>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Button with ICAO code opens the Airport data in the edit tab.</li>
|
|
||||||
<li>The top 4 buttons in the button bar are for zooming. </li>
|
|
||||||
<li>Upload sends the current airport to groundweb.</li>
|
|
||||||
<li>Edit switches into edit mode</li>
|
|
||||||
<li>Undo undos all changes or all changes during session</li>
|
<li>Undo undos all changes or all changes during session</li>
|
||||||
<li>Save, saves the groundnet</li>
|
<li>Save, saves the groundnet</li>
|
||||||
<li>Draw taxiline</li>
|
<li>Check triggers the groundnet check.</li>
|
||||||
|
<li>Draw bi directional taxiline</li>
|
||||||
|
<li>Draw uni directional taxiline</li>
|
||||||
|
<li>Draw pushback.</li>
|
||||||
<li>Add parking</li>
|
<li>Add parking</li>
|
||||||
<li>Remove element, removes the currently selected element</li>
|
<li>Remove element, removes the currently selected element</li>
|
||||||
<li>Check triggers the groundnet check.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -51,7 +60,9 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
version: function () {
|
||||||
|
return ' Flightgear Airports ' + require('electron').remote.app.getVersion()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -206,7 +206,12 @@ var mapParkings = function (o) {
|
|||||||
console.debug(o.options.attributes.airlineCodes);
|
console.debug(o.options.attributes.airlineCodes);
|
||||||
parking['@airlineCodes'] = o.options.attributes.airlineCodes;
|
parking['@airlineCodes'] = o.options.attributes.airlineCodes;
|
||||||
}
|
}
|
||||||
if(o.options.attributes.number !== undefined && o.options.attributes.number.trim() !== '') {
|
if(o.options.attributes.number !== undefined &&
|
||||||
|
typeof o.options.attributes.number === 'number' || (
|
||||||
|
typeof o.options.attributes.number === 'string' &&
|
||||||
|
o.options.attributes.number.trim() !== ''
|
||||||
|
)
|
||||||
|
) {
|
||||||
console.debug(o.options.attributes.number);
|
console.debug(o.options.attributes.number);
|
||||||
parking['@number'] = o.options.attributes.number;
|
parking['@number'] = o.options.attributes.number;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user