mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Enhance homepage with no account
This commit is contained in:
parent
3f9752ec84
commit
94eb55dfe4
@ -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">
|
||||
|
6
resources/sass/app.scss
vendored
6
resources/sass/app.scss
vendored
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user