mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki interfejsu
This commit is contained in:
@@ -80,10 +80,8 @@
|
||||
</td>
|
||||
|
||||
<td class="station_status">
|
||||
<span
|
||||
class="status-badge"
|
||||
:class="station.statusID"
|
||||
>{{ $t(`status.${station.statusID}`) }}
|
||||
<span class="status-badge" :class="station.statusID"
|
||||
>{{ $t(`status.${station.statusID}`) }}
|
||||
{{
|
||||
station.statusID == "online" ? station.statusTimeString : ""
|
||||
}}
|
||||
@@ -98,9 +96,10 @@
|
||||
<span
|
||||
v-if="station.online"
|
||||
:style="calculateExpStyle(station.dispatcherExp)"
|
||||
>{{
|
||||
>{{
|
||||
2 > station.dispatcherExp ? "L" : station.dispatcherExp
|
||||
}}</span>
|
||||
}}</span
|
||||
>
|
||||
</td>
|
||||
|
||||
<td class="station_tracks twoway">
|
||||
@@ -183,10 +182,7 @@
|
||||
/>
|
||||
</td>
|
||||
|
||||
<td
|
||||
class="station_users"
|
||||
:class="{ inactive: !station.online }"
|
||||
>
|
||||
<td class="station_users" :class="{ inactive: !station.online }">
|
||||
<span>
|
||||
<span class="highlight">{{ station.currentUsers }}</span>
|
||||
/
|
||||
@@ -194,10 +190,7 @@
|
||||
</span>
|
||||
</td>
|
||||
|
||||
<td
|
||||
class="station_spawns"
|
||||
:class="{ inactive: !station.online }"
|
||||
>
|
||||
<td class="station_spawns" :class="{ inactive: !station.online }">
|
||||
<span class="highlight">{{ station.spawns.length }}</span>
|
||||
</td>
|
||||
|
||||
@@ -206,7 +199,7 @@
|
||||
:class="{ inactive: !station.online }"
|
||||
>
|
||||
<span class="highlight">
|
||||
{{ station.scheduledTrains.length }}
|
||||
{{ station.scheduledTrains.length }}
|
||||
</span>
|
||||
/
|
||||
<span style="color: #bbb">{{
|
||||
@@ -220,17 +213,11 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="no-stations"
|
||||
v-if="stations.length == 0 && isDataLoaded"
|
||||
>
|
||||
<div class="no-stations" v-if="stations.length == 0 && isDataLoaded">
|
||||
{{ $t("sceneries.no-stations") }}
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="no-stations"
|
||||
v-else-if="!isDataLoaded"
|
||||
>
|
||||
<div class="no-stations" v-else-if="!isDataLoaded">
|
||||
{{ $t("app.loading") }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user