blob: 88f65e86a086c2e461655531ac1b944725c5cad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<template>
<div class="home">
<div id="title-container">
<span>Gymnasiearbete</span>
</div>
<!--
<div id="minion-list">
<Minion
name="Skyddsling 1"
ip="10.0.1.179"
/>
</div>
-->
<div id="map-container">
<G7Map />
</div>
</div>
</template>
<script lang="ts">
import { Options, Vue } from "vue-class-component";
import Minion from "@/components/MinionStatus.vue";
import G7Map from "@/components/G7Map.vue";
@Options({
components: {
Minion,
G7Map
}
})
export default class HomeView extends Vue {}
</script>
<style scoped lang="scss">
#title-container {
display: flex;
justify-content: center;
margin-top: 2em;
margin-bottom: 7em;
span {
font-size: 2.5rem;
}
}
#minion-list {
margin: 3em;
}
#map-container {
margin-left: 3em;
}
</style>
|