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