mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Poprawki widoku listy zestawień
This commit is contained in:
@@ -68,9 +68,9 @@
|
|||||||
| Vmax pociągu: <span class="text--accent">{{ maxStockSpeed }} km/h</span>
|
| Vmax pociągu: <span class="text--accent">{{ maxStockSpeed }} km/h</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="store.chosenRealStockName" style="margin-top: 0.25rem">
|
<!-- <div v-if="store.chosenRealStockName" style="margin-top: 0.25rem">
|
||||||
<b>{{ store.chosenRealStockName.toLocaleUpperCase() }}</b>
|
<b>{{ store.chosenRealStockName.toLocaleUpperCase() }}</b>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="stock-list_string">
|
<div class="stock-list_string">
|
||||||
|
|||||||
@@ -1,17 +1,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="ready-stock-list" v-if="isOpen">
|
<div class="ready-stock-list" v-if="isOpen">
|
||||||
<button class="btn btn--text exit" @click="exit">< POWRÓT</button>
|
<div class="top-sticky">
|
||||||
<div class="header">
|
<button class="btn btn--text exit" @click="exit">< POWRÓT</button>
|
||||||
<h1>
|
|
||||||
REALNE ZESTAWIENIA
|
|
||||||
<div>by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a></div>
|
|
||||||
</h1>
|
|
||||||
<p>
|
|
||||||
{{ isMobile ? 'Przytrzymaj zestawienie' : 'Kliknij na zestawienie prawym przyciskiem myszy' }}, aby zobaczyć je
|
|
||||||
na stronie <i>vagonweb.cz</i>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<input type="text" tabindex="0" v-model="searchedReadyStockName" placeholder="Szukaj zestawienia..." />
|
<div class="header">
|
||||||
|
<h1>
|
||||||
|
REALNE ZESTAWIENIA
|
||||||
|
<div>by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a></div>
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
{{ isMobile ? 'Przytrzymaj zestawienie' : 'Kliknij na zestawienie prawym przyciskiem myszy' }}, aby zobaczyć je
|
||||||
|
na stronie <i>vagonweb.cz</i>
|
||||||
|
</p>
|
||||||
|
<input type="text" tabindex="0" v-model="searchedReadyStockName" placeholder="Szukaj zestawienia..." />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul v-if="responseStatus == 'loaded'">
|
<ul v-if="responseStatus == 'loaded'">
|
||||||
@@ -219,11 +221,13 @@ input {
|
|||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.header {
|
.top-sticky {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
||||||
background: #333;
|
background: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
padding-bottom: 1.5em;
|
padding-bottom: 1.5em;
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ export const Store: IStore = reactive({
|
|||||||
|
|
||||||
chosenStockListIndex: -1,
|
chosenStockListIndex: -1,
|
||||||
chosenRealStockName: null,
|
chosenRealStockName: null,
|
||||||
|
|
||||||
// locoOptions: [] as ILocomotive[],
|
// locoOptions: [] as ILocomotive[],
|
||||||
// carOptions: [] as ICarWagon[],
|
// carOptions: [] as ICarWagon[],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user