2016-11-08 04:03:36 +11:00
|
|
|
<template>
|
2019-07-05 17:17:44 +10:00
|
|
|
<div
|
|
|
|
id="app"
|
2020-12-17 03:25:07 +11:00
|
|
|
:style="bgStyle"
|
2019-07-05 17:17:44 +10:00
|
|
|
>
|
|
|
|
<div
|
2019-07-20 02:36:07 +10:00
|
|
|
id="app_bg_wrapper"
|
2019-07-05 17:17:44 +10:00
|
|
|
class="app-bg-wrapper"
|
|
|
|
/>
|
2019-03-13 08:50:54 +11:00
|
|
|
<MobileNav v-if="isMobileLayout" />
|
2020-10-30 06:13:31 +11:00
|
|
|
<DesktopNav v-else />
|
2020-05-07 23:10:53 +10:00
|
|
|
<div class="app-bg-wrapper app-container-wrapper" />
|
2019-07-05 17:17:44 +10:00
|
|
|
<div
|
|
|
|
id="content"
|
2020-01-29 08:45:14 +11:00
|
|
|
class="container underlay"
|
2019-07-05 17:17:44 +10:00
|
|
|
>
|
2020-05-13 04:59:52 +10:00
|
|
|
<div
|
|
|
|
class="sidebar-flexer mobile-hidden"
|
|
|
|
:style="sidebarAlign"
|
|
|
|
>
|
2017-11-13 21:00:08 +11:00
|
|
|
<div class="sidebar-bounds">
|
|
|
|
<div class="sidebar-scroller">
|
|
|
|
<div class="sidebar">
|
2019-07-05 17:17:44 +10:00
|
|
|
<user-panel />
|
2019-05-06 13:00:45 +10:00
|
|
|
<div v-if="!isMobileLayout">
|
2019-07-05 17:17:44 +10:00
|
|
|
<nav-panel />
|
|
|
|
<instance-specific-panel v-if="showInstanceSpecificPanel" />
|
|
|
|
<features-panel v-if="!currentUser && showFeaturesPanel" />
|
|
|
|
<who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
|
|
|
|
<notifications v-if="currentUser" />
|
2019-05-06 13:00:45 +10:00
|
|
|
</div>
|
2017-11-13 21:00:08 +11:00
|
|
|
</div>
|
2017-04-13 23:17:57 +10:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-03 00:33:03 +11:00
|
|
|
</div>
|
2018-12-29 06:39:54 +11:00
|
|
|
<div class="main">
|
2019-07-05 17:17:44 +10:00
|
|
|
<div
|
|
|
|
v-if="!currentUser"
|
|
|
|
class="login-hint panel panel-default"
|
|
|
|
>
|
|
|
|
<router-link
|
|
|
|
:to="{ name: 'login' }"
|
|
|
|
class="panel-body"
|
|
|
|
>
|
2019-02-07 03:53:51 +11:00
|
|
|
{{ $t("login.hint") }}
|
|
|
|
</router-link>
|
2019-02-06 21:01:32 +11:00
|
|
|
</div>
|
2020-06-22 00:13:29 +10:00
|
|
|
<router-view />
|
2016-12-03 00:33:03 +11:00
|
|
|
</div>
|
2019-07-05 17:17:44 +10:00
|
|
|
<media-modal />
|
2016-11-08 04:03:36 +11:00
|
|
|
</div>
|
2019-07-05 17:17:44 +10:00
|
|
|
<chat-panel
|
|
|
|
v-if="currentUser && chat"
|
|
|
|
:floating="true"
|
|
|
|
class="floating-chat mobile-hidden"
|
|
|
|
/>
|
2019-09-20 03:59:34 +10:00
|
|
|
<MobilePostStatusButton />
|
2019-03-19 19:53:11 +11:00
|
|
|
<UserReportingModal />
|
2019-09-20 03:27:37 +10:00
|
|
|
<PostStatusModal />
|
2020-05-04 00:36:12 +10:00
|
|
|
<SettingsModal />
|
2019-05-21 06:21:53 +10:00
|
|
|
<portal-target name="modal" />
|
2020-07-02 17:40:41 +10:00
|
|
|
<GlobalNoticeList />
|
2016-11-08 04:03:36 +11:00
|
|
|
</div>
|
|
|
|
</template>
|
2016-10-27 01:46:32 +11:00
|
|
|
|
2016-10-27 04:03:55 +11:00
|
|
|
<script src="./App.js"></script>
|
|
|
|
<style lang="scss" src="./App.scss"></style>
|