Merge branch 'dev' into 3D
This commit is contained in:
commit
60a782bb33
5 changed files with 132 additions and 77 deletions
|
@ -43,8 +43,9 @@
|
||||||
<nick>CaptB</nick>
|
<nick>CaptB</nick>
|
||||||
</author>
|
</author>
|
||||||
<author>
|
<author>
|
||||||
<name>vezza</name>
|
<name>Andrea Vezzali</name>
|
||||||
<description>Systems, Displays</description>
|
<description>Systems, Displays</description>
|
||||||
|
<nick>vezza</nick>
|
||||||
</author>
|
</author>
|
||||||
</authors>
|
</authors>
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
<!-- Provide a general summary of the issue in the title above. -->
|
|
||||||
|
|
||||||
### General
|
|
||||||
----
|
|
||||||
<!-- [ ] = Unchecked, [x] = Checked. -->
|
|
||||||
I am submitting a: (select one)
|
|
||||||
* [x] Bug report
|
|
||||||
* [ ] Feature request
|
|
||||||
|
|
||||||
### Details
|
|
||||||
----
|
|
||||||
#### Expected Behavior (bug reports)
|
|
||||||
<!-- Tell us what should happen. -->
|
|
||||||
|
|
||||||
#### Current Behavior (if applicable)
|
|
||||||
<!-- Tell us what happens instead of the expected behavior. -->
|
|
||||||
|
|
||||||
#### Requested Behavior (feature requests)
|
|
||||||
<!-- Tell us what you want to happen -->
|
|
||||||
|
|
||||||
#### Possible Solution (if applicable)
|
|
||||||
<!-- Think you have a solution? Let us know! -->
|
|
||||||
|
|
||||||
#### Steps to Reproduce (bug reports)
|
|
||||||
<!-- Provide a link to a live example, or a set of steps to reproduce -->
|
|
||||||
<!-- this bug. Bug reports will be closed/ignored if missing. -->
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
4.
|
|
||||||
5.
|
|
|
@ -13,4 +13,5 @@
|
||||||
* [ ] My changes follow the Contributing Guidelines. <!-- See CONTRIBUTING.md to verify. -->
|
* [ ] My changes follow the Contributing Guidelines. <!-- See CONTRIBUTING.md to verify. -->
|
||||||
* [ ] My changes implement realistic features. <!-- Only aircraft changes require this. -->
|
* [ ] My changes implement realistic features. <!-- Only aircraft changes require this. -->
|
||||||
* [ ] Please have a main Developer test my changes before merging. <!-- We will always briefly test, but if it needs a "full" test, please check). -->
|
* [ ] Please have a main Developer test my changes before merging. <!-- We will always briefly test, but if it needs a "full" test, please check). -->
|
||||||
* [x] My changes are ready for merging. <!-- Uncheck if you want to decide when to merge. -->
|
|
||||||
|
<!-- If you changes are not ready for merging, please submit this as a draft pull request. If it is ready, submit it as a regular pull request. -->
|
||||||
|
|
|
@ -35,5 +35,7 @@ NOTE: These are external tools so make sure to check their terms of use
|
||||||
* [Take off performance calculator (excel)](https://forums.flightsimlabs.com/index.php?/files/file/763-a320-takeoff-and-landing-performance-calculator/)
|
* [Take off performance calculator (excel)](https://forums.flightsimlabs.com/index.php?/files/file/763-a320-takeoff-and-landing-performance-calculator/)
|
||||||
* [Take off performance calculator (.exe -- different to above) ](http://www.avsimrus.com/f/for-pilots-19/popular-calculator-to-calculate-takeoff-parameters-in-from-airbus-type-36340.html)
|
* [Take off performance calculator (.exe -- different to above) ](http://www.avsimrus.com/f/for-pilots-19/popular-calculator-to-calculate-takeoff-parameters-in-from-airbus-type-36340.html)
|
||||||
* [Take off performance calculator (online)](http://wabpro.cz/A320/)
|
* [Take off performance calculator (online)](http://wabpro.cz/A320/)
|
||||||
* [Air Berlin Norm. Checklist](https://forums.flightsimlabs.com/index.php?/files/file/778-airberlin-normal-procedures-checklist/)
|
* [Air Berlin Normal Checklist](https://forums.flightsimlabs.com/index.php?/files/file/778-airberlin-normal-procedures-checklist/)
|
||||||
* [Navdata hosted by pinto](https://github.com/l0k1/fg-navaiddata)
|
* [Navdata hosted by pinto](https://github.com/l0k1/fg-navaiddata)
|
||||||
|
* [A320 Normal Procedures](https://www.theairlinepilots.com/forumarchive/a320/a320-normal-procedures.pdf)
|
||||||
|
* [A319/A320 Concise Checklist](https://forums.x-plane.org/index.php?/files/file/50904-toliss-a319-concise-checklist-pdf/)
|
||||||
|
|
168
mcdu.html
168
mcdu.html
|
@ -1,8 +1,9 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>MCDU</title>
|
<title>MCDU</title>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8">
|
||||||
<script>
|
<script>
|
||||||
let screen;
|
let screen;
|
||||||
let screen_src;
|
let screen_src;
|
||||||
|
@ -35,37 +36,37 @@
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
request.send(body);
|
request.send(body);
|
||||||
request.addEventListener('load', function() {
|
request.addEventListener('load', function () {
|
||||||
refresh_screen();
|
refresh_screen();
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
window.addEventListener('load', function() {
|
window.addEventListener('load', function () {
|
||||||
let tds = document.querySelectorAll('.input td');
|
let tds = document.querySelectorAll('.input td');
|
||||||
for (const td of tds) {
|
for (const td of tds) {
|
||||||
td.addEventListener('click', function() {
|
td.addEventListener('click', function () {
|
||||||
press_button("button", td.textContent);
|
press_button("button", td.textContent);
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
tds = document.querySelectorAll('.enter td');
|
tds = document.querySelectorAll('.enter td');
|
||||||
for (const td of tds) {
|
for (const td of tds) {
|
||||||
td.addEventListener('click', function() {
|
td.addEventListener('click', function () {
|
||||||
press_button(td.nextSibling ? "lskbutton" : "rskbutton", td.textContent);
|
press_button(td.getAttribute("button-side") == "l" ? "lskbutton" : "rskbutton", td.getAttribute("button-id"));
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
tds = document.querySelectorAll('.menu td');
|
tds = document.querySelectorAll('.menu td');
|
||||||
for (const td of tds) {
|
for (const td of tds) {
|
||||||
td.addEventListener('click', function() {
|
td.addEventListener('click', function () {
|
||||||
press_button("pagebutton", td.className);
|
press_button("pagebutton", td.className);
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
tds = document.querySelectorAll('.arrows td');
|
tds = document.querySelectorAll('.arrows td');
|
||||||
for (const td of tds) {
|
for (const td of tds) {
|
||||||
td.addEventListener('click', function() {
|
td.addEventListener('click', function () {
|
||||||
press_button(td.className == 'airport' ? "pagebutton" : "arrowbutton", td.className);
|
press_button(td.className == 'airport' ? "pagebutton" : "arrowbutton", td.className);
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
screen = document.querySelector('img');
|
screen = document.querySelector('img');
|
||||||
screen.addEventListener('load', function() {
|
screen.addEventListener('load', function () {
|
||||||
loading = 0;
|
loading = 0;
|
||||||
if (scheduled_load) {
|
if (scheduled_load) {
|
||||||
scheduled_load = 0;
|
scheduled_load = 0;
|
||||||
|
@ -77,37 +78,114 @@
|
||||||
}, true);
|
}, true);
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
body { font-size: 5rem; margin: 0; padding: 0; background-color: black; color: white; }
|
body {
|
||||||
table { margin: 0; padding: 0 }
|
font-size: 5rem;
|
||||||
tr { margin: 0; padding: 0 }
|
margin: 0;
|
||||||
td { margin: 0; padding: 0; text-align: center; outline: 1px solid gray; }
|
padding: 0;
|
||||||
td:active { background-color: white; color: black }
|
background-color: black;
|
||||||
.enter { font-size: 60% }
|
color: white;
|
||||||
.enter tr:first-child { font-size: 70% }
|
font-family: sans-serif;
|
||||||
.enter tr:last-child { font-size: 50% }
|
}
|
||||||
.enter td:first-child, .enter td:last-child { padding: 0 0.55em; }
|
|
||||||
.menu, .arrows .airport { font-size: 40%; line-height: 1em; }
|
table {
|
||||||
.menu td { height: 2.5em; }
|
margin: 0;
|
||||||
.arrows td { width: 50%; padding: 0; font-size: 60%; }
|
padding: 0
|
||||||
img { display: block; }
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
outline: 1px solid gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
td:active {
|
||||||
|
background-color: white;
|
||||||
|
color: black
|
||||||
|
}
|
||||||
|
|
||||||
|
.enter {
|
||||||
|
font-size: 60%
|
||||||
|
}
|
||||||
|
|
||||||
|
.enter tr:first-child {
|
||||||
|
font-size: 70%
|
||||||
|
}
|
||||||
|
|
||||||
|
.enter tr:last-child {
|
||||||
|
font-size: 50%
|
||||||
|
}
|
||||||
|
|
||||||
|
.enter td:first-child,
|
||||||
|
.enter td:last-child {
|
||||||
|
padding: 0 0.55em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu,
|
||||||
|
.arrows .airport {
|
||||||
|
font-size: 40%;
|
||||||
|
line-height: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu td {
|
||||||
|
height: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arrows td {
|
||||||
|
width: 50%;
|
||||||
|
padding: 0;
|
||||||
|
font-size: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="width: 100%">
|
<body style="width: 100%">
|
||||||
<table class="enter" style="width: 92%">
|
<table class="enter" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td><br></td>
|
||||||
<td rowspan="8" style="vertical-align: top"><img src="/screenshot?canvasindex=10&type=png" style="width: 100%"/></td>
|
<td rowspan="8" style="vertical-align: top"><img src="/screenshot?canvasindex=10&type=png"
|
||||||
<td> </td>
|
style="width: 100%" /></td>
|
||||||
|
<td><br></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="1" button-side="l">—</td>
|
||||||
|
<td button-id="1" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="2" button-side="l">—</td>
|
||||||
|
<td button-id="2" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="3" button-side="l">—</td>
|
||||||
|
<td button-id="3" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="4" button-side="l">—</td>
|
||||||
|
<td button-id="4" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="5" button-side="l">—</td>
|
||||||
|
<td button-id="5" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td button-id="6" button-side="l">—</td>
|
||||||
|
<td button-id="6" button-side="r">—</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><br></td>
|
||||||
|
<td><br></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>1</td><td>1</td></tr>
|
|
||||||
<tr><td>2</td><td>2</td></tr>
|
|
||||||
<tr><td>3</td><td>3</td></tr>
|
|
||||||
<tr><td>4</td><td>4</td></tr>
|
|
||||||
<tr><td>5</td><td>5</td></tr>
|
|
||||||
<tr><td>6</td><td>6</td></tr>
|
|
||||||
<tr><td> </td><td> </td></tr>
|
|
||||||
</table>
|
</table>
|
||||||
<table class="menu" style="width: 92%">
|
<table class="menu" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="dirto">DIR</td>
|
<td class="dirto">DIR</td>
|
||||||
<td class="prog">PROG</td>
|
<td class="prog">PROG</td>
|
||||||
|
@ -119,11 +197,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="f-pln">F-PLN</td>
|
<td class="f-pln">F-PLN</td>
|
||||||
<td class="radnav">RAD<br/>NAV</td>
|
<td class="radnav">RAD<br>NAV</td>
|
||||||
<td class="fuel-pred">FUEL<br/>PRED</td>
|
<td class="fuel-pred">FUEL<br>PRED</td>
|
||||||
<td>SEC<br/>F-PLN</td>
|
<td>SEC<br>F-PLN</td>
|
||||||
<td class="atc">ATC<br/>COMM</td>
|
<td class="atc">ATC<br>COMM</td>
|
||||||
<td class="mcdu">MCDU<br/>MENU</td>
|
<td class="mcdu">MCDU<br>MENU</td>
|
||||||
<td>DIM</td>
|
<td>DIM</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -167,13 +245,13 @@
|
||||||
<td>Z</td>
|
<td>Z</td>
|
||||||
<td>/</td>
|
<td>/</td>
|
||||||
<td style="font-size: 50%">SP</td>
|
<td style="font-size: 50%">SP</td>
|
||||||
<td style="font-size: 25%">OVFY</td>
|
<td style="font-size: 33%">OVFY<br>△</td>
|
||||||
<td style="font-size: 33%">CLR</td>
|
<td style="font-size: 33%">CLR</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table class="arrows" style="width: 25%">
|
<table class="arrows" style="width: 29.5%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="airport">AIR<br/>PORT</td>
|
<td class="airport">AIR<br>PORT</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -204,8 +282,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>.</td>
|
<td>.</td>
|
||||||
<td>0</td>
|
<td>0</td>
|
||||||
<td>-</td>
|
<td
|
||||||
|
style="font-size: 3vw; width: 33.333333333333333333333333333333333333333333333333333333333333333333333%; /* :) */">
|
||||||
|
+/-
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue