Remove sidebar for normal users and add logo to header bar

This commit is contained in:
Johannes Zellner
2025-03-23 10:37:33 +01:00
parent c4452c99ae
commit bb12da6777
8 changed files with 35 additions and 12 deletions

View File

@@ -184,12 +184,12 @@ onMounted(async () => {
<Transition name="pankow-animation-pop-up">
<div v-if="ready" style="display: flex; flex-direction: row; overflow: hidden; height: 100%;">
<Sidebar :profile="profile" :config="config"/>
<Sidebar v-if="profile.isAtLeastUserManager" :profile="profile" :config="config"/>
<div style="flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; height: 100%;">
<Headerbar :subscription="subscription" :profile="profile"/>
<Headerbar :config="config" :subscription="subscription" :profile="profile"/>
<div style="overflow: auto; flex-grow: 1;">
<div style="display: flex; justify-content: center; overflow: auto; flex-grow: 1; padding: 0 6px;">
<AppsView v-if="view === VIEWS.APPS" />
<AppConfigureView v-else-if="view === VIEWS.APP" />
<AppstoreView v-else-if="view === VIEWS.APPSTORE" />