2016-10-27 16:02:28 +00:00
|
|
|
<template>
|
|
|
|
<div class="user-panel">
|
2017-11-20 11:03:02 +00:00
|
|
|
<div v-if='user' class="panel panel-default" style="overflow: visible;">
|
2018-12-04 16:24:31 +00:00
|
|
|
<user-card-content :activatePanel="activatePanel" :user="user" :switcher="false" :hideBio="true"></user-card-content>
|
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>
|
|
|
|
<login-form v-if='!user'></login-form>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./user_panel.js"></script>
|
2018-03-31 18:14:36 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
2018-04-01 19:07:25 +00:00
|
|
|
.user-panel {
|
2018-09-03 19:23:53 +00:00
|
|
|
.profile-panel-background .panel-heading {
|
|
|
|
background: transparent;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
2018-04-01 19:07:25 +00:00
|
|
|
}
|
2018-03-31 18:14:36 +00:00
|
|
|
</style>
|