diff --git a/src/components/TrainsView/TrainInfo.vue b/src/components/TrainsView/TrainInfo.vue
index cf42b59..946e31a 100644
--- a/src/components/TrainsView/TrainInfo.vue
+++ b/src/components/TrainsView/TrainInfo.vue
@@ -4,7 +4,7 @@
#{{ train.timetableData.timetableId }}
-
+
TWR
SKR
@@ -12,8 +12,7 @@
{{ train.timetableData.category }}
{{ train.trainNo }}
| {{ train.driverName }}
-
- {{ train.isTimeout }}
+ ?
@@ -150,6 +149,17 @@ export default defineComponent({
color: #d2d2d2;
}
+.warning-timeout {
+ background-color: #be3728;
+
+ display: inline-block;
+ text-align: center;
+
+ width: 1.25em;
+ height: 1.25em;
+ border-radius: 50%;
+}
+
.timetable_stops {
font-size: 0.75em;
}
diff --git a/src/components/TrainsView/TrainTable.vue b/src/components/TrainsView/TrainTable.vue
index e83b433..1e6a0fd 100644
--- a/src/components/TrainsView/TrainTable.vue
+++ b/src/components/TrainsView/TrainTable.vue
@@ -8,6 +8,12 @@
{{ $t('trains.no-trains') }}
+
+ !
+ Problem z aktualizacją danych z SWDR dla następujących numerów:
+ {{ trainNumbersWithTimeouts.join(', ') }}
+
+
- train.isTimeout).map((train) => train.trainNo);
+ },
+ },
+
activated() {
const query = this.$route.query;
if (query.trainNo && query.driverName) {
@@ -119,6 +131,28 @@ img.train-image {
background: var(--clr-warning);
}
+.timeouts-warning {
+ background-color: #333;
+
+ font-weight: bold;
+ font-size: 1.05em;
+
+ margin-bottom: 0.5em;
+ padding: 0.5em;
+}
+
+.warning-timeout {
+ background-color: #be3728;
+ color: white;
+
+ display: inline-block;
+ text-align: center;
+
+ width: 1.25em;
+ height: 1.25em;
+ border-radius: 50%;
+}
+
.train {
&-list {
overflow: auto;
@@ -179,4 +213,4 @@ img.train-image {
text-align: center;
}
}
-
\ No newline at end of file
+