pleroma-fe/src/App.vue

81 行
2.1 KiB
Vue
Raw 通常表示 履歴

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