use correct components

This commit is contained in:
2023-03-05 16:58:46 +10:00
parent dca56831af
commit e032fb666f
4 changed files with 24 additions and 24 deletions

View File

@@ -4,16 +4,16 @@
<SMDialog class="mt-5" narrow>
<template v-if="!formDone">
<h1>Email Verify</h1>
<p>
Enter your verification code below. If you have not yet
received one,
<router-link to="/resend-verify-email"
>request a new code</router-link
>.
</p>
<SMForm v-model="form" @submit="handleSubmit">
<SMInput control="code" />
<SMFormFooter>
<template #left>
<div class="small">
<router-link to="/resend-verify-email"
>Resend Code</router-link
>
</div>
</template>
<template #right>
<SMButton
type="submit"
@@ -28,11 +28,11 @@
<p class="text-center">
Hurrah, Your email has been verified!
</p>
<SMRow class="pb-2">
<SMColumn class="justify-content-center">
<SMFormFooter>
<template #right>
<SMButton :to="{ name: 'login' }" label="Login" />
</SMColumn>
</SMRow>
</template>
</SMFormFooter>
</template>
</SMDialog>
</SMRow>

View File

@@ -58,11 +58,11 @@
An email has been sent to you to confirm your details
and to finish registering your account.
</p>
<SMRow class="pb-2">
<SMColumn class="justify-content-center">
<SMFormFooter>
<template #right>
<SMButton :to="{ name: 'home' }" label="Home" />
</SMColumn>
</SMRow>
</template>
</SMFormFooter>
</template>
</SMDialog>
</template>

View File

@@ -1,7 +1,7 @@
<template>
<SMPage no-breadcrumbs background="/img/background.jpg">
<SMRow>
<SMDialog narrow>
<SMDialog class="mt-5" narrow>
<template v-if="!formDone">
<h1>Resend Verify Email</h1>
<SMForm v-model="form" @submit="handleSubmit">
@@ -31,11 +31,11 @@
to verify your email, you will receive an email with a
new verify code.
</p>
<SMRow class="pb-2">
<SMColumn class="justify-content-center">
<SMFormFooter>
<template #right>
<SMButton :to="{ name: 'home' }" label="Home" />
</SMColumn>
</SMRow>
</template>
</SMFormFooter>
</template>
</SMDialog>
</SMRow>

View File

@@ -30,11 +30,11 @@
<p class="text-center">
Hurrah, Your password has been changed!
</p>
<SMRow class="pb-2">
<SMColumn class="justify-content-center">
<SMFormFooter>
<template #right>
<SMButton :to="{ name: 'login' }" label="Login" />
</SMColumn>
</SMRow>
</template>
</SMFormFooter>
</template>
</SMDialog>
</SMRow>