mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Zmiany w wyglądzie tabelki, połączenie kolumn ze szlakami
This commit is contained in:
@@ -53,8 +53,6 @@ import Loading from "@/components/App/Loading.vue";
|
||||
|
||||
import Clock from "@/components/App/Clock.vue";
|
||||
|
||||
// import firebase from "@/scripts/firebase/firebaseInit";
|
||||
|
||||
@Component({
|
||||
components: { Error, Loading, Clock },
|
||||
})
|
||||
@@ -69,9 +67,6 @@ export default class App extends Vue {
|
||||
|
||||
async mounted() {
|
||||
this.initStations();
|
||||
|
||||
// const getData = firebase.functions.httpsCallable("getHistoryData");
|
||||
// getData().then((res) => console.log(res.data));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -222,6 +222,14 @@ export default class StationCard extends styleMixin {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
|
||||
&-exit {
|
||||
img {
|
||||
width: 1.5em;
|
||||
}
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&-content {
|
||||
display: grid;
|
||||
grid-template-areas: "main main" "icons icons" "dispatcher hours" "users spawns" "history history";
|
||||
|
||||
@@ -102,9 +102,9 @@
|
||||
class="track no-catenary"
|
||||
:title="'Liczba niezelektryfikowanych szlaków dwutorowych: ' + station.routes.twoWay.noCatenary"
|
||||
>{{station.routes.twoWay.noCatenary}}</span>
|
||||
</td>
|
||||
|
||||
<td class="item-tracks oneway">
|
||||
<span class="separator"></span>
|
||||
|
||||
<span
|
||||
v-if="station.routes && station.routes.oneWay.catenary > 0"
|
||||
class="track catenary"
|
||||
@@ -117,6 +117,8 @@
|
||||
:title="'Liczba niezelektryfikowanych szlaków jednotorowych: ' + station.routes.oneWay.noCatenary"
|
||||
>{{station.routes.oneWay.noCatenary}}</span>
|
||||
</td>
|
||||
|
||||
<!-- <td class="item-tracks oneway"></td> -->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -147,14 +149,13 @@ export default class StationTable extends styleMixin {
|
||||
|
||||
headTitles: string[][] = [
|
||||
["Stacja"],
|
||||
["Wymagany poz.", "dyżurnego"],
|
||||
["Min. poziom", "dyżurnego"],
|
||||
["Status"],
|
||||
["Dyżurny"],
|
||||
["Poziom", "dyżurnego"],
|
||||
["Maszyniści"],
|
||||
["Informacje", "ogólne"],
|
||||
["Szlaki", "dwutorowe"],
|
||||
["Szlaki", "jednotorowe"],
|
||||
["Szlaki", "2tor | 1tor"],
|
||||
];
|
||||
|
||||
changeSorter(index: number) {
|
||||
@@ -215,6 +216,10 @@ export default class StationTable extends styleMixin {
|
||||
@import "../../styles/variables.scss";
|
||||
@import "../../styles/global.scss";
|
||||
|
||||
.separator {
|
||||
border-left: 3px solid #b3b3b3;
|
||||
}
|
||||
|
||||
.table {
|
||||
&-wrapper {
|
||||
overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user