UI: „Eingeloggt als"-Banner ganz nach oben (über die Topbar)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
d6370724a0
commit
4281989935
@ -71,6 +71,11 @@ async function stopImpersonation() {
|
||||
|
||||
<template>
|
||||
<div class="shell">
|
||||
<div v-if="auth.isImpersonating" class="imp-banner">
|
||||
<span>Eingeloggt als <strong>{{ auth.actingAs?.name }}</strong> ({{ auth.actingAs?.email }})</span>
|
||||
<button class="btn btn-sm" @click="stopImpersonation">Zurück zur eigenen Ebene</button>
|
||||
</div>
|
||||
|
||||
<header class="topbar">
|
||||
<div class="topbar__brand">
|
||||
<TenantBrand size="1.2rem" />
|
||||
@ -99,11 +104,6 @@ async function stopImpersonation() {
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div v-if="auth.isImpersonating" class="imp-banner">
|
||||
<span>Eingeloggt als <strong>{{ auth.actingAs?.name }}</strong> ({{ auth.actingAs?.email }})</span>
|
||||
<button class="btn btn-sm" @click="stopImpersonation">Zurück zur eigenen Ebene</button>
|
||||
</div>
|
||||
|
||||
<div class="body">
|
||||
<aside v-if="leftNav.length" class="sidebar">
|
||||
<div class="sidebar__label">Firma</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user