From 562f6ab1f27a9329295c5ee3f4b86049a5ecaf42 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Sun, 6 Oct 2024 11:38:07 +0200 Subject: [PATCH] precense --- src/main.css | 4 +- src/views/admin/protocol/ProtocolPrecense.vue | 129 +++++++++++++++++- 2 files changed, 126 insertions(+), 7 deletions(-) diff --git a/src/main.css b/src/main.css index 3d54f9b..7526df5 100644 --- a/src/main.css +++ b/src/main.css @@ -56,8 +56,8 @@ body { @apply w-full h-full overflow-hidden flex flex-col; } -button:not([headlessui]), -a[button]:not([headlessui]) { +button:not([headlessui]):not([id*="headlessui"]):not([class*="headlessui"]), +a[button]:not([headlessui]):not([id*="headlessui"]):not([class*="headlessui"]) { @apply relative box-border h-10 w-full flex justify-center py-2 px-4 text-sm font-medium rounded-md focus:outline-none focus:ring-0; } diff --git a/src/views/admin/protocol/ProtocolPrecense.vue b/src/views/admin/protocol/ProtocolPrecense.vue index 8bd9e6d..092fc93 100644 --- a/src/views/admin/protocol/ProtocolPrecense.vue +++ b/src/views/admin/protocol/ProtocolPrecense.vue @@ -2,6 +2,79 @@

↺ laden fehlgeschlagen

+
+ +
+ Anwesende suchen +
+ + + +
+ + + +
  • + Keine Auswahl +
  • +
    + + +
  • + + {{ member.firstname }} {{ member.lastname }} {{ member.nameaffix }} + + + +
  • +
    +
    +
    +
    +
    +
    +
    +

    Ausgewählte Anwesende

    +
    +
    +

    {{ member.lastname }}, {{ member.firstname }} {{ member.nameaffix ? `- ${member.nameaffix}` : "" }}

    + +
    +
    @@ -9,10 +82,20 @@ import { defineComponent } from "vue"; import { mapActions, mapState } from "pinia"; import Spinner from "@/components/Spinner.vue"; +import { + Combobox, + ComboboxLabel, + ComboboxInput, + ComboboxButton, + ComboboxOptions, + ComboboxOption, + TransitionRoot, +} from "@headlessui/vue"; +import { CheckIcon, ChevronUpDownIcon } from "@heroicons/vue/20/solid"; +import { TrashIcon } from "@heroicons/vue/24/outline"; import { useProtocolStore } from "@/stores/admin/protocol"; -import { QuillEditor } from "@vueup/vue-quill"; -import "@vueup/vue-quill/dist/vue-quill.snow.css"; -import { toolbarOptions } from "@/helpers/quillConfig"; +import { useMemberStore } from "@/stores/admin/member"; +import type { MemberViewModel } from "@/viewmodels/admin/member.models";