New cardView component, add database reset confirm dialog

This commit is contained in:
2024-09-22 15:46:33 +02:00
parent eb84351231
commit 98cc551f76
17 changed files with 224 additions and 95 deletions

View File

@@ -0,0 +1,31 @@
<script setup lang="ts">
defineProps({
title: String,
icon: {
type: String
},
subtitle: {
type: String,
}
})
</script>
<template>
<v-card
:title="title"
:subtitle="subtitle"
:prepend-icon="icon"
class="card-outter"
>
<slot></slot>
<v-card-actions v-if="$slots.actions" class="card-actions">
<v-spacer />
<slot name="actions"></slot>
</v-card-actions>
</v-card>
</template>
<style>
</style>