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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user