2022-10-11 14:10:25 +02:00
|
|
|
<template>
|
2022-10-13 17:11:55 +02:00
|
|
|
<v-app>
|
2022-10-26 11:41:42 +02:00
|
|
|
<navbar-component></navbar-component>
|
2022-10-26 12:06:29 +02:00
|
|
|
<message-bar></message-bar>
|
2024-04-18 10:50:03 +02:00
|
|
|
<webdav-config-menu @saved="cloudList?.refreshBackup"></webdav-config-menu>
|
2023-02-05 18:58:58 +01:00
|
|
|
<backup-config-menu></backup-config-menu>
|
|
|
|
<alert-manager></alert-manager>
|
2024-04-19 16:22:30 +02:00
|
|
|
<v-main class="mx-xl-16 mx-lg-10 mx-2">
|
|
|
|
<StatusBar @state-updated="refreshLists"></StatusBar>
|
2024-04-18 13:42:49 +02:00
|
|
|
<v-row>
|
2024-04-19 16:22:30 +02:00
|
|
|
<v-col cols="12" lg="6">
|
|
|
|
<ha-list ref="haList"></ha-list>
|
2024-04-18 13:42:49 +02:00
|
|
|
</v-col>
|
2024-04-19 16:22:30 +02:00
|
|
|
<v-col cols="12" lg="6">
|
2024-04-18 10:50:03 +02:00
|
|
|
<cloud-list ref="cloudList"></cloud-list>
|
2022-10-26 15:34:45 +02:00
|
|
|
</v-col>
|
|
|
|
</v-row>
|
|
|
|
</v-main>
|
2022-10-13 17:11:55 +02:00
|
|
|
</v-app>
|
2022-10-11 14:10:25 +02:00
|
|
|
</template>
|
|
|
|
|
2022-10-13 17:11:55 +02:00
|
|
|
<script setup lang="ts">
|
2024-04-18 10:50:03 +02:00
|
|
|
import { ref } from "vue";
|
2023-02-05 18:58:58 +01:00
|
|
|
import AlertManager from "./components/AlertManager.vue";
|
2022-10-26 15:34:45 +02:00
|
|
|
import CloudList from "./components/cloud/CloudList.vue";
|
2023-02-16 16:12:45 +01:00
|
|
|
import HaList from "./components/homeAssistant/HaList.vue";
|
2023-02-05 18:58:58 +01:00
|
|
|
import MessageBar from "./components/MessageBar.vue";
|
|
|
|
import NavbarComponent from "./components/NavbarComponent.vue";
|
2023-01-13 16:18:27 +01:00
|
|
|
import BackupConfigMenu from "./components/settings/BackupConfigMenu.vue";
|
2024-04-18 10:50:03 +02:00
|
|
|
import WebdavConfigMenu from "./components/settings/WebdavConfigMenu.vue";
|
2024-04-19 16:22:30 +02:00
|
|
|
import StatusBar from "./components/statusBar/StatusBar.vue";
|
2024-04-18 10:50:03 +02:00
|
|
|
const cloudList = ref<InstanceType<typeof CloudList> | null>(null);
|
2024-04-19 16:22:30 +02:00
|
|
|
const haList = ref<InstanceType<typeof HaList> | null>(null);
|
|
|
|
|
|
|
|
function refreshLists() {
|
|
|
|
cloudList.value?.refreshBackup();
|
|
|
|
haList.value?.refreshBackup();
|
|
|
|
}
|
2022-10-13 17:11:55 +02:00
|
|
|
</script>
|
2022-10-11 14:10:25 +02:00
|
|
|
|
2022-10-13 17:11:55 +02:00
|
|
|
<style scoped></style>
|