2025-04-25 12:31:49 +02:00
|
|
|
<template>
|
|
|
|
<MainTemplate>
|
|
|
|
<template #topBar>
|
|
|
|
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
|
|
|
<h1 class="font-bold text-xl h-8">Einstellungen</h1>
|
|
|
|
</div>
|
|
|
|
</template>
|
2025-04-28 12:39:32 +02:00
|
|
|
<template #main>
|
2025-04-29 13:10:30 +02:00
|
|
|
<p>Hinweis: Optionale Felder können leer gelassen werden und nutzen dann einen Fallback-Werte.</p>
|
|
|
|
<ClubImageSetting />
|
2025-04-28 12:39:32 +02:00
|
|
|
<ClubSetting />
|
|
|
|
<AppSetting />
|
|
|
|
<MailSetting />
|
|
|
|
<SessionSetting />
|
|
|
|
<BackupSetting />
|
2025-04-25 12:31:49 +02:00
|
|
|
</template>
|
|
|
|
</MainTemplate>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { defineComponent } from "vue";
|
|
|
|
import { mapState, mapActions } from "pinia";
|
|
|
|
import MainTemplate from "@/templates/Main.vue";
|
|
|
|
import { useAbilityStore } from "@/stores/ability";
|
2025-04-26 09:21:27 +02:00
|
|
|
import { useSettingStore } from "@/stores/admin/management/setting";
|
2025-04-28 12:39:32 +02:00
|
|
|
import ClubSetting from "@/components/admin/management/setting/ClubSetting.vue";
|
|
|
|
import AppSetting from "@/components/admin/management/setting/AppSetting.vue";
|
|
|
|
import MailSetting from "@/components/admin/management/setting/MailSetting.vue";
|
|
|
|
import SessionSetting from "@/components/admin/management/setting/SessionSetting.vue";
|
|
|
|
import BackupSetting from "@/components/admin/management/setting/BackupSetting.vue";
|
2025-04-29 13:10:30 +02:00
|
|
|
import ClubImageSetting from "@/components/admin/management/setting/ClubImageSetting.vue";
|
2025-04-25 12:31:49 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
export default defineComponent({
|
|
|
|
computed: {
|
|
|
|
...mapState(useAbilityStore, ["can"]),
|
|
|
|
},
|
2025-04-26 09:21:27 +02:00
|
|
|
mounted() {
|
|
|
|
this.fetchSettings();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
...mapActions(useSettingStore, ["fetchSettings"]),
|
|
|
|
},
|
2025-04-25 12:31:49 +02:00
|
|
|
});
|
|
|
|
</script>
|