pleroma-fe/src/App.vue

64 行
1.7 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 />
2019-07-05 16:17:44 +09:00
<div
id="content"
2022-04-04 15:42:52 +09:00
class="app-layout container"
:class="[{ '-reverse': reverseLayout }, '-' + layoutType]"
2019-07-05 16:17:44 +09:00
>
2022-04-04 15:42:52 +09:00
<div class="underlay"/>
<div
id="sidebar"
2022-04-04 15:42:52 +09:00
class="column -scrollable -mini mobile-hidden"
>
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" />
<notifications v-if="currentUser" />
</template>
2016-12-02 22:33:03 +09:00
</div>
<div id="main-scroller" class="column main">
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 />
2016-12-02 22:33:03 +09:00
</div>
2019-07-05 16:17:44 +09:00
<media-modal />
2016-11-08 02:03:36 +09:00
</div>
<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"
: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 />
2020-05-03 23:36:12 +09:00
<SettingsModal />
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>