Merge pull request 'patches v1.5.3' (#96) from develop into main
Reviewed-on: #96
This commit is contained in:
commit
cfe621debd
58 changed files with 242 additions and 471 deletions
|
@ -12,7 +12,14 @@ export async function abilityAndNavUpdate(to: any, from: any, next: any) {
|
||||||
let section = to.meta.section;
|
let section = to.meta.section;
|
||||||
let module = to.meta.module;
|
let module = to.meta.module;
|
||||||
|
|
||||||
if ((admin && ability.isAdmin()) || ability.can(type, section, module)) {
|
if (to.name == "admin-default") {
|
||||||
|
navigation.activeNavigation = "club";
|
||||||
|
navigation.activeLink = null;
|
||||||
|
navigation.updateTopLevel();
|
||||||
|
navigation.updateNavigation();
|
||||||
|
NProgress.done();
|
||||||
|
next();
|
||||||
|
} else if ((admin && ability.isAdmin()) || ability.can(type, section, module)) {
|
||||||
NProgress.done();
|
NProgress.done();
|
||||||
navigation.activeNavigation = to.name.split("-")[1];
|
navigation.activeNavigation = to.name.split("-")[1];
|
||||||
navigation.activeLink = to.name.split("-")[2];
|
navigation.activeLink = to.name.split("-")[2];
|
||||||
|
|
|
@ -15,7 +15,7 @@ const router = createRouter({
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
redirect: { name: "admin" },
|
redirect: { name: "admin-default" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/login",
|
path: "/login",
|
||||||
|
@ -76,12 +76,13 @@ const router = createRouter({
|
||||||
path: "/admin",
|
path: "/admin",
|
||||||
name: "admin",
|
name: "admin",
|
||||||
component: () => import("@/views/admin/View.vue"),
|
component: () => import("@/views/admin/View.vue"),
|
||||||
beforeEnter: [isAuthenticated],
|
beforeEnter: [isAuthenticated, abilityAndNavUpdate],
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
name: "admin-default",
|
name: "admin-default",
|
||||||
component: () => import("@/views/admin/ViewSelect.vue"),
|
component: () => import("@/views/admin/ViewSelect.vue"),
|
||||||
|
beforeEnter: [abilityAndNavUpdate],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "club",
|
path: "club",
|
||||||
|
|
|
@ -33,13 +33,21 @@ export const useAbilityStore = defineStore("ability", {
|
||||||
if (type == "admin") return permissions?.admin ?? permissions?.adminByOwner ?? false;
|
if (type == "admin") return permissions?.admin ?? permissions?.adminByOwner ?? false;
|
||||||
if (permissions?.admin || permissions?.adminByOwner) return true;
|
if (permissions?.admin || permissions?.adminByOwner) return true;
|
||||||
if (
|
if (
|
||||||
permissions[section]?.all == "*" ||
|
(permissions[section]?.all == "*" || permissions[section]?.all?.includes(type)) &&
|
||||||
permissions[section]?.all?.includes(type) ||
|
|
||||||
permissions[section] != undefined
|
permissions[section] != undefined
|
||||||
)
|
)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
canAccessSection:
|
||||||
|
(state) =>
|
||||||
|
(section: PermissionSection): boolean => {
|
||||||
|
const permissions = state.permissions;
|
||||||
|
if (state.isOwner) return true;
|
||||||
|
if (permissions?.admin || permissions?.adminByOwner) return true;
|
||||||
|
if (permissions[section] != undefined) return true;
|
||||||
|
return false;
|
||||||
|
},
|
||||||
isAdmin: (state) => (): boolean => {
|
isAdmin: (state) => (): boolean => {
|
||||||
const permissions = state.permissions;
|
const permissions = state.permissions;
|
||||||
if (state.isOwner) return true;
|
if (state.isOwner) return true;
|
||||||
|
@ -72,13 +80,20 @@ export const useAbilityStore = defineStore("ability", {
|
||||||
if (type == "admin") return permissions?.admin ?? permissions?.adminByOwner ?? false;
|
if (type == "admin") return permissions?.admin ?? permissions?.adminByOwner ?? false;
|
||||||
if (permissions?.admin || permissions?.adminByOwner) return true;
|
if (permissions?.admin || permissions?.adminByOwner) return true;
|
||||||
if (
|
if (
|
||||||
permissions[section]?.all == "*" ||
|
(permissions[section]?.all == "*" || permissions[section]?.all?.includes(type)) &&
|
||||||
permissions[section]?.all?.includes(type) ||
|
|
||||||
permissions[section] != undefined
|
permissions[section] != undefined
|
||||||
)
|
)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
_canAccessSection:
|
||||||
|
() =>
|
||||||
|
(permissions: PermissionObject, section: PermissionSection): boolean => {
|
||||||
|
// ignores ownership
|
||||||
|
if (permissions?.admin || permissions?.adminByOwner) return true;
|
||||||
|
if (permissions[section] != undefined) return true;
|
||||||
|
return false;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setAbility(permissions: PermissionObject, isOwner: boolean) {
|
setAbility(permissions: PermissionObject, isOwner: boolean) {
|
||||||
|
|
|
@ -48,7 +48,7 @@ export const useNavigationStore = defineStore("navigation", {
|
||||||
updateTopLevel() {
|
updateTopLevel() {
|
||||||
const abilityStore = useAbilityStore();
|
const abilityStore = useAbilityStore();
|
||||||
this.topLevel = [
|
this.topLevel = [
|
||||||
...(abilityStore.canSection("read", "club")
|
...(abilityStore.canAccessSection("club")
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
key: "club",
|
key: "club",
|
||||||
|
@ -57,7 +57,7 @@ export const useNavigationStore = defineStore("navigation", {
|
||||||
} as topLevelNavigationModel,
|
} as topLevelNavigationModel,
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
...(abilityStore.canSection("read", "configuration")
|
...(abilityStore.canAccessSection("configuration")
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
key: "configuration",
|
key: "configuration",
|
||||||
|
@ -66,7 +66,7 @@ export const useNavigationStore = defineStore("navigation", {
|
||||||
} as topLevelNavigationModel,
|
} as topLevelNavigationModel,
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
...(abilityStore.canSection("read", "management")
|
...(abilityStore.canAccessSection("management")
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
key: "management",
|
key: "management",
|
||||||
|
@ -147,7 +147,8 @@ export const useNavigationStore = defineStore("navigation", {
|
||||||
this.activeNavigationObject.main.findIndex((e) => e.key == this.activeLink) == -1 ||
|
this.activeNavigationObject.main.findIndex((e) => e.key == this.activeLink) == -1 ||
|
||||||
this.activeLink == "default"
|
this.activeLink == "default"
|
||||||
) {
|
) {
|
||||||
let link = this.activeNavigationObject.main[0].key;
|
let link = this.activeNavigationObject.main.filter((m) => !m.key.startsWith("divider"))[0].key;
|
||||||
|
this.activeLink = link;
|
||||||
router.push({ name: `admin-${this.activeNavigation}-${link}` });
|
router.push({ name: `admin-${this.activeNavigation}-${link}` });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -16,10 +16,13 @@
|
||||||
<div
|
<div
|
||||||
class="max-w-full w-full grow flex flex-col divide-y-2 divide-gray-300 bg-white rounded-lg justify-center overflow-hidden"
|
class="max-w-full w-full grow flex flex-col divide-y-2 divide-gray-300 bg-white rounded-lg justify-center overflow-hidden"
|
||||||
>
|
>
|
||||||
|
<div v-if="topBar || title" class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
||||||
|
<h1 v-if="title" class="font-bold text-xl h-8 min-h-fit">{{ title }}</h1>
|
||||||
<slot name="topBar"></slot>
|
<slot name="topBar"></slot>
|
||||||
|
</div>
|
||||||
<div class="flex flex-col gap-2 grow py-5 overflow-hidden">
|
<div class="flex flex-col gap-2 grow py-5 overflow-hidden">
|
||||||
<slot name="diffMain"></slot>
|
<slot name="diffMain"></slot>
|
||||||
<div v-if="!diffMain" class="flex flex-col gap-2 grow px-7 overflow-y-scroll">
|
<div v-if="!diffMain" class="flex flex-col gap-2 grow px-7 overflow-y-auto">
|
||||||
<slot name="main"></slot>
|
<slot name="main"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,6 +54,10 @@ export default defineComponent({
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
title: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(useNavigationStore, ["activeLink", "activeNavigation"]),
|
...mapState(useNavigationStore, ["activeLink", "activeNavigation"]),
|
||||||
|
@ -60,6 +67,9 @@ export default defineComponent({
|
||||||
rootRoute() {
|
rootRoute() {
|
||||||
return ((this.$route?.name as string) ?? "").split("-")[0];
|
return ((this.$route?.name as string) ?? "").split("-")[0];
|
||||||
},
|
},
|
||||||
|
topBar() {
|
||||||
|
return this.$slots.topBar;
|
||||||
|
},
|
||||||
diffMain() {
|
diffMain() {
|
||||||
return this.$slots.diffMain;
|
return this.$slots.diffMain;
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate title="Administration übertragen" :useStagedOverviewLink="false">
|
||||||
<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">Administration übertragen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate title="Meine Anmeldedaten" :useStagedOverviewLink="false">
|
||||||
<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">Meine Anmeldedaten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<Spinner v-if="loading" class="mx-auto" />
|
<Spinner v-if="loading" class="mx-auto" />
|
||||||
<div v-else class="flex flex-col w-full h-full gap-2 px-7 overflow-hidden">
|
<div v-else class="flex flex-col w-full h-full gap-2 px-7 overflow-hidden">
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate title="Mein Account" :useStagedOverviewLink="false">
|
||||||
<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">Mein Account</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,18 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate title="Meine Berechtigungen" :useStagedOverviewLink="false">
|
||||||
<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">Meine Berechtigungen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Permission :permissions="permissions" :disableEdit="true" />
|
<Permission :permissions="permissions" disableEdit />
|
||||||
</template>
|
</template>
|
||||||
</MainTemplate>
|
</MainTemplate>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { defineComponent, markRaw, defineAsyncComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { mapActions, mapState } from "pinia";
|
import { mapActions, mapState } from "pinia";
|
||||||
import MainTemplate from "@/templates/Main.vue";
|
import MainTemplate from "@/templates/Main.vue";
|
||||||
import Permission from "@/components/admin/Permission.vue";
|
import Permission from "@/components/admin/Permission.vue";
|
||||||
|
|
|
@ -1,16 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Kalender">
|
||||||
<template #topBar>
|
<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">Kalender</h1>
|
|
||||||
<div class="flex flex-row gap-2">
|
<div class="flex flex-row gap-2">
|
||||||
<PlusIcon
|
<PlusIcon class="text-gray-500 h-5 w-5 cursor-pointer" @click="select({ start: '', end: '', allDay: false })" />
|
||||||
class="text-gray-500 h-5 w-5 cursor-pointer"
|
|
||||||
@click="select({ start: '', end: '', allDay: false })"
|
|
||||||
/>
|
|
||||||
<LinkIcon class="text-gray-500 h-5 w-5 cursor-pointer" @click="openLinkModal" />
|
<LinkIcon class="text-gray-500 h-5 w-5 cursor-pointer" @click="openLinkModal" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col w-full h-full gap-2 justify-between px-7 overflow-hidden">
|
<div class="flex flex-col w-full h-full gap-2 justify-between px-7 overflow-hidden">
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Liste Drucken">
|
||||||
<template #topBar>
|
<template #main>
|
||||||
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-8">Liste Drucken</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
|
||||||
<div class="flex flex-col w-full h-full gap-2 px-7 overflow-y-auto">
|
|
||||||
<form
|
<form
|
||||||
class="flex flex-col h-fit w-full border border-primary rounded-md p-2 gap-2"
|
class="flex flex-col h-fit w-full border border-primary rounded-md p-2 gap-2"
|
||||||
@submit.prevent="sendPrintJob"
|
@submit.prevent="sendPrintJob"
|
||||||
|
@ -80,7 +74,6 @@
|
||||||
<a ref="download" button primary class="w-fit!">download</a>
|
<a ref="download" button primary class="w-fit!">download</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</MainTemplate>
|
</MainTemplate>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Mitglieder">
|
||||||
<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">Mitglieder</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
||||||
<Pagination
|
<Pagination
|
||||||
|
|
|
@ -4,12 +4,11 @@
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<template #topBar>
|
<template #topBar>
|
||||||
<div class="flex flex-row gap-2 items-center justify-between pt-5 pb-3 px-7">
|
<h1 class="font-bold text-xl h-8 min-h-fit">
|
||||||
<h1 class="font-bold text-xl h-8 min-h-fit grow">
|
|
||||||
{{ activeMemberObj?.lastname }}, {{ activeMemberObj?.firstname }}
|
{{ activeMemberObj?.lastname }}, {{ activeMemberObj?.firstname }}
|
||||||
{{ activeMemberObj?.nameaffix ? `- ${activeMemberObj?.nameaffix}` : "" }}
|
{{ activeMemberObj?.nameaffix ? `- ${activeMemberObj?.nameaffix}` : "" }}
|
||||||
</h1>
|
</h1>
|
||||||
|
<div class="flex flex-row gap-2">
|
||||||
<div title="Mitgliederliste drucken" @click="openPrintModal">
|
<div title="Mitgliederliste drucken" @click="openPrintModal">
|
||||||
<DocumentTextIcon class="w-5 h-5 cursor-pointer" />
|
<DocumentTextIcon class="w-5 h-5 cursor-pointer" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
<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">Übersicht</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
|
||||||
<div class="flex flex-col gap-2 justify-center items-center h-full"></div>
|
|
||||||
</template>
|
|
||||||
</MainTemplate>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { defineComponent } from "vue";
|
|
||||||
import { mapState } from "pinia";
|
|
||||||
import MainTemplate from "@/templates/Main.vue";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
export default defineComponent({
|
|
||||||
computed: {},
|
|
||||||
});
|
|
||||||
</script>
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Newsletter">
|
||||||
<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">Newsletter</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
||||||
<Pagination
|
<Pagination
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="origin?.title">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary w-fit">zurück zur Liste</RouterLink>
|
<RouterLink to="../" class="text-primary w-fit">zurück zur Liste</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<template #topBar>
|
<template #topBar>
|
||||||
<div class="flex flex-row gap-2 items-center justify-between pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-8 min-h-fit grow">{{ origin?.title }}</h1>
|
|
||||||
<NewsletterSyncing
|
<NewsletterSyncing
|
||||||
:executeSyncAll="executeSyncAll"
|
:executeSyncAll="executeSyncAll"
|
||||||
@syncState="
|
@syncState="
|
||||||
|
@ -14,7 +12,6 @@
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Protokolle">
|
||||||
<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">Protokolle</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
<div class="flex flex-col w-full h-full gap-2 justify-center px-7">
|
||||||
<Pagination
|
<Pagination
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`${origin?.title}, ${origin?.date}`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary w-fit">zurück zur Liste</RouterLink>
|
<RouterLink to="../" class="text-primary w-fit">zurück zur Liste</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<template #topBar>
|
<template #topBar>
|
||||||
<div class="flex flex-row gap-2 items-center justify-between pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-8 min-h-fit grow">{{ origin?.title }}, {{ origin?.date }}</h1>
|
|
||||||
<ProtocolSyncing
|
<ProtocolSyncing
|
||||||
:executeSyncAll="executeSyncAll"
|
:executeSyncAll="executeSyncAll"
|
||||||
@syncState="
|
@syncState="
|
||||||
|
@ -14,7 +12,6 @@
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
||||||
|
@ -92,10 +89,10 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.fetchProtocolByActiveId();
|
this.fetchProtocolByActiveId();
|
||||||
this.fetchProtocolAgenda()
|
this.fetchProtocolAgenda();
|
||||||
this.fetchProtocolDecision()
|
this.fetchProtocolDecision();
|
||||||
this.fetchProtocolPresence()
|
this.fetchProtocolPresence();
|
||||||
this.fetchProtocolVoting()
|
this.fetchProtocolVoting();
|
||||||
},
|
},
|
||||||
// this.syncState is undefined, so it will never work
|
// this.syncState is undefined, so it will never work
|
||||||
// beforeRouteLeave(to, from, next) {
|
// beforeRouteLeave(to, from, next) {
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Query Builder">
|
||||||
<template #topBar>
|
<template #main>
|
||||||
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-8">Query Builder</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
|
||||||
<div class="flex flex-col w-full h-full gap-2 px-7 overflow-y-auto">
|
|
||||||
<BuilderHost
|
<BuilderHost
|
||||||
v-model="query"
|
v-model="query"
|
||||||
allow-predefined-select
|
allow-predefined-select
|
||||||
|
@ -51,7 +45,6 @@
|
||||||
<p>{{ row }}</p>
|
<p>{{ row }}</p>
|
||||||
</template>
|
</template>
|
||||||
</Pagination>
|
</Pagination>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</MainTemplate>
|
</MainTemplate>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Auszeichnungen">
|
||||||
<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">Auszeichnungen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Auszeichnung ${origin?.award} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Auszeichnung {{ origin?.award }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Termintyp">
|
||||||
<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">Termintyp</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Termintyp ${origin?.type} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Termintyp {{ origin?.type }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Kommunikationsarten">
|
||||||
<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">Kommunikationsarten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Kommunikationsart ${origin?.type} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Kommunikationsart {{ origin?.type }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Vereinsämter">
|
||||||
<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">Vereinsämter</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Vereinsamt ${origin?.position} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Vereinsamt {{ origin?.position }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Mitgliedsstatus">
|
||||||
<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">Mitgliedsstatus</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Mitgliedsstatus ${origin?.status} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Mitgliedsstatus {{ origin?.status }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Newsletter Konfiguration">
|
||||||
<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">Newsletter Konfiguration</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<p>
|
<p>
|
||||||
Ein Newsletter kann als pdf exportiert oder per Mail versandt werden. <br />
|
Ein Newsletter kann als pdf exportiert oder per Mail versandt werden. <br />
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Qualifikationen">
|
||||||
<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">Qualifikationen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Qualifikation ${origin?.qualification} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Qualifikation {{ origin?.qualification }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="gespeicherte Abfragen">
|
||||||
<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">gespeicherte Abfragen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Anrede">
|
||||||
<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">Anrede</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Anrede ${origin?.salutation} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Anrede {{ origin?.salutation }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Templates">
|
||||||
<template #topBar>
|
<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">Templates</h1>
|
|
||||||
<RouterLink :to="{ name: 'admin-configuration-template-info' }">
|
<RouterLink :to="{ name: 'admin-configuration-template-info' }">
|
||||||
<InformationCircleIcon class="text-gray-500 h-5 w-5" />
|
<InformationCircleIcon class="text-gray-500 h-5 w-5" />
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Template ${origin?.template} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Template {{ origin?.template }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Templates - Verwendungsinformation">
|
||||||
<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">Templates - Verwendungsinformation</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<p>
|
<p>
|
||||||
Mit diesem Editor können Vorlagen erstellt werden, welche später dafür genutzt werden können, um pdfs zu drucken
|
Mit diesem Editor können Vorlagen erstellt werden, welche später dafür genutzt werden können, um pdfs zu drucken
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Template-Verwendung">
|
||||||
<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">Template-Verwendung</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<TemplateUsageListItem v-for="usage in templateUsages" :key="usage.scope" :templateUsage="usage" />
|
<TemplateUsageListItem v-for="usage in templateUsages" :key="usage.scope" :templateUsage="usage" />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Backups">
|
||||||
<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">Backups</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
<div class="flex flex-col gap-2 grow px-7 overflow-hidden">
|
||||||
<div class="flex flex-col grow gap-2 overflow-hidden">
|
<div class="flex flex-col grow gap-2 overflow-hidden">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll">
|
||||||
<BackupListItem v-for="backup in backups" :key="backup" :backup="backup" />
|
<BackupListItem v-for="backup in backups" :key="backup" :backup="backup" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-row gap-4">
|
<div class="flex flex-row gap-4">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll">
|
||||||
<BackupListItem v-for="backup in backups" :key="backup" :backup="backup" />
|
<BackupListItem v-for="backup in backups" :key="backup" :backup="backup" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-row gap-4">
|
<div class="flex flex-row gap-4">
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Rollen">
|
||||||
<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">Rollen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Rolle ${origin?.role} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Rolle {{ origin?.role }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Rolle ${role?.role} - Berechtigungen bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Rolle {{ role?.role }} - Berechtigungen bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Einstellungen">
|
||||||
<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>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<p>Hinweis: Optionale Felder können leer gelassen werden und nutzen dann einen Fallback-Werte.</p>
|
<p>Hinweis: Optionale Felder können leer gelassen werden und nutzen dann einen Fallback-Werte.</p>
|
||||||
<ClubImageSetting />
|
<ClubImageSetting />
|
||||||
|
|
|
@ -1,17 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="offene Einladungen">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink :to="{ name: 'admin-management-user' }" class="text-primary">zurück zur Nutzerliste</RouterLink>
|
<RouterLink :to="{ name: 'admin-management-user' }" class="text-primary">zurück zur Nutzerliste</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<template #topBar>
|
<template #main>
|
||||||
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-8">offene Einladungen</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll px-7">
|
|
||||||
<InviteListItem v-for="invite in invites" :key="invite.username" :invite="invite" />
|
<InviteListItem v-for="invite in invites" :key="invite.username" :invite="invite" />
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</MainTemplate>
|
</MainTemplate>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Benutzer">
|
||||||
<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">Benutzer</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Nutzer ${origin?.username} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Nutzer {{ origin?.username }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Nutzer ${user?.username} - Berechtigungen bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Nutzer {{ user?.username }} - Berechtigungen bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<p>Hinweis: Berechtigungen von Nutzer und Rolle sind ergänzend.</p>
|
<p>Hinweis: Berechtigungen von Nutzer und Rolle sind ergänzend.</p>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Nutzer ${origin?.username} - Rollen bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Nutzer {{ origin?.username }} - Rollen bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate title="Versions-Kontrolle" :useStagedOverviewLink="false">
|
||||||
<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">Versions-Kontrolle</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="h-full flex flex-col px-7 overflow-hidden">
|
<div class="h-full flex flex-col px-7 overflow-hidden">
|
||||||
<div class="h-1/2 flex flex-col gap-2 p-2 border border-gray-300 rounded-t-md">
|
<div class="h-1/2 flex flex-col gap-2 p-2 border border-gray-300 rounded-t-md">
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate title="Webapi-Token">
|
||||||
<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">Webapi-Token</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
<div class="flex flex-col gap-4 h-full pl-7">
|
<div class="flex flex-col gap-4 h-full pl-7">
|
||||||
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
<div class="flex flex-col gap-2 grow overflow-y-scroll pr-7">
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Webapi-Token ${origin?.title} - Daten bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Webapi-Token {{ origin?.title }} - Daten bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate>
|
<MainTemplate :title="`Webapi-Token ${webapi?.title} - Berechtigungen bearbeiten`">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
<RouterLink to="../" class="text-primary">zurück zur Liste (abbrechen)</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<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">Webapi-Token {{ webapi?.title }} - Berechtigungen bearbeiten</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
<Spinner v-if="loading == 'loading'" class="mx-auto" />
|
||||||
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
<p v-else-if="loading == 'failed'">laden fehlgeschlagen</p>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<MainTemplate :useStagedOverviewLink="false">
|
<MainTemplate :useStagedOverviewLink="false">
|
||||||
<!-- <template #topBar>
|
<!-- <template #topBar>
|
||||||
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
||||||
<h1 class="font-bold text-xl h-8">{{page}}</h1>
|
<h1 class="font-bold text-xl h-8 min-h-fit">{{page}}</h1>
|
||||||
</div>
|
</div>
|
||||||
</template> -->
|
</template> -->
|
||||||
<template #diffMain>
|
<template #diffMain>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :showBack="false">
|
<MainTemplate title="Kalender" :showBack="false">
|
||||||
<template #topBar>
|
<template #topBar>
|
||||||
<div class="flex flex-row items-center gap-4 pt-5 pb-3 px-7">
|
<div class="flex flex-row gap-2">
|
||||||
<h1 class="font-bold text-xl h-8">Kalender</h1>
|
|
||||||
<div class="grow"></div>
|
|
||||||
<LinkIcon class="text-gray-500 h-5 w-5 cursor-pointer" @click="openLinkModal" />
|
<LinkIcon class="text-gray-500 h-5 w-5 cursor-pointer" @click="openLinkModal" />
|
||||||
<RouterLink :to="{ name: 'public-calendar-explain' }">
|
<RouterLink :to="{ name: 'public-calendar-explain' }">
|
||||||
<InformationCircleIcon class="text-gray-500 h-5 w-5 cursor-pointer" />
|
<InformationCircleIcon class="text-gray-500 h-5 w-5 cursor-pointer" />
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<MainTemplate :showBack="false">
|
<MainTemplate title="Kalender-Erklärung - WebCal Kalendar einbinden" :showBack="false">
|
||||||
<template #headerInsert>
|
<template #headerInsert>
|
||||||
<RouterLink
|
<RouterLink
|
||||||
:to="{
|
:to="{
|
||||||
|
@ -10,11 +10,6 @@
|
||||||
zum Kalender
|
zum Kalender
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</template>
|
</template>
|
||||||
<template #topBar>
|
|
||||||
<div class="flex flex-row items-center gap-2 pt-5 pb-3 px-7">
|
|
||||||
<h1 class="font-bold text-xl h-fit">Kalender-Erklärung - WebCal Kalendar einbinden</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #main>
|
<template #main>
|
||||||
<div class="instruction">
|
<div class="instruction">
|
||||||
<h2>iOS: Webcal-Link einbinden</h2>
|
<h2>iOS: Webcal-Link einbinden</h2>
|
||||||
|
|
Loading…
Add table
Reference in a new issue