Move software files one directory up, Readme

This commit is contained in:
2024-11-19 16:51:28 +01:00
parent baf763c4cb
commit 1dc5740f03
329 changed files with 255 additions and 31 deletions

View File

@@ -0,0 +1,52 @@
<script setup lang="ts">
import outlinedButton from '@/components/basics/outlinedButton.vue';
import { useRouter } from 'vue-router';
const fetchInProgress = defineModel("fetchInProgress", { default: false })
const router = useRouter()
defineProps({
addButtonString: String,
hideAddButton: {
type: Boolean,
default: false
},
onAddClick: {
type: Function,
default: () => {}
}
})
</script>
<template>
<v-container>
<v-row>
<v-col>
<outlined-button
prepend-icon="mdi-arrow-left"
@click="router.go(-1)"
>
{{ $t('misc.onePageBack') }}
</outlined-button>
</v-col>
<v-col class="text-end">
<outlined-button
v-if="!hideAddButton"
prepend-icon="mdi-plus"
color="green"
:disabled="fetchInProgress"
@click="onAddClick()"
>
{{ addButtonString }}
</outlined-button>
</v-col>
</v-row>
<v-row>
<v-col>
<slot></slot>
</v-col>
</v-row>
</v-container>
</template>