mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Start with verify code component
This commit is contained in:
parent
edd6a3f0c3
commit
0da7b906bd
@ -1,9 +1,29 @@
|
|||||||
<template>
|
<template>
|
||||||
<ds-card class="verify-code">
|
<ds-card class="verify-code">
|
||||||
<ds-space margin="large">
|
<ds-space margin="large">
|
||||||
<h1>
|
<ds-form v-model="formData" :schema="formSchema" @submit="handleSubmit">
|
||||||
|
<ds-input
|
||||||
|
:placeholder="$t('verify-code.form.input')"
|
||||||
|
model="token"
|
||||||
|
name="token"
|
||||||
|
icon="question-circle"
|
||||||
|
/>
|
||||||
|
<ds-space margin-botton="large">
|
||||||
|
<ds-text>
|
||||||
{{ $t('verify-code.form.description') }}
|
{{ $t('verify-code.form.description') }}
|
||||||
</h1>
|
</ds-text>
|
||||||
|
</ds-space>
|
||||||
|
<ds-button
|
||||||
|
:disabled="disabled"
|
||||||
|
:loading="$apollo.loading"
|
||||||
|
primary
|
||||||
|
fullwidth
|
||||||
|
name="submit"
|
||||||
|
type="submit"
|
||||||
|
>
|
||||||
|
{{ $t('verify-code.form.submit') }}
|
||||||
|
</ds-button>
|
||||||
|
</ds-form>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-card>
|
</ds-card>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -24,7 +24,8 @@
|
|||||||
},
|
},
|
||||||
"verify-code": {
|
"verify-code": {
|
||||||
"form": {
|
"form": {
|
||||||
"description": "Öffne Deine E-Mail Postfach und gib den Code ein, den wir geschickt haben."
|
"description": "Öffne Deine E-Mail Postfach und gib den Code ein, den wir geschickt haben.",
|
||||||
|
"submit": "Sicherheitscode überprüfen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
|
|||||||
@ -24,7 +24,9 @@
|
|||||||
},
|
},
|
||||||
"verify-code": {
|
"verify-code": {
|
||||||
"form": {
|
"form": {
|
||||||
"description": "Open your inbox and enter the code that we've sent to you."
|
"input": "Enter your code",
|
||||||
|
"description": "Open your inbox and enter the code that we've sent to you.",
|
||||||
|
"submit": "Check security code"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user