2016-10-27 16:02:28 +00:00
|
|
|
<template>
|
|
|
|
<div class="user-panel">
|
2019-07-05 07:17:44 +00:00
|
|
|
<div
|
|
|
|
v-if="signedIn"
|
2021-04-24 15:04:35 +00:00
|
|
|
key="user-panel-signed"
|
2019-07-05 07:17:44 +00:00
|
|
|
class="panel panel-default signed-in"
|
|
|
|
>
|
|
|
|
<UserCard
|
2020-04-23 11:44:55 +00:00
|
|
|
:user-id="user.id"
|
2019-07-05 07:17:44 +00:00
|
|
|
:hide-bio="true"
|
|
|
|
rounded="top"
|
|
|
|
/>
|
2020-06-28 13:40:39 +00:00
|
|
|
<PostStatusForm />
|
2016-10-27 16:02:28 +00:00
|
|
|
</div>
|
2019-07-05 07:17:44 +00:00
|
|
|
<auth-form
|
|
|
|
v-else
|
|
|
|
key="user-panel"
|
|
|
|
/>
|
2016-10-27 16:02:28 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./user_panel.js"></script>
|
2019-06-12 20:16:55 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.user-panel .signed-in {
|
|
|
|
overflow: visible;
|
2022-04-10 18:54:02 +00:00
|
|
|
z-index: 10;
|
2019-06-12 20:16:55 +00:00
|
|
|
}
|
|
|
|
</style>
|