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"
|
|
|
|
key="user-panel"
|
|
|
|
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"
|
|
|
|
/>
|
2018-03-31 18:14:36 +00:00
|
|
|
<div class="panel-footer">
|
2019-09-25 17:26:49 +00:00
|
|
|
<PostStatusForm />
|
2016-10-27 16:02:28 +00:00
|
|
|
</div>
|
|
|
|
</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;
|
|
|
|
}
|
|
|
|
</style>
|