use new format
This commit is contained in:
@@ -1,30 +1,42 @@
|
|||||||
<template>
|
<template>
|
||||||
<SMPage>
|
<SMContainer :center="true">
|
||||||
<SMRow>
|
<template v-if="!formDone">
|
||||||
<SMFormCard class="mt-5" narrow>
|
<SMForm v-model="form" @submit="handleSubmit">
|
||||||
<template v-if="!formDone">
|
<SMFormCard class="mt-5" narrow>
|
||||||
<h1>Email Verify</h1>
|
<template #header>
|
||||||
<p>
|
<h1>Email Verify</h1>
|
||||||
Enter your verification code below. If you have not yet
|
</template>
|
||||||
received one,
|
<template #body>
|
||||||
<router-link to="/resend-verify-email"
|
<p>
|
||||||
>request a new code</router-link
|
Enter your verification code below. If you have not
|
||||||
>.
|
yet received one,
|
||||||
</p>
|
<router-link to="/resend-verify-email"
|
||||||
<SMForm v-model="form" @submit="handleSubmit">
|
>request a new code</router-link
|
||||||
|
>.
|
||||||
|
</p>
|
||||||
<SMInput control="code" />
|
<SMInput control="code" />
|
||||||
|
</template>
|
||||||
|
<template #footer>
|
||||||
<SMButtonRow>
|
<SMButtonRow>
|
||||||
<template #right>
|
<template #right>
|
||||||
<SMButton type="submit" label="Verify Code" />
|
<SMButton type="submit" label="Verify Code" />
|
||||||
</template>
|
</template>
|
||||||
</SMButtonRow>
|
</SMButtonRow>
|
||||||
</SMForm>
|
</template>
|
||||||
</template>
|
</SMFormCard>
|
||||||
<template v-else>
|
</SMForm>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<SMFormCard class="mt-5" narrow>
|
||||||
|
<template #header>
|
||||||
<h1>Email Verified!</h1>
|
<h1>Email Verified!</h1>
|
||||||
|
</template>
|
||||||
|
<template #body>
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
Hurrah, Your email has been verified!
|
Hurrah, Your email has been verified!
|
||||||
</p>
|
</p>
|
||||||
|
</template>
|
||||||
|
<template #footer>
|
||||||
<SMButtonRow>
|
<SMButtonRow>
|
||||||
<SMButton
|
<SMButton
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -34,8 +46,8 @@
|
|||||||
</SMButtonRow>
|
</SMButtonRow>
|
||||||
</template>
|
</template>
|
||||||
</SMFormCard>
|
</SMFormCard>
|
||||||
</SMRow>
|
</template>
|
||||||
</SMPage>
|
</SMContainer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,36 +1,49 @@
|
|||||||
<template>
|
<template>
|
||||||
<SMPage>
|
<SMContainer :center="true">
|
||||||
<SMRow>
|
<template v-if="!formDone">
|
||||||
<SMFormCard class="mt-5" narrow>
|
<SMForm v-model="form" @submit="handleSubmit">
|
||||||
<template v-if="!formDone">
|
<SMFormCard class="mt-5" narrow>
|
||||||
<h1>Resend Verify Email</h1>
|
<template #header>
|
||||||
<SMForm v-model="form" @submit="handleSubmit">
|
<h1>Resend Email</h1>
|
||||||
|
<p>
|
||||||
|
If you have not received your verification email
|
||||||
|
yet, we can send you another one.
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
<template #body>
|
||||||
<SMInput control="email" />
|
<SMInput control="email" />
|
||||||
|
</template>
|
||||||
|
<template #footer>
|
||||||
<SMButtonRow>
|
<SMButtonRow>
|
||||||
<template #left>
|
<template #left>
|
||||||
<div class="small">
|
<div class="small">
|
||||||
<span class="pr-1">Stuck?</span
|
<span>Stuck?</span
|
||||||
><router-link to="/contact"
|
><router-link to="/contact"
|
||||||
>Contact Us</router-link
|
>Contact Us</router-link
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<SMButton
|
<SMButton type="submit" label="Send" />
|
||||||
type="submit"
|
|
||||||
label="Send"
|
|
||||||
icon="arrow-forward-outline" />
|
|
||||||
</template>
|
</template>
|
||||||
</SMButtonRow>
|
</SMButtonRow>
|
||||||
</SMForm>
|
</template>
|
||||||
</template>
|
</SMFormCard>
|
||||||
<template v-else>
|
</SMForm>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<SMFormCard>
|
||||||
|
<template #header>
|
||||||
<h1>Email Sent!</h1>
|
<h1>Email Sent!</h1>
|
||||||
|
</template>
|
||||||
|
<template #body>
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
If that email address has been registered, and you still
|
If that email address has been registered, and you still
|
||||||
need to verify your email, you will receive an email
|
need to verify your email, you will receive an email
|
||||||
with a new verify code.
|
with a new verify code.
|
||||||
</p>
|
</p></template
|
||||||
|
>
|
||||||
|
<template #footer>
|
||||||
<SMButtonRow>
|
<SMButtonRow>
|
||||||
<template #right>
|
<template #right>
|
||||||
<SMButton :to="{ name: 'home' }" label="Home" />
|
<SMButton :to="{ name: 'home' }" label="Home" />
|
||||||
@@ -38,8 +51,8 @@
|
|||||||
</SMButtonRow>
|
</SMButtonRow>
|
||||||
</template>
|
</template>
|
||||||
</SMFormCard>
|
</SMFormCard>
|
||||||
</SMRow>
|
</template>
|
||||||
</SMPage>
|
</SMContainer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
Reference in New Issue
Block a user