From 6e87c3428b90d0c124dd12caa6dc115156cd57e1 Mon Sep 17 00:00:00 2001 From: portree_kid Date: Wed, 13 May 2020 15:14:14 +0200 Subject: [PATCH] Styling and radii --- src/renderer/components/ParkingEdit.vue | 54 ++++++++++++++++++------- 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/src/renderer/components/ParkingEdit.vue b/src/renderer/components/ParkingEdit.vue index 66d035c..dbf27d8 100644 --- a/src/renderer/components/ParkingEdit.vue +++ b/src/renderer/components/ParkingEdit.vue @@ -13,23 +13,32 @@ --> - Name : + Name : - - Number : + + Number : - + - Size : + Size : + + A @@ -39,7 +48,7 @@ placement="top" effect="light" > - B + B D - E + E F @@ -62,13 +71,13 @@ - Aircraft : + Aircraft : {{type}} - Coordinates : + Coordinates : @@ -76,7 +85,7 @@ - Parking Type : + Parking Type : @@ -91,7 +100,7 @@ - Airline : + Airline : @@ -106,7 +115,7 @@ - Pushback Route End : + Pushback Route End : {{pushbackEnd}} @@ -207,16 +216,25 @@ return this.$parent.$parent.$parent.$refs.editLayer.findRouteToPushback(this.$store.state.Editable.index) }, type: function () { +/** + * Cat Models FG Radii N2M Radii + * B Small Regionals ERJ CRJ ATR 14 6 + * C A319 A320 A321 B737 18 10 + * D B757, B767 26 15 + * E B777 B787 A330 A340 A360 33 24 + * F A380 40 24 + */ + switch (this.$store.state.Editable.data.parking.radius * 2) { case 15: return 'PIPER PA-31/CESSNA 404 Titan' - case 24: + case 28: return 'BOMBARDIER Regional Jet CRJ-200/DE HAVILLAND CANADA DHC-6' case 36: return 'BOEING 737-700/AIRBUS A-320/EMBRAER ERJ 190-100' case 52: return 'B767 Series/AIRBUS A-310' - case 65: + case 66: return 'B777 Series/B787 Series/A330 Family' case 80: return 'BOEING 747-8/AIRBUS A-380-800' @@ -257,6 +275,12 @@ margin: 1px; } .el-col { - padding-left: 10pt; + padding-left: 2pt; +} +.label { +display: flex; + justify-content: left; + align-items: center; + font-weight: bold; }