add top logout button in user settings page

Place a dedicated Logout button at the top of the Benutzer-Einstellungen page and wire it to the existing logout flow. Keep button state in sync with login status like the header menu logout action.
This commit is contained in:
2026-03-16 14:52:30 +01:00
parent 1c6d9e8e98
commit d8d1b891fd
2 changed files with 10 additions and 0 deletions

View File

@@ -257,6 +257,9 @@
<section class="grid-layout" id="pageUser" hidden>
<article class="card stagger" id="userSettingsCard">
<div class="actions" style="justify-content: flex-end; margin-bottom: 0.6rem;">
<button id="settingsLogoutTopBtn" type="button" class="danger">Logout</button>
</div>
<h2>Benutzer-Einstellungen</h2>
<p class="muted">Hier findest du nur deine persoenlichen Einstellungen.</p>
<dl class="status-grid">