2016-11-07 09:03:36 -08:00
|
|
|
<template>
|
2019-07-05 00:17:44 -07:00
|
|
|
<div
|
2022-03-23 07:05:53 -07:00
|
|
|
id="app-loaded"
|
2022-03-28 04:26:50 -07:00
|
|
|
:style="bgStyle"
|
2019-07-05 00:17:44 -07:00
|
|
|
>
|
|
|
|
<div
|
2019-07-19 09:36:07 -07:00
|
|
|
id="app_bg_wrapper"
|
2019-07-05 00:17:44 -07:00
|
|
|
class="app-bg-wrapper"
|
|
|
|
/>
|
2022-04-05 08:38:05 -07:00
|
|
|
<MobileNav v-if="layoutType === 'mobile'" />
|
2022-04-04 09:41:09 -07:00
|
|
|
<DesktopNav v-else />
|
2022-04-05 09:22:15 -07:00
|
|
|
<notifications v-if="currentUser" />
|
2019-07-05 00:17:44 -07:00
|
|
|
<div
|
|
|
|
id="content"
|
2022-04-03 23:42:52 -07:00
|
|
|
class="app-layout container"
|
2022-04-10 10:18:54 -07:00
|
|
|
:class="classes"
|
2019-07-05 00:17:44 -07:00
|
|
|
>
|
2022-04-03 23:42:52 -07:00
|
|
|
<div class="underlay"/>
|
2022-04-07 05:11:23 -07:00
|
|
|
<div id="sidebar" class="column -scrollable" :class="{ '-show-scrollbar': showScrollbars }">
|
2022-04-03 23:42:52 -07:00
|
|
|
<user-panel />
|
2022-04-05 08:38:05 -07:00
|
|
|
<template v-if="layoutType !== 'mobile'">
|
2022-04-03 23:42:52 -07:00
|
|
|
<nav-panel />
|
|
|
|
<instance-specific-panel v-if="showInstanceSpecificPanel" />
|
|
|
|
<features-panel v-if="!currentUser && showFeaturesPanel" />
|
|
|
|
<who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
|
2022-04-05 09:22:15 -07:00
|
|
|
<div id="notifs-sidebar" />
|
2022-04-04 09:41:09 -07:00
|
|
|
</template>
|
2016-12-02 05:33:03 -08:00
|
|
|
</div>
|
2022-04-11 13:30:41 -07:00
|
|
|
<div id="main-scroller" class="column main" :class="{ '-full-height': isChats }">
|
2019-07-05 00:17:44 -07:00
|
|
|
<div
|
|
|
|
v-if="!currentUser"
|
|
|
|
class="login-hint panel panel-default"
|
|
|
|
>
|
|
|
|
<router-link
|
|
|
|
:to="{ name: 'login' }"
|
|
|
|
class="panel-body"
|
|
|
|
>
|
2019-02-06 08:53:51 -08:00
|
|
|
{{ $t("login.hint") }}
|
|
|
|
</router-link>
|
2019-02-06 02:01:32 -08:00
|
|
|
</div>
|
2020-06-21 07:13:29 -07:00
|
|
|
<router-view />
|
2016-12-02 05:33:03 -08:00
|
|
|
</div>
|
2022-04-07 05:11:23 -07:00
|
|
|
<div id="notifs-column" class="column -scrollable" :class="{ '-show-scrollbar': showScrollbars }"/>
|
2016-11-07 09:03:36 -08:00
|
|
|
</div>
|
2022-04-08 00:17:23 -07:00
|
|
|
<media-modal />
|
2020-08-03 16:44:35 -07:00
|
|
|
<shout-panel
|
2021-06-14 13:33:51 -07:00
|
|
|
v-if="currentUser && shout && !hideShoutbox"
|
2019-07-05 00:17:44 -07:00
|
|
|
:floating="true"
|
2020-08-03 16:44:35 -07:00
|
|
|
class="floating-shout mobile-hidden"
|
2022-04-26 08:12:45 -07:00
|
|
|
:class="{ '-left': shoutboxPosition }"
|
2019-07-05 00:17:44 -07:00
|
|
|
/>
|
2019-09-19 10:59:34 -07:00
|
|
|
<MobilePostStatusButton />
|
2019-03-19 01:53:11 -07:00
|
|
|
<UserReportingModal />
|
2019-09-19 10:27:37 -07:00
|
|
|
<PostStatusModal />
|
2022-06-07 20:31:48 -07:00
|
|
|
<EditStatusModal />
|
2020-05-03 07:36:12 -07:00
|
|
|
<SettingsModal />
|
2022-03-16 23:35:19 -07:00
|
|
|
<div id="modal" />
|
2020-07-02 00:40:41 -07:00
|
|
|
<GlobalNoticeList />
|
2016-11-07 09:03:36 -08:00
|
|
|
</div>
|
|
|
|
</template>
|
2016-10-26 07:46:32 -07:00
|
|
|
|
2016-10-26 10:03:55 -07:00
|
|
|
<script src="./App.js"></script>
|
|
|
|
<style lang="scss" src="./App.scss"></style>
|