From aa363115d39181f7a678ae6da3b8531e938ef306 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 12 Jan 2022 14:13:30 +0100 Subject: [PATCH] =?UTF-8?q?TrainTable:=20nowe=20dzia=C5=82anie=20widoku=20?= =?UTF-8?q?SRJP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TrainsView/TrainOptions.vue | 93 ++++++----------- src/components/TrainsView/TrainSchedule.vue | 4 +- src/components/TrainsView/TrainTable.vue | 97 +++++++++--------- src/data/decodedChars.json | 36 +++---- src/views/TrainsView.vue | 107 +++++++------------- 5 files changed, 136 insertions(+), 201 deletions(-) diff --git a/src/components/TrainsView/TrainOptions.vue b/src/components/TrainsView/TrainOptions.vue index 4277313..6336b0e 100644 --- a/src/components/TrainsView/TrainOptions.vue +++ b/src/components/TrainsView/TrainOptions.vue @@ -9,77 +9,57 @@ /> \ No newline at end of file + diff --git a/src/components/TrainsView/TrainSchedule.vue b/src/components/TrainsView/TrainSchedule.vue index ec28a9f..e28491c 100644 --- a/src/components/TrainsView/TrainSchedule.vue +++ b/src/components/TrainsView/TrainSchedule.vue @@ -16,8 +16,10 @@ - + + + -
-
+
+
{{ $t('trains.no-trains') }}
-
+
{{ $t('trains.loading') }}
  • -
    +
    @@ -60,7 +61,7 @@ SRJP arrow-icon @@ -127,6 +128,7 @@ {{ `${~~(train[stat.name] * (stat.multiplier || 1))}${stat.unit}` }}
    +
    @@ -138,17 +140,11 @@
    - - - +
  • -
    - {{ $t('trains.table-limit') }} -
@@ -156,7 +152,7 @@ @@ -387,7 +382,7 @@ export default defineComponent({ } &-leave-active { - transition: all 100ms ease-out 100ms; + transition: all 100ms ease-out; } } @@ -448,7 +443,6 @@ img.train-image { .info { display: flex; flex-direction: column; - justify-content: space-between; & .timetable { &_hero { @@ -458,6 +452,7 @@ img.train-image { &_general { display: flex; justify-content: space-between; + align-items: center; } &_srjp .activator { @@ -551,17 +546,17 @@ img.train-image { } .stats { + font-size: 0.9em; display: flex; flex-direction: column; justify-content: space-between; - font-size: 0.9em; - padding: 1em 0; &-main { display: flex; - margin-bottom: 1.5em; + justify-content: space-between; + align-items: center; & > span { display: flex; diff --git a/src/data/decodedChars.json b/src/data/decodedChars.json index 2f8c3f5..1168cdd 100644 --- a/src/data/decodedChars.json +++ b/src/data/decodedChars.json @@ -1,20 +1,20 @@ { - "0D3": "Ó", - "0F3": "ó", - "104": "Ą", - "105": "ą", - "106": "Ć", - "107": "ć", - "280": "Ę", - "281": "ę", - "141": "Ł", - "142": "ł", - "143": "Ń", - "144": "ń", - "15A": "Ś", - "15B": "ś", - "179": "Ź", - "17A": "ź", - "17B": "Ż", - "17C": "ż" + "Ó": "Ó", + "ó": "ó", + "Ą": "Ą", + "ą": "ą", + "Ć": "Ć", + "ć": "ć", + "ʀ": "Ę", + "ʁ": "ę", + "Ł": "Ł", + "ł": "ł", + "Ń": "Ń", + "ń": "ń", + "Ś": "Ś", + "ś": "ś", + "Ź": "Ź", + "ź": "ź", + "Ż": "Ż", + "ż": "ż" } \ No newline at end of file diff --git a/src/views/TrainsView.vue b/src/views/TrainsView.vue index f4227f3..8d3a7dd 100644 --- a/src/views/TrainsView.vue +++ b/src/views/TrainsView.vue @@ -4,31 +4,26 @@
- +
- +