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