mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-13 11:18:29 -05:00
Switch new display to Vue
This commit is contained in:
30
WebDisplay/src/pages/index.vue
Normal file
30
WebDisplay/src/pages/index.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<script lang="ts" setup>
|
||||
import CurrentWeather from '../components/CurrentWeather.vue';
|
||||
import CurrentPower from '../components/CurrentPower.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<v-container fluid class="container">
|
||||
<v-row align="start">
|
||||
<v-col cols="3">
|
||||
<CurrentWeather></CurrentWeather>
|
||||
</v-col>
|
||||
<v-col cols="3">
|
||||
<Almanac></Almanac>
|
||||
</v-col>
|
||||
<v-col cols="2">
|
||||
<CurrentPower></CurrentPower>
|
||||
</v-col>
|
||||
<v-col cols="2">
|
||||
<CurrentLaundryStatus></CurrentLaundryStatus>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
height: 100%;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user