Neues Design: Tailwind + shadcn-vue statt Vuetify/Material 3
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 1m3s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 1m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 1m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m29s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m33s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m28s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m33s
CI / Build-Artefakte aktuell (pull_request) Failing after 52s
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 1m3s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 1m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 1m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m29s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m33s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m28s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m33s
CI / Build-Artefakte aktuell (pull_request) Failing after 52s
- Nüchterne, professionelle Optik: neutrale Flächen, Markenfarbe nur als Akzent, Inter-Schrift (lokal) - Zweizeiliger Header mit Suche, Hauptnavigation und Avatar-Menü - Startseite mit Begrüßungskarte, Schnellzugriffen und „Neu im Team“ - Personenverzeichnis mit Suche, Abteilungsfilter und Seitenaufteilung - Markenfarbe exakt übernommen, Abstufungen serverseitig in OKLCH (ColorPalette) – gemeinsam für Portal und Admin, keine Farbberechnung im Browser - Schnellzugriffe im Admin pflegbar - Filament-Avatare lokal statt über ui-avatars.com (DSGVO) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9c0f8de791
commit
5a3f1f34c7
141 changed files with 3873 additions and 974 deletions
|
|
@ -1,6 +1,10 @@
|
|||
<script setup>
|
||||
import { Head, Link, useForm } from '@inertiajs/vue3';
|
||||
import GuestLayout from '../../layouts/GuestLayout.vue';
|
||||
import { Link, useForm } from '@inertiajs/vue3';
|
||||
import { ArrowLeft, LoaderCircle } from '@lucide/vue';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import FormField from '@/components/FormField.vue';
|
||||
import GuestLayout from '@/layouts/GuestLayout.vue';
|
||||
|
||||
defineProps({
|
||||
status: { type: String, default: null },
|
||||
|
|
@ -10,31 +14,25 @@ const form = useForm({ email: '' });
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Head title="Passwort vergessen" />
|
||||
<GuestLayout title="Passwort vergessen" description="Wir senden Ihnen einen Link, mit dem Sie ein neues Passwort festlegen können.">
|
||||
<div v-if="status" class="mb-6 rounded-md border border-brand-200 bg-brand-soft px-4 py-3 text-sm text-brand-soft-foreground">
|
||||
{{ status }}
|
||||
</div>
|
||||
|
||||
<GuestLayout title="Passwort vergessen">
|
||||
<p class="text-body-medium text-medium-emphasis mb-6">
|
||||
Geben Sie Ihre E-Mail-Adresse ein. Wir senden Ihnen einen Link, mit dem Sie ein neues Passwort festlegen können.
|
||||
</p>
|
||||
<form class="grid gap-5" @submit.prevent="form.post('/forgot-password')">
|
||||
<FormField id="email" label="E-Mail-Adresse" :error="form.errors.email">
|
||||
<Input id="email" v-model="form.email" type="email" autocomplete="username" autofocus class="h-10" />
|
||||
</FormField>
|
||||
|
||||
<v-alert v-if="status" type="success" variant="tonal" class="mb-6">{{ status }}</v-alert>
|
||||
<Button type="submit" size="lg" class="h-10 w-full" :disabled="form.processing">
|
||||
<LoaderCircle v-if="form.processing" class="animate-spin" />
|
||||
Link senden
|
||||
</Button>
|
||||
|
||||
<v-form @submit.prevent="form.post('/forgot-password')">
|
||||
<v-text-field
|
||||
v-model="form.email"
|
||||
label="E-Mail-Adresse"
|
||||
type="email"
|
||||
autocomplete="username"
|
||||
autofocus
|
||||
:error-messages="form.errors.email"
|
||||
class="mb-4"
|
||||
/>
|
||||
|
||||
<v-btn type="submit" size="large" block :loading="form.processing">Link senden</v-btn>
|
||||
|
||||
<div class="text-center mt-6">
|
||||
<Link href="/login" class="text-primary text-body-medium">Zurück zur Anmeldung</Link>
|
||||
</div>
|
||||
</v-form>
|
||||
<Link href="/login" class="inline-flex items-center justify-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground">
|
||||
<ArrowLeft class="size-4" />
|
||||
Zurück zur Anmeldung
|
||||
</Link>
|
||||
</form>
|
||||
</GuestLayout>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { Head, Link, useForm } from '@inertiajs/vue3';
|
||||
import { mdiEyeOffOutline, mdiEyeOutline } from '@mdi/js';
|
||||
import GuestLayout from '../../layouts/GuestLayout.vue';
|
||||
import { Link, useForm } from '@inertiajs/vue3';
|
||||
import { Eye, EyeOff, LoaderCircle } from '@lucide/vue';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Checkbox } from '@/components/ui/checkbox';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import FormField from '@/components/FormField.vue';
|
||||
import GuestLayout from '@/layouts/GuestLayout.vue';
|
||||
|
||||
defineProps({
|
||||
canResetPassword: { type: Boolean, default: false },
|
||||
|
|
@ -25,39 +30,52 @@ function submit() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Head title="Anmelden" />
|
||||
<GuestLayout title="Anmelden" description="Melden Sie sich mit Ihrer dienstlichen E-Mail-Adresse an.">
|
||||
<div v-if="status" class="mb-6 rounded-md border border-brand-200 bg-brand-soft px-4 py-3 text-sm text-brand-soft-foreground">
|
||||
{{ status }}
|
||||
</div>
|
||||
|
||||
<GuestLayout title="Anmelden">
|
||||
<v-alert v-if="status" type="success" variant="tonal" class="mb-6">{{ status }}</v-alert>
|
||||
<form class="grid gap-5" @submit.prevent="submit">
|
||||
<FormField id="email" label="E-Mail-Adresse" :error="form.errors.email">
|
||||
<Input id="email" v-model="form.email" type="email" autocomplete="username" autofocus class="h-10" :aria-invalid="!!form.errors.email" />
|
||||
</FormField>
|
||||
|
||||
<v-form @submit.prevent="submit">
|
||||
<v-text-field
|
||||
v-model="form.email"
|
||||
label="E-Mail-Adresse"
|
||||
type="email"
|
||||
autocomplete="username"
|
||||
autofocus
|
||||
:error-messages="form.errors.email"
|
||||
class="mb-2"
|
||||
/>
|
||||
<v-text-field
|
||||
v-model="form.password"
|
||||
label="Passwort"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
autocomplete="current-password"
|
||||
:append-inner-icon="showPassword ? mdiEyeOffOutline : mdiEyeOutline"
|
||||
:error-messages="form.errors.password"
|
||||
@click:append-inner="showPassword = !showPassword"
|
||||
/>
|
||||
<FormField id="password" label="Passwort" :error="form.errors.password">
|
||||
<div class="relative">
|
||||
<Input
|
||||
id="password"
|
||||
v-model="form.password"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
autocomplete="current-password"
|
||||
class="h-10 pr-10"
|
||||
:aria-invalid="!!form.errors.password"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
class="absolute inset-y-0 right-0 grid w-10 place-items-center text-muted-foreground hover:text-foreground"
|
||||
:aria-label="showPassword ? 'Passwort verbergen' : 'Passwort anzeigen'"
|
||||
@click="showPassword = !showPassword"
|
||||
>
|
||||
<EyeOff v-if="showPassword" class="size-4" />
|
||||
<Eye v-else class="size-4" />
|
||||
</button>
|
||||
</div>
|
||||
</FormField>
|
||||
|
||||
<div class="d-flex align-center justify-space-between flex-wrap mb-6">
|
||||
<v-checkbox v-model="form.remember" label="Angemeldet bleiben" hide-details density="compact" />
|
||||
<Link v-if="canResetPassword" href="/forgot-password" class="text-primary text-body-medium">
|
||||
<div class="flex items-center justify-between">
|
||||
<Label class="flex items-center gap-2 text-sm font-normal">
|
||||
<Checkbox v-model="form.remember" />
|
||||
Angemeldet bleiben
|
||||
</Label>
|
||||
<Link v-if="canResetPassword" href="/forgot-password" class="text-sm font-medium text-brand-text hover:underline">
|
||||
Passwort vergessen?
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<v-btn type="submit" size="large" block :loading="form.processing">Anmelden</v-btn>
|
||||
</v-form>
|
||||
<Button type="submit" size="lg" class="mt-2 h-10 w-full" :disabled="form.processing">
|
||||
<LoaderCircle v-if="form.processing" class="animate-spin" />
|
||||
Anmelden
|
||||
</Button>
|
||||
</form>
|
||||
</GuestLayout>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
<script setup>
|
||||
import { Head, useForm } from '@inertiajs/vue3';
|
||||
import GuestLayout from '../../layouts/GuestLayout.vue';
|
||||
import { useForm } from '@inertiajs/vue3';
|
||||
import { LoaderCircle } from '@lucide/vue';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import FormField from '@/components/FormField.vue';
|
||||
import GuestLayout from '@/layouts/GuestLayout.vue';
|
||||
|
||||
const props = defineProps({
|
||||
email: { type: String, default: '' },
|
||||
|
|
@ -22,15 +26,22 @@ function submit() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Head title="Neues Passwort" />
|
||||
<GuestLayout title="Neues Passwort festlegen" description="Mindestens 10 Zeichen, mit Buchstaben und Ziffern.">
|
||||
<form class="grid gap-5" @submit.prevent="submit">
|
||||
<FormField id="email" label="E-Mail-Adresse" :error="form.errors.email">
|
||||
<Input id="email" v-model="form.email" type="email" autocomplete="username" class="h-10" />
|
||||
</FormField>
|
||||
<FormField id="password" label="Neues Passwort" :error="form.errors.password">
|
||||
<Input id="password" v-model="form.password" type="password" autocomplete="new-password" autofocus class="h-10" />
|
||||
</FormField>
|
||||
<FormField id="password_confirmation" label="Passwort wiederholen">
|
||||
<Input id="password_confirmation" v-model="form.password_confirmation" type="password" autocomplete="new-password" class="h-10" />
|
||||
</FormField>
|
||||
|
||||
<GuestLayout title="Neues Passwort festlegen">
|
||||
<v-form @submit.prevent="submit">
|
||||
<v-text-field v-model="form.email" label="E-Mail-Adresse" type="email" autocomplete="username" :error-messages="form.errors.email" class="mb-2" />
|
||||
<v-text-field v-model="form.password" label="Neues Passwort" type="password" autocomplete="new-password" autofocus :error-messages="form.errors.password" class="mb-2" />
|
||||
<v-text-field v-model="form.password_confirmation" label="Passwort wiederholen" type="password" autocomplete="new-password" class="mb-4" />
|
||||
|
||||
<v-btn type="submit" size="large" block :loading="form.processing">Passwort speichern</v-btn>
|
||||
</v-form>
|
||||
<Button type="submit" size="lg" class="h-10 w-full" :disabled="form.processing">
|
||||
<LoaderCircle v-if="form.processing" class="animate-spin" />
|
||||
Passwort speichern
|
||||
</Button>
|
||||
</form>
|
||||
</GuestLayout>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue