From 6cbe9fc557417fb9a28e3edb09171ed68d85feca Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 27 Feb 2021 14:25:08 +0100 Subject: [PATCH] =?UTF-8?q?Zmiany=20wygl=C4=85du=20i=20dzia=C5=82ania=20fi?= =?UTF-8?q?ltra=20stacji,=20poprawki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icon-real.svg | 5 + src/components/SceneryView/SceneryInfo.vue | 50 +++++-- src/components/StationsView/FilterCard.vue | 97 +++++-------- src/components/StationsView/StationTable.vue | 83 ++++++++--- src/data/options.json | 51 +++++-- src/mixins/styleMixin.ts | 8 +- src/scripts/interfaces/Filter.ts | 45 +++--- src/scripts/interfaces/Station.ts | 2 +- src/scripts/stationFilterManager.ts | 13 +- src/store/store.ts | 145 ++++++++++--------- src/styles/card.scss | 45 ++++++ src/styles/global.scss | 68 ++------- src/styles/scenery_status.scss | 8 +- 13 files changed, 349 insertions(+), 271 deletions(-) create mode 100644 src/assets/icon-real.svg create mode 100644 src/styles/card.scss diff --git a/src/assets/icon-real.svg b/src/assets/icon-real.svg new file mode 100644 index 0000000..cd2ae23 --- /dev/null +++ b/src/assets/icon-real.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/components/SceneryView/SceneryInfo.vue b/src/components/SceneryView/SceneryInfo.vue index 7a92a6b..f2c8779 100644 --- a/src/components/SceneryView/SceneryInfo.vue +++ b/src/components/SceneryView/SceneryInfo.vue @@ -7,7 +7,8 @@ :href="stationInfo.stationURL" target="_blank" rel="noopener noreferrer" - >{{ stationInfo.stationName }} + >{{ stationInfo.stationName }} {{ stationInfo.stationName }} @@ -33,11 +34,15 @@ icon-timetable - {{stationInfo.scheduledTrains.length}} + {{ + stationInfo.scheduledTrains.length + }} / - {{ stationInfo.scheduledTrains.filter(train => train.stopInfo.confirmed).length }} + {{ + stationInfo.scheduledTrains.filter( + (train) => train.stopInfo.confirmed + ).length + }} @@ -84,22 +89,39 @@ alt="icon-unavailable" title="Sceneria niedostępna" /> + + real
{{ stationInfo.dispatcherExp > 1 ? stationInfo.dispatcherExp : "L"}} + :style=" + calculateExpStyle( + stationInfo.dispatcherExp, + stationInfo.dispatcherIsSupporter + ) + " + > + {{ + stationInfo.dispatcherExp > 1 ? stationInfo.dispatcherExp : "L" + }} + {{ stationInfo.dispatcherName }}
{{ stationInfo.occupiedTo }} + >{{ stationInfo.occupiedTo }} +
@@ -123,7 +145,9 @@
BRAK AKTYWNYCH GRACZY
+ > + BRAK AKTYWNYCH GRACZY +
@@ -144,7 +168,8 @@ BRAK OTWARTYCH SPAWNÓW + >BRAK OTWARTYCH SPAWNÓW
@@ -264,6 +289,9 @@ h3 { img { width: 2.5em; margin: 0 0.5rem; + + border: 2px solid #4e4e4e; + border-radius: 0.5em; } } diff --git a/src/components/StationsView/FilterCard.vue b/src/components/StationsView/FilterCard.vue index d61fc87..0e0c0f0 100644 --- a/src/components/StationsView/FilterCard.vue +++ b/src/components/StationsView/FilterCard.vue @@ -1,7 +1,7 @@