poprawki dzienników

This commit is contained in:
2023-09-03 19:24:32 +02:00
parent 14d13360a8
commit dbbbd33100
2 changed files with 5 additions and 1 deletions
@@ -189,6 +189,7 @@ table.scenery-history-table {
width: 100%; width: 100%;
background-color: #111; background-color: #111;
border-collapse: collapse; border-collapse: collapse;
position: relative;
/* border-spacing: 0 0.5em; */ /* border-spacing: 0 0.5em; */
text-align: center; text-align: center;
@@ -198,6 +199,7 @@ table.scenery-history-table {
background-color: #222222; background-color: #222222;
} }
th { th {
padding: 0.5em; padding: 0.5em;
} }
@@ -117,7 +117,7 @@
<!-- Status RJ --> <!-- Status RJ -->
<div class="info-status" style="margin: 0.5em 0"> <div class="info-status" style="margin: 0.5em 0">
<ProgressBar <ProgressBar
:progressPercent="(timetable.confirmedStopsCount / timetable.allStopsCount) * 100" :progressPercent="~~((timetable.currentDistance / timetable.routeDistance) * 100)"
:progressType="!timetable.fulfilled && timetable.terminated ? 'abandoned' : ''" :progressType="!timetable.fulfilled && timetable.terminated ? 'abandoned' : ''"
/> />
@@ -127,6 +127,8 @@
</span> </span>
<span> / </span> <span> / </span>
<span class="text--primary">{{ timetable.routeDistance }} km</span> <span class="text--primary">{{ timetable.routeDistance }} km</span>
|
<span class="text--grayed">{{ timetable.confirmedStopsCount }}/{{ timetable.allStopsCount }}</span>
</span> </span>
<span class="text--grayed" v-if="timetable.currentSceneryName"> <span class="text--grayed" v-if="timetable.currentSceneryName">