mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-22 17:23:52 -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>
|
||||
11
WebDisplay/src/pages/inside.vue
Normal file
11
WebDisplay/src/pages/inside.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<v-container class="fill-height">
|
||||
<v-responsive class="align-center text-center fill-height">
|
||||
Inside
|
||||
</v-responsive>
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
//
|
||||
</script>
|
||||
11
WebDisplay/src/pages/outside.vue
Normal file
11
WebDisplay/src/pages/outside.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<v-container class="fill-height">
|
||||
<v-responsive class="align-center text-center fill-height">
|
||||
Outside
|
||||
</v-responsive>
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
//
|
||||
</script>
|
||||
Reference in New Issue
Block a user