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