diff --git a/package.json b/package.json
index 6c515aa..a992c99 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "stacjownik",
- "version": "1.28.7",
+ "version": "1.29.0",
"private": true,
"type": "module",
"scripts": {
diff --git a/public/images/icon-srjp.svg b/public/images/icon-srjp.svg
new file mode 100644
index 0000000..93a1f0a
--- /dev/null
+++ b/public/images/icon-srjp.svg
@@ -0,0 +1,5 @@
+
diff --git a/src/components/Global/DonationCard.vue b/src/components/Global/DonationCard.vue
index a1d0fc4..ebc43c7 100644
--- a/src/components/Global/DonationCard.vue
+++ b/src/components/Global/DonationCard.vue
@@ -187,7 +187,7 @@ a.discord {
text-decoration: underline;
}
-.actions {
+.actions-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 0.5em;
diff --git a/src/components/JournalView/JournalOptions.vue b/src/components/JournalView/JournalOptions.vue
index 44a5b90..cabc030 100644
--- a/src/components/JournalView/JournalOptions.vue
+++ b/src/components/JournalView/JournalOptions.vue
@@ -33,7 +33,7 @@
-
-
+
{{ $t('journal.dispatcher-name') }}
{{ timetable.authorName }}
-
+
+ {{ $t('journal.stock-timetable-speed') }}
+ {{ timetable.trainMaxSpeed }}km/h
+
+
+
{{ $t('journal.stock-max-speed') }}
{{ timetable.maxSpeed }}km/h
-
-
- {{ $t('journal.stock-length') }}
-
- {{
- currentHistoryIndex == 0
- ? timetable.stockLength
- : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength
- }}m
-
-
-
-
- {{ $t('journal.stock-mass') }}
-
- {{
- Math.floor(
- (currentHistoryIndex == 0
- ? timetable.stockMass
- : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000
- )
- }}t
-
-
@@ -93,8 +74,35 @@
+
{{ $t('journal.stock-preview') }}:
+
+
+ {{ $t('journal.stock-length') }}
+
+ {{
+ currentHistoryIndex == 0
+ ? timetable.stockLength
+ : stockHistory[currentHistoryIndex].stockLength || timetable.stockLength
+ }}m
+
+
+
+
+ {{ $t('journal.stock-mass') }}
+
+ {{
+ Math.floor(
+ (currentHistoryIndex == 0
+ ? timetable.stockMass
+ : stockHistory[currentHistoryIndex].stockMass || timetable.stockMass) / 1000
+ )
+ }}t
+
+
+
+
{{ $t('journal.stock-copy') }}
@@ -250,14 +258,21 @@ export default defineComponent({
display: flex;
flex-wrap: wrap;
gap: 0.5em;
+}
- .badge {
- margin: 0;
+.specs-badge {
+ margin: 0;
- span:last-child {
- color: black;
- background-color: $accentCol;
- }
+ span:first-child {
+ color: white;
+ background-color: #666;
+ border-radius: 0.25em 0 0 0.25em;
+ }
+
+ span:last-child {
+ color: black;
+ background-color: $accentCol;
+ border-radius: 0 0.25em 0.25em 0;
}
}
diff --git a/src/components/JournalView/typings.ts b/src/components/JournalView/typings.ts
index 4e3785f..2534d40 100644
--- a/src/components/JournalView/typings.ts
+++ b/src/components/JournalView/typings.ts
@@ -1,10 +1,14 @@
export namespace Journal {
- export type DispatcherSearchKey = 'search-dispatcher' | 'search-station' | 'search-date';
+ export type DispatcherSearchKey =
+ | 'search-dispatcher'
+ | 'search-station'
+ | 'search-date-from'
+ | 'search-date-to';
export type TimetableSearchKey =
| 'search-driver'
| 'search-train'
- | 'search-date'
+ | 'search-date-from'
| 'search-dispatcher'
| 'search-issuedFrom'
| 'search-terminatingAt'
@@ -80,4 +84,3 @@ export namespace Journal {
isConfirmed: boolean;
}
}
-
diff --git a/src/components/TrainsView/StopLabel.vue b/src/components/TrainsView/StopLabel.vue
index 9402e83..ebaff26 100644
--- a/src/components/TrainsView/StopLabel.vue
+++ b/src/components/TrainsView/StopLabel.vue
@@ -4,14 +4,7 @@
:data-minor="stop.isSBL || (stop.nameRaw.endsWith(', po') && !stop.duration)"
>
-
+
{{ stop.nameRaw }}
@@ -54,7 +47,10 @@