1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <template>
- <div
- v-show="$store.state.interface.themeApplied"
- id="app-loaded"
- :style="bgStyle"
- >
- <div
- id="app_bg_wrapper"
- class="app-bg-wrapper"
- />
- <MobileNav v-if="layoutType === 'mobile'" />
- <DesktopNav
- v-else
- :class="navClasses"
- />
- <Notifications v-if="currentUser" />
- <div
- id="content"
- class="app-layout container"
- :class="classes"
- >
- <div class="underlay" />
- <div
- id="sidebar"
- class="column -scrollable"
- :class="{ '-show-scrollbar': showScrollbars }"
- >
- <user-panel />
- <template v-if="layoutType !== 'mobile'">
- <nav-panel />
- <instance-specific-panel v-if="showInstanceSpecificPanel" />
- <features-panel v-if="!currentUser && showFeaturesPanel" />
- <who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
- <div id="notifs-sidebar" />
- </template>
- </div>
- <main
- id="main-scroller"
- class="column main"
- :class="{ '-full-height': isChats || isListEdit }"
- >
- <div
- v-if="!currentUser"
- class="login-hint panel panel-default"
- >
- <router-link
- :to="{ name: 'login' }"
- class="panel-body"
- >
- {{ $t("login.hint") }}
- </router-link>
- </div>
- <router-view />
- </main>
- <div
- id="notifs-column"
- class="column -scrollable"
- :class="{ '-show-scrollbar': showScrollbars }"
- />
- </div>
- <MediaModal />
- <shout-panel
- v-if="currentUser && shout && !hideShoutbox"
- :floating="true"
- class="floating-shout mobile-hidden"
- :class="{ '-left': shoutboxPosition }"
- />
- <MobilePostStatusButton />
- <UserReportingModal />
- <PostStatusModal />
- <EditStatusModal v-if="editingAvailable" />
- <StatusHistoryModal v-if="editingAvailable" />
- <SettingsModal />
- <UpdateNotification />
- <GlobalNoticeList />
- </div>
- </template>
- <script src="./App.js"></script>
- <style lang="scss" src="./App.scss"></style>
|