From b8479336501ad50994659aec26790ca2acc691ca Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 11:32:26 -0500 Subject: [PATCH 01/11] Make some visual improvements to mcdu.html --- mcdu.html | 152 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 115 insertions(+), 37 deletions(-) diff --git a/mcdu.html b/mcdu.html index 28e57ea7..354af40e 100644 --- a/mcdu.html +++ b/mcdu.html @@ -1,8 +1,9 @@ + MCDU - + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
   
11
22
33
44
55
66
  
@@ -119,11 +196,11 @@ - - - - - + + + + + @@ -167,13 +244,13 @@ Z / SP - OVFY + OVFY
△ CLR - + @@ -204,8 +281,9 @@ - +
AIR
PORT
AIR
PORT
. 0-+/-
+ From 81a5f5ba01c88e42e65987cc6ad6ca7984783466 Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 11:47:58 -0500 Subject: [PATCH 02/11] Make the "+/-" button take up less space --- mcdu.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mcdu.html b/mcdu.html index 354af40e..64b5acf1 100644 --- a/mcdu.html +++ b/mcdu.html @@ -150,10 +150,10 @@ - + - + @@ -281,7 +281,8 @@ - +
   
. 0+/-+/- +
From b526446113d5c4102e42fb96ab2bf97b4c64dd7d Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 11:53:05 -0500 Subject: [PATCH 03/11] Remove ready to merge checkbox, replace with draft pull request. --- PULL_REQUEST_TEMPLATE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index d60ad9d6..0ede0774 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -13,4 +13,5 @@ * [ ] My changes follow the Contributing Guidelines. * [ ] My changes implement realistic features. * [ ] Please have a main Developer test my changes before merging. -* [x] My changes are ready for merging. + + From ff7c4e93f5ec6e9e13a5d4eb2c2ead4a39be0443 Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 12:51:41 -0500 Subject: [PATCH 04/11] Add extra button at top to align buttons --- mcdu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcdu.html b/mcdu.html index 64b5acf1..89a6185a 100644 --- a/mcdu.html +++ b/mcdu.html @@ -150,10 +150,10 @@ - + - + From 6b42fa4e2494ee9cac4e033e23afa9aba5a10d66 Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 12:56:59 -0500 Subject: [PATCH 05/11] Replaced by .github/ISSUE_TEMPLATE --- ISSUE_TEMPLATE.md | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 ISSUE_TEMPLATE.md diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 4df972e0..00000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,31 +0,0 @@ - - -### General ----- - -I am submitting a: (select one) -* [x] Bug report -* [ ] Feature request - -### Details ----- -#### Expected Behavior (bug reports) - - -#### Current Behavior (if applicable) - - -#### Requested Behavior (feature requests) - - -#### Possible Solution (if applicable) - - -#### Steps to Reproduce (bug reports) - - -1. -2. -3. -4. -5. \ No newline at end of file From 489d20e09bdf3f61ea6fc5cf95a0582fb8c9e213 Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 14:12:20 -0500 Subject: [PATCH 06/11] Fix buttons --- mcdu.html | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/mcdu.html b/mcdu.html index 89a6185a..526d43e5 100644 --- a/mcdu.html +++ b/mcdu.html @@ -50,7 +50,8 @@ tds = document.querySelectorAll('.enter td'); for (const td of tds) { td.addEventListener('click', function () { - press_button(td.nextSibling ? "lskbutton" : "rskbutton", td.textContent); + press_button(td.nextSibling ? "lskbutton" : "rskbutton", td.getAttribute("button-id")); + console.log(td.getAttribute("button-id")); }, true); } tds = document.querySelectorAll('.menu td'); @@ -156,32 +157,32 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + +





@@ -196,11 +197,11 @@ - - - - - + + + + + @@ -281,7 +282,9 @@ . 0 - +/- + + +/- From 893c24cee1cc0e8f70d33f66dd214e9b879fd88b Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 14:53:54 -0500 Subject: [PATCH 07/11] Bug fix Fix pressing right and left key both triggers left button bug. --- mcdu.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/mcdu.html b/mcdu.html index 526d43e5..5487fe9d 100644 --- a/mcdu.html +++ b/mcdu.html @@ -50,8 +50,7 @@ tds = document.querySelectorAll('.enter td'); for (const td of tds) { td.addEventListener('click', function () { - press_button(td.nextSibling ? "lskbutton" : "rskbutton", td.getAttribute("button-id")); - console.log(td.getAttribute("button-id")); + press_button(td.getAttribute("button-side") == "l" ? "lskbutton" : "rskbutton", td.getAttribute("button-id")); }, true); } tds = document.querySelectorAll('.menu td'); @@ -157,28 +156,28 @@
- — - — + — + — - — - — + — + — - — - — + — + — - — - — + — + — - — - — + — + — - — - — + — + —
From 32aa95febebcb5d5e9e592efa2f73ff900ec6cca Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 15:43:04 -0500 Subject: [PATCH 08/11] Fix spacing --- mcdu.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcdu.html b/mcdu.html index 5487fe9d..b94a45ee 100644 --- a/mcdu.html +++ b/mcdu.html @@ -148,7 +148,7 @@ - +


- + @@ -248,7 +248,7 @@ - +
From b242fe0feb16d6c9a03a36db34ee8d7f0c098fbe Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Thu, 11 Mar 2021 15:52:16 -0500 Subject: [PATCH 09/11] Sans-serif because serif looks worse --- mcdu.html | 1 + 1 file changed, 1 insertion(+) diff --git a/mcdu.html b/mcdu.html index b94a45ee..ec2904ad 100644 --- a/mcdu.html +++ b/mcdu.html @@ -84,6 +84,7 @@ padding: 0; background-color: black; color: white; + font-family: sans-serif; } table { From a4c82a282a7f7bce8b996c7c6d4092d285cc96ad Mon Sep 17 00:00:00 2001 From: Owen Wang Date: Fri, 19 Mar 2021 12:56:51 -0400 Subject: [PATCH 10/11] Add normal procedures and concise checklist --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5710623f..40ac7034 100644 --- a/README.md +++ b/README.md @@ -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 (.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/) -* [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) +* [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/) From dbf8586c5adde8efabb83b664bb4a6b506c10bbe Mon Sep 17 00:00:00 2001 From: Andrea Vezzali Date: Mon, 19 Apr 2021 09:06:59 +0200 Subject: [PATCH 11/11] Added author's name --- A320-main.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/A320-main.xml b/A320-main.xml index ba739759..0283c7f9 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -43,8 +43,9 @@ CaptB - vezza + Andrea Vezzali Systems, Displays + vezza
AIR
PORT