minor
This commit is contained in:
@@ -1,39 +1,40 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
v-row.mt-5(align='center' justify='center')
|
v-container
|
||||||
v-col(cols='12' md="6" lg="5" xl="4")
|
v-row.mt-5(align='center' justify='center')
|
||||||
v-form(v-model='valid' ref='form' lazy-validation @submit.prevent='submit')
|
v-col(cols='12' md="6" lg="5" xl="4")
|
||||||
v-card
|
v-form(v-model='valid' ref='form' lazy-validation @submit.prevent='submit')
|
||||||
v-card-title {{$t('common.login')}}
|
v-card
|
||||||
v-card-subtitle(v-text="$t('login.description')")
|
v-card-title {{$t('common.login')}}
|
||||||
|
v-card-subtitle(v-text="$t('login.description')")
|
||||||
|
|
||||||
v-card-text
|
v-card-text
|
||||||
v-text-field(v-model='email' type='email'
|
v-text-field(v-model='email' type='email'
|
||||||
validate-on-blur
|
validate-on-blur
|
||||||
:rules='$validators.email' autofocus
|
:rules='$validators.email' autofocus
|
||||||
:placeholder='$t("common.email")'
|
:placeholder='$t("common.email")'
|
||||||
ref='email')
|
ref='email')
|
||||||
|
|
||||||
v-text-field(v-model='password'
|
v-text-field(v-model='password'
|
||||||
:rules='$validators.password'
|
:rules='$validators.password'
|
||||||
type='password'
|
type='password'
|
||||||
:placeholder='$t("common.password")')
|
:placeholder='$t("common.password")')
|
||||||
|
|
||||||
v-card-actions
|
v-card-actions
|
||||||
v-btn(text
|
v-btn(text
|
||||||
tabindex="1"
|
tabindex="1"
|
||||||
@click='forgot' small) {{$t('login.forgot_password')}}
|
@click='forgot' small) {{$t('login.forgot_password')}}
|
||||||
|
|
||||||
v-card-actions
|
v-card-actions
|
||||||
v-spacer
|
v-spacer
|
||||||
|
|
||||||
v-btn(v-if='settings.allow_registration'
|
v-btn(v-if='settings.allow_registration'
|
||||||
to='/register'
|
to='/register'
|
||||||
text
|
text
|
||||||
color='orange') {{$t('login.not_registered')}}
|
color='orange') {{$t('login.not_registered')}}
|
||||||
|
|
||||||
v-btn(color='success'
|
v-btn(color='success'
|
||||||
type='submit'
|
type='submit'
|
||||||
:disabled='!valid || loading' :loading='loading') {{$t('common.login')}}
|
:disabled='!valid || loading' :loading='loading') {{$t('common.login')}}
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
|
v-container
|
||||||
v-row.mt-5(align='center' justify='center')
|
v-row.mt-5(align='center' justify='center')
|
||||||
v-col(cols='12' md="6" lg="5" xl="4")
|
v-col(cols='12' md="6" lg="5" xl="4")
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ const defaultSettings = {
|
|||||||
'theme.is_dark': true,
|
'theme.is_dark': true,
|
||||||
'theme.primary': '#FF4500',
|
'theme.primary': '#FF4500',
|
||||||
footerLinks: [
|
footerLinks: [
|
||||||
|
{ href: '/', label: 'home' },
|
||||||
{ href: '/about', label: 'about' }
|
{ href: '/about', label: 'about' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user