2016-10-27 16:02:28 +00:00
|
|
|
<template>
|
|
|
|
<div class="user-panel">
|
2019-06-12 20:16:55 +00:00
|
|
|
|
|
|
|
<div v-if="signedIn" key="user-panel" class="panel panel-default signed-in">
|
2019-03-05 19:01:49 +00:00
|
|
|
<UserCard :user="user" :hideBio="true" rounded="top"/>
|
2018-03-31 18:14:36 +00:00
|
|
|
<div class="panel-footer">
|
2016-10-30 15:53:58 +00:00
|
|
|
<post-status-form v-if='user'></post-status-form>
|
2016-10-27 16:02:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-12 20:16:55 +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>
|