setup wizard debug

This commit is contained in:
Čarodej
2022-03-13 18:30:03 +01:00
parent 2bba6dc051
commit 5e48af22a2
100 changed files with 308 additions and 300 deletions

View File

@@ -21,7 +21,7 @@
>
<input
class="dark:placeholder:text-gray-600 focus-border-theme w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 font-bold dark:bg-2x-dark-foreground"
:class="{ 'border-red': errors[0] }"
:class="{ '!border-rose-600': errors[0] }"
v-model="loginEmail"
:placeholder="$t('page_login.placeholder_email')"
type="email"
@@ -82,8 +82,9 @@
v-model="loginPassword"
:placeholder="$t('page_sign_in.placeholder_password')"
type="password"
ref="inputPassword"
class="dark:placeholder:text-gray-600 focus-border-theme h-full w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 font-bold dark:bg-2x-dark-foreground"
:class="{ 'border-red': errors[0] }"
:class="{ '!border-rose-600': errors[0] }"
/>
<span class="text-left text-xs text-red-600" v-if="errors[0]">{{ errors[0] }}</span>
</ValidationProvider>
@@ -160,7 +161,7 @@
type="text"
maxlength="6"
class="dark:placeholder:text-gray-600 focus-border-theme h-full w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 text-center font-bold dark:bg-2x-dark-foreground md:w-80"
:class="{ 'border-red': errors[0] }"
:class="{ '!border-rose-600': errors[0] }"
/>
<span class="mt-2 block text-center text-xs text-red-600" v-if="errors[0]">{{ errors[0] }}</span>
</ValidationProvider>
@@ -209,7 +210,7 @@
type="text"
maxlength="21"
class="dark:placeholder:text-gray-600 focus-border-theme h-full w-full appearance-none rounded-lg border border-transparent bg-light-background px-5 py-3.5 text-center font-bold dark:bg-2x-dark-foreground md:w-80"
:class="{ 'border-red': errors[0] }"
:class="{ '!border-rose-600': errors[0] }"
/>
<span class="mt-2 block text-center text-xs text-red-600" v-if="errors[0]">{{ errors[0] }}</span>
</ValidationProvider>
@@ -309,6 +310,10 @@ export default {
} else {
// Show sign in password page
this.goToAuthPage('sign-in')
this.$nextTick(() => {
this.$refs.inputPassword.focus()
})
}
})
.catch((error) => {