pleroma-fe/src/components/user_panel/user_panel.vue

24 lines
606 B
Vue
Raw Normal View History

2016-10-28 03:02:28 +11:00
<template>
<div class="user-panel">
<div v-if='user' class="panel panel-default" style="overflow: visible;">
<user-card-content :user="user" :switcher="false" :hideBio="true"></user-card-content>
<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>
<style lang="scss">
.user-panel {
.profile-panel-background .panel-heading {
background: transparent;
flex-direction: column;
align-items: stretch;
}
}
</style>