mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
dodano odnośnik do dziennika RJ maszynisty
This commit is contained in:
@@ -46,6 +46,11 @@
|
||||
<img src="/images/icon-diamond.svg" alt="donator diamond icon" />
|
||||
</b>
|
||||
<span v-else>{{ train.driverName }}</span>
|
||||
•
|
||||
<button class="btn--image btn--text btn-journal" v-if="extended">
|
||||
<img src="/images/icon-train.svg" alt="" />
|
||||
DZIENNIK
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -149,8 +154,7 @@ export default defineComponent({
|
||||
required: true
|
||||
},
|
||||
extended: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
type: Boolean
|
||||
}
|
||||
},
|
||||
|
||||
@@ -201,6 +205,11 @@ export default defineComponent({
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.btn-journal {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.timetable-id {
|
||||
color: #d2d2d2;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<img src="/images/icon-exit.svg" alt="close card" />
|
||||
</button>
|
||||
|
||||
<TrainInfo :train="chosenTrain" :extended="false" ref="trainInfo" />
|
||||
<TrainInfo :train="chosenTrain" :extended="true" ref="trainInfo" />
|
||||
<TrainSchedule :train="chosenTrain" tabindex="0" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
@click.stop="selectModalTrain(train.trainId, $event.currentTarget)"
|
||||
@keydown.enter="selectModalTrain(train.trainId, $event.currentTarget)"
|
||||
>
|
||||
<TrainInfo :train="train" />
|
||||
<TrainInfo :train="train" :extended="false" />
|
||||
</li>
|
||||
</transition-group>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user