15bac1e401
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
implements part of #178, other parts will come later Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com> Reviewed-on: AkkomaGang/pleroma-fe#186 Co-authored-by: sfr <sol@solfisher.com> Co-committed-by: sfr <sol@solfisher.com>
70 lines
1.8 KiB
Vue
70 lines
1.8 KiB
Vue
<template>
|
|
<div
|
|
id="app-loaded"
|
|
:style="bgStyle"
|
|
>
|
|
<div
|
|
id="app_bg_wrapper"
|
|
class="app-bg-wrapper"
|
|
/>
|
|
<MobileNav v-if="layoutType === 'mobile'" />
|
|
<DesktopNav v-else />
|
|
<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>
|
|
<div
|
|
id="main-scroller"
|
|
class="column main"
|
|
:class="{ '-full-height': false }"
|
|
>
|
|
<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 />
|
|
</div>
|
|
<div
|
|
id="notifs-column"
|
|
class="column -scrollable"
|
|
:class="{ '-show-scrollbar': showScrollbars }"
|
|
/>
|
|
</div>
|
|
<media-modal />
|
|
<MobilePostStatusButton />
|
|
<UserReportingModal />
|
|
<PostStatusModal />
|
|
<EditStatusModal v-if="editingAvailable" />
|
|
<StatusHistoryModal v-if="editingAvailable" />
|
|
<SettingsModal />
|
|
<ModModal />
|
|
<GlobalNoticeList />
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./App.js"></script>
|
|
<style lang="scss" src="./App.scss"></style>
|