Enhance homepage with no account

This commit is contained in:
Bubka 2020-01-07 21:45:47 +01:00
parent 3f9752ec84
commit 94eb55dfe4
2 changed files with 13 additions and 8 deletions

View File

@ -19,11 +19,14 @@
</span>
</div>
</div>
<div class="container" v-else>
<figure class="image is-128x128">
<img src="https://bulma.io/images/placeholders/128x128.png">
</figure>
No account here! <router-link :to="{ name: 'create' }" class="is-link">create one</router-link>
<div class="container has-text-centered" v-else>
<p>
<img class="bg" src="storage/bg.png">
</p>
<p class="subtitle is-5">
No 2FA here!
</p>
<router-link :to="{ name: 'create' }" class="button is-medium is-link is-focused">Add one</router-link>
</div>
<modal v-model="ShowTwofaccountInModal">
<twofaccount-show
@ -35,7 +38,7 @@
</twofaccount-show>
</modal>
<footer class="has-background-black-ter">
<div class="columns is-gapless">
<div class="columns is-gapless" v-if="this.accounts.length > 0">
<div class="column has-text-centered">
<a class="button is-dark is-rounded" @click="editMode = true" v-if="!editMode">Manage</a>
<div class="field has-addons" v-if="editMode">

View File

@ -70,8 +70,6 @@ nav.level {
//display:none;
}
.input, .select select, .textarea {
background-color: hsl(0, 0%, 21%);
border-color: hsl(0, 0%, 29%);
@ -98,4 +96,8 @@ footer {
footer .field.has-addons {
justify-content: center;
}
.bg {
opacity: 0.05;
}