- TallStackUI 4 (MIT) statt Flux; Komponenten mit Präfix ts- (<x-ts-…>) - Layouts, Login-, Passwort-, 2FA- und Einstellungsseiten neu aufgebaut - Livewire-Skripte explizit in beiden Layouts, damit Alpine auch auf den Fortify-Seiten ohne Livewire-Komponente läuft - Dark Mode über tallstackui_darkTheme(), ohne Aufblitzen beim Laden - Registrierungs-View und ungenutzte Layout-Varianten entfernt - Test: Seiten laden keine Ressourcen von fremden Hosts (Vorgabe "alles lokal") Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<section class="w-full">
|
|
@include('partials.settings-heading')
|
|
|
|
<x-heading class="sr-only">{{ __('Profile settings') }}</x-heading>
|
|
|
|
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
|
|
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
|
|
<x-ts-input wire:model="name" :label="__('Name')" type="text" required autofocus autocomplete="name" />
|
|
|
|
<div>
|
|
<x-ts-input wire:model="email" :label="__('Email')" type="email" required autocomplete="email" />
|
|
|
|
@if ($this->hasUnverifiedEmail)
|
|
<p class="mt-4 text-sm text-gray-600 dark:text-dark-300">
|
|
{{ __('Your email address is unverified.') }}
|
|
|
|
<x-ts-link href="#" class="cursor-pointer text-sm" wire:click.prevent="resendVerificationNotification">
|
|
{{ __('Click here to re-send the verification email.') }}
|
|
</x-ts-link>
|
|
</p>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="flex items-center gap-4">
|
|
<x-ts-button submit loading="updateProfileInformation">{{ __('Save') }}</x-ts-button>
|
|
</div>
|
|
</form>
|
|
|
|
@if ($this->showDeleteUser)
|
|
<livewire:settings.delete-user-form />
|
|
@endif
|
|
</x-settings.layout>
|
|
</section>
|