mirror of
https://github.com/romancm/gamebrary
synced 2024-11-15 07:57:19 +00:00
settings page clean up
This commit is contained in:
parent
82e0a920f8
commit
1b9d73ae74
1 changed files with 15 additions and 53 deletions
|
@ -1,41 +1,6 @@
|
||||||
<template lang="html">
|
<template lang="html">
|
||||||
<b-container>
|
<b-container>
|
||||||
<b-row>
|
|
||||||
<b-col cols="12" sm="6" class="mt-4 mt-sm-0 mb-3">
|
|
||||||
<b-list-group>
|
|
||||||
<b-list-group-item :variant="darkTheme ? 'info' : null">
|
|
||||||
<strong>{{ user.displayName }}</strong>
|
|
||||||
<p class="text-muted m-0">{{ user.email }}</p>
|
|
||||||
</b-list-group-item>
|
|
||||||
|
|
||||||
<b-list-group-item :variant="darkTheme ? 'dark' : null">
|
|
||||||
<strong>Date Joined</strong>
|
|
||||||
<p class="text-muted m-0">{{ formatDate(user.dateJoined) }}</p>
|
|
||||||
</b-list-group-item>
|
|
||||||
|
|
||||||
<b-list-group-item :variant="darkTheme ? 'info' : null">
|
|
||||||
<strong>Last login</strong>
|
|
||||||
<p class="text-muted m-0">{{ formatDate(user.lastLogin) }}</p>
|
|
||||||
</b-list-group-item>
|
|
||||||
|
|
||||||
<b-list-group-item :variant="darkTheme ? 'dark' : null">
|
|
||||||
<strong>Email Verified</strong>
|
|
||||||
<p class="text-muted m-0">{{ user.emailVerified ? 'Yes' : 'No' }}</p>
|
|
||||||
</b-list-group-item>
|
|
||||||
|
|
||||||
<b-list-group-item :variant="darkTheme ? 'info' : null">
|
|
||||||
<strong>ID</strong>
|
|
||||||
<p class="text-muted m-0 mb-2">{{ user.uid }}</p>
|
|
||||||
|
|
||||||
<b-alert show>You can safely share this id when reporting bugs</b-alert>
|
|
||||||
</b-list-group-item>
|
|
||||||
</b-list-group>
|
|
||||||
</b-col>
|
|
||||||
|
|
||||||
<b-col cols="12" sm="6">
|
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
|
||||||
<h3 class="m-0">Settings</h3>
|
<h3 class="m-0">Settings</h3>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="d-inline-flex flex-column align-items-start">
|
<div class="d-inline-flex flex-column align-items-start">
|
||||||
<languages />
|
<languages />
|
||||||
|
@ -54,8 +19,6 @@
|
||||||
<sign-out class="mb-2" />
|
<sign-out class="mb-2" />
|
||||||
<delete-account />
|
<delete-account />
|
||||||
</div>
|
</div>
|
||||||
</b-col>
|
|
||||||
</b-row>
|
|
||||||
</b-container>
|
</b-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -75,7 +38,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['settings', 'user']),
|
|
||||||
...mapGetters(['darkTheme']),
|
...mapGetters(['darkTheme']),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue