mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Dodano możliwość podglądu uwag eksploatacyjnych rozkładu jazdy
This commit is contained in:
@@ -14,7 +14,10 @@
|
||||
{{ Math.floor(stop.stopDistance) }}
|
||||
</span>
|
||||
|
||||
<span class="stop-name" v-html="stop.stopName"></span>
|
||||
<span class="stop-name">
|
||||
<span v-html="stop.stopName"></span>
|
||||
<img v-if="stop.comments" :src="icons.warning" :title="`Uwagi eksploatacyjne: ${stop.comments}`">
|
||||
</span>
|
||||
<span class="stop-date">
|
||||
<span
|
||||
class="date arrival"
|
||||
@@ -59,6 +62,7 @@
|
||||
</span>
|
||||
</span>
|
||||
|
||||
|
||||
<div class="stop_line" v-if="i < followingStops.length - 1">
|
||||
<div class="progress-bar"></div>
|
||||
|
||||
@@ -88,8 +92,15 @@ export default defineComponent({
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
emits: ['click'],
|
||||
|
||||
data: () => ({
|
||||
icons: {
|
||||
warning: require("@/assets/icon-warning.svg")
|
||||
}
|
||||
}),
|
||||
|
||||
setup(props) {
|
||||
return {
|
||||
lastConfirmed: computed(() => {
|
||||
@@ -177,7 +188,6 @@ $stopNameClr: #22a8d1;
|
||||
top: -1px;
|
||||
left: -17px;
|
||||
|
||||
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
|
||||
@@ -335,6 +345,11 @@ ul.stop_list > li.stop {
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
width: 1em;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.stop-date {
|
||||
|
||||
Reference in New Issue
Block a user