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
|
|
|
|
:user="user"
|
|
|
|
:hide-bio="true"
|
|
|
|
rounded="top"
|
|
|
|
/>
|
2018-03-31 18:14:36 +00:00
|
|
|
<div class="panel-footer">
|
2019-09-08 12:51:17 +00:00
|
|
|
<PostStatusForm v-if="user" />
|
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>
|