Loheide-eu-mitarbeiterplatt.../resources/views/filament/impersonation-banner.blade.php
Friederich Loheide 546c94db1c
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 4m47s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 4m40s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m0s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m51s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 7m1s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m57s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 5m45s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m36s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m21s
Profil zeigt geschriebene Beiträge, Als Person anmelden (0.27.1)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 10:03:27 +00:00

8 lines
753 B
PHP

@if (app(\App\Support\Impersonation::class)->active())
<form method="POST" action="{{ route('impersonation.stop') }}"
style="position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1rem; border-radius: 9999px; background: #fbbf24; color: #451a03; font-size: 13px; font-weight: 500; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .15);">
@csrf
<span>Angemeldet als <strong>{{ auth()->user()?->name }}</strong></span>
<button type="submit" style="border-radius: 9999px; background: #451a03; color: #fffbeb; padding: .25rem .75rem; font-size: 12px; font-weight: 600;">Zurück zu meinem Konto</button>
</form>
@endif