akkoma-fe/src/App.vue

71 lines
1.8 KiB
Vue
Raw Normal View History

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"
2022-03-28 13:26:50 +02:00
:style="bgStyle"
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"
/>
<MobileNav v-if="layoutType === 'mobile'" />
<DesktopNav v-else />
<Notifications v-if="currentUser" />
2019-07-05 09:17:44 +02:00
<div
id="content"
2022-04-04 08:42:52 +02:00
class="app-layout container"
:class="classes"
2019-07-05 09:17:44 +02:00
>
2022-06-15 17:58:02 +02:00
<div class="underlay" />
<div
id="sidebar"
class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
>
2022-04-04 08:42:52 +02:00
<user-panel />
<template v-if="layoutType !== 'mobile'">
2022-04-04 08:42:52 +02: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 18:22:15 +02:00
<div id="notifs-sidebar" />
</template>
2016-12-02 14:33:03 +01:00
</div>
2022-06-15 17:58:02 +02:00
<div
id="main-scroller"
class="column main"
:class="{ '-full-height': false }"
2022-06-15 17:58:02 +02:00
>
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>
<router-view />
2016-12-02 14:33:03 +01:00
</div>
2022-06-15 17:58:02 +02:00
<div
id="notifs-column"
class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
/>
2016-11-07 18:03:36 +01:00
</div>
<media-modal />
2019-09-19 19:59:34 +02:00
<MobilePostStatusButton />
2019-03-19 09:53:11 +01:00
<UserReportingModal />
<PostStatusModal />
<EditStatusModal v-if="editingAvailable" />
<StatusHistoryModal v-if="editingAvailable" />
2020-05-03 16:36:12 +02:00
<SettingsModal />
<UpdateNotification />
<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>