diff --git a/src/assets/EIC.png b/public/images/icon-EIC.png
similarity index 100%
rename from src/assets/EIC.png
rename to public/images/icon-EIC.png
diff --git a/src/assets/IC.svg b/public/images/icon-IC.svg
similarity index 100%
rename from src/assets/IC.svg
rename to public/images/icon-IC.svg
diff --git a/public/images/icon-RE.svg b/public/images/icon-RE.svg
new file mode 100644
index 0000000..55cf612
--- /dev/null
+++ b/public/images/icon-RE.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/src/assets/TLK.png b/public/images/icon-TLK.png
similarity index 100%
rename from src/assets/TLK.png
rename to public/images/icon-TLK.png
diff --git a/src/assets/add-icon.svg b/public/images/icon-add.svg
similarity index 100%
rename from src/assets/add-icon.svg
rename to public/images/icon-add.svg
diff --git a/src/assets/higher-icon.svg b/public/images/icon-higher.svg
similarity index 100%
rename from src/assets/higher-icon.svg
rename to public/images/icon-higher.svg
diff --git a/public/images/icon-iR.svg b/public/images/icon-iR.svg
new file mode 100644
index 0000000..2c2aac6
--- /dev/null
+++ b/public/images/icon-iR.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/src/assets/lower-icon.svg b/public/images/icon-lower.svg
similarity index 100%
rename from src/assets/lower-icon.svg
rename to public/images/icon-lower.svg
diff --git a/src/assets/randomize-icon.svg b/public/images/icon-randomize.svg
similarity index 100%
rename from src/assets/randomize-icon.svg
rename to public/images/icon-randomize.svg
diff --git a/src/assets/remove-icon.svg b/public/images/icon-remove.svg
similarity index 100%
rename from src/assets/remove-icon.svg
rename to public/images/icon-remove.svg
diff --git a/src/assets/sub-icon.svg b/public/images/icon-sub.svg
similarity index 100%
rename from src/assets/sub-icon.svg
rename to public/images/icon-sub.svg
diff --git a/src/assets/swap-icon.svg b/public/images/icon-swap.svg
similarity index 100%
rename from src/assets/swap-icon.svg
rename to public/images/icon-swap.svg
diff --git a/src/assets/logo.svg b/public/images/logo.svg
similarity index 100%
rename from src/assets/logo.svg
rename to public/images/logo.svg
diff --git a/src/App.vue b/src/App.vue
index 86752fd..2a8a0a4 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -7,14 +7,21 @@
-
+
+
+
+
+
+
+
+
+
-
-
-
+
+
@@ -47,10 +54,11 @@ import { defineComponent } from 'vue';
import InputsSection from './components/InputsSection.vue';
import ListSection from './components/ListSection.vue';
-import logoImage from './assets/logo.svg';
import { useStore } from './store';
import TrainImageSection from './components/TrainImageSection.vue';
-import RandomizerCard from './components/RandomizerCard.vue';
+import LogoSection from './components/LogoSection.vue';
+import RandomizerCard from './components/cards/RandomizerCard.vue';
+import RealStockCard from './components/cards/RealStockCard.vue';
export default defineComponent({
components: {
@@ -58,12 +66,14 @@ export default defineComponent({
InputsSection,
TrainImageSection,
RandomizerCard,
+ LogoSection,
+ RealStockCard,
+ RandomizerCard,
+ RealStockCard,
},
data: () => ({
VERSION: packageInfo.version,
-
- logoImage,
}),
setup() {
@@ -147,7 +157,6 @@ h2 {
/* MAIN SECTION */
main {
- margin-top: 2em;
display: grid;
gap: 1em 3em;
@@ -156,7 +165,7 @@ main {
min-height: 75vh;
grid-template-columns: 1fr 2fr;
- grid-template-rows: 330px minmax(400px, 1fr);
+ grid-template-rows: auto 360px minmax(400px, 1fr);
padding: 0.5em;
}
diff --git a/src/assets/logo.png b/src/assets/logo.png
deleted file mode 100644
index f3d2503..0000000
Binary files a/src/assets/logo.png and /dev/null differ
diff --git a/src/components/InputsSection.vue b/src/components/InputsSection.vue
index 425bb76..a53c810 100644
--- a/src/components/InputsSection.vue
+++ b/src/components/InputsSection.vue
@@ -98,8 +98,7 @@
- REALNE ZESTAWIENIA
-
+ REALNE ZESTAWIENIA
@@ -108,7 +107,6 @@
+
+
+
diff --git a/src/components/TrainImageSection.vue b/src/components/TrainImageSection.vue
index 8ca0e8e..1d8e748 100644
--- a/src/components/TrainImageSection.vue
+++ b/src/components/TrainImageSection.vue
@@ -112,7 +112,7 @@ export default defineComponent({
@import '../styles/global.scss';
.train-image-section {
- grid-row: 2;
+ grid-row: 3;
grid-column: 1;
margin-top: 2em;
diff --git a/src/components/RandomizerCard.vue b/src/components/cards/RandomizerCard.vue
similarity index 58%
rename from src/components/RandomizerCard.vue
rename to src/components/cards/RandomizerCard.vue
index a6ddd8d..76e47f1 100644
--- a/src/components/RandomizerCard.vue
+++ b/src/components/cards/RandomizerCard.vue
@@ -1,169 +1,175 @@
-
-
- {{ warningMessage }}
-
+
+
-
-
LOSUJ SKŁAD
+
+
+ {{ warningMessage }}
+
-
-
-
WŁAŚCIWOŚCI SKŁADU
+
-
-
-
-
LOKOMOTYWA
-
-
- Wybierz lokomotywę
-
- {{ loco.type }}
-
-
-
-
-
-
ŁADOWANIE...
-
-
- WYBIERZ POJAZD LUB WAGON, BY ZOBACZYĆ JEGO PODGLĄD
-
-
-
-
-
- <
+
+
+
+
+
+
LOKOMOTYWA
+
+
+ Wybierz lokomotywę
+
+ {{ loco.type }}
+
+
+
+
+
+
ŁADOWANIE...
+
+
+ WYBIERZ POJAZD LUB WAGON, BY ZOBACZYĆ JEGO PODGLĄD
-
>
-
+
+
+
+ <
+
+
+ {{ previewVehicle.type }}
+ {{
+ isLocomotive(previewVehicle)
+ ? ''
+ : `(${previewIndex + 1} z ${focusedCarWagon?.availableCars.length})`
+ }}
+
+
+ >
+
+
+
+
+
+
+ WAGONY
+
+ [ zasady dodawania wagonów ]
+
+
+
+
+
+ Typ wagonu musi zaczynać się typem konstrukcyjnym (np. 111a lub
+ 203V ), wariantem np. 111a Grafitti 1 lub jego początkiem, np. 111a PKPIC (wtedy
+ losowanie obejmuje wszystkie dostępne warianty typu o takim początku)
+
+
+ Ładunek można wybrać po uprzednim wpisaniu typu konstrukcyjnego wagonu
+ towarowego (zakładając, że je posiada)
+
+
+ Szansa (waga) określa prawdopodobieństwo wylosowania danego typu wagonu.
+ Im większa liczba względem reszty wag, tym bardziej prawdopodobne, że zostanie on wybrany
+
+
+ Warianty pokazują liczbę możliwych wagonów w puli w ramach losowania
+ danego typu
+
+
+
+
+
+
+
+ Typ wagonu
+ Ładunek
+ Szansa
+ Warianty
+ Usuń
+
+
+
+
+
+ Wybierz wagon
+
+ {{ carOptionType }}
+
+
+
+
+
+ brak
+
+ losowy
+
+
+ {{ cargo.id }}
+
+
+
+
+
+
+
+
+ {{ stockWagon.availableCars.length }}
+
+
+
+
+
+
+
+
+
+
+ NOWY WAGON
-
-
- WAGONY
-
- [ zasady dodawania wagonów ]
-
-
-
-
-
- Typ wagonu musi zaczynać się typem konstrukcyjnym (np. 111a lub
- 203V ), wariantem np. 111a Grafitti 1 lub jego początkiem, np. 111a PKPIC (wtedy
- losowanie obejmuje wszystkie dostępne warianty typu o takim początku)
-
-
- Ładunek można wybrać po uprzednim wpisaniu typu konstrukcyjnego wagonu
- towarowego (zakładając, że je posiada)
-
-
- Szansa (waga) określa prawdopodobieństwo wylosowania danego typu wagonu. Im
- większa liczba względem reszty wag, tym bardziej prawdopodobne, że zostanie on wybrany
-
-
- Warianty pokazują liczbę możliwych wagonów w puli w ramach losowania danego
- typu
-
-
-
-
-
-
-
- Typ wagonu
- Ładunek
- Szansa
- Warianty
- Usuń
-
-
-
-
-
- Wybierz wagon
-
- {{ carOptionType }}
-
-
-
-
-
- brak
-
- losowy
-
-
- {{ cargo.id }}
-
-
-
-
-
-
-
-
- {{ stockWagon.availableCars.length }}
-
-
-
-
-
-
-
-
-
-
+ NOWY WAGON
+
+
+ LOSUJ SKŁAD!
+
+
+ ZAMKNIJ
+
-
-
-
- LOSUJ SKŁAD!
-
-
- ZAMKNIJ
-
-
@@ -171,11 +177,12 @@