Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m55s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m20s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m44s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m13s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m13s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m0s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 43s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m5s
Bleibendes Inertia-Layout (PortalFrame) mit festem Seitenkopf-Bereich; PageHeader teleportiert dorthin, AppLayout meldet Titel und Seitenvorlage (default/medium/narrow/app). Seiten ohne Kopf bekommen einen vom Rahmen. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
41 lines
1.7 KiB
Vue
41 lines
1.7 KiB
Vue
<script setup>
|
|
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';
|
|
|
|
// Ohne Portalrahmen: eigenes Layout bzw. Vollbild (lib/withFrame.js)
|
|
defineOptions({ frame: false });
|
|
|
|
defineProps({
|
|
status: { type: String, default: null },
|
|
});
|
|
|
|
const form = useForm({ email: '' });
|
|
</script>
|
|
|
|
<template>
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<Button type="submit" size="lg" class="h-10 w-full" :disabled="form.processing">
|
|
<LoaderCircle v-if="form.processing" class="animate-spin" />
|
|
Link senden
|
|
</Button>
|
|
|
|
<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>
|