fix: improve reset password form.

See issue #297
This commit is contained in:
Leo Mouyna 2020-03-03 20:41:18 +01:00 committed by Thomas Citharel
parent 080432dbe5
commit 5e3eb00708
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -1,7 +1,10 @@
<template> <template>
<section class="section container columns is-mobile is-centered"> <section class="section container">
<div class="card column is-half-desktop"> <div class="columns is-mobile is-centered">
<h1>{{ $t("Password reset") }}</h1> <div class="column is-half-desktop">
<h1 class="title">
{{ $t("Password reset") }}
</h1>
<b-message <b-message
title="Error" title="Error"
type="is-danger" type="is-danger"
@ -27,12 +30,15 @@
type="password" type="password"
password-reveal password-reveal
minlength="6" minlength="6"
v-model="credentials.passwordConfirmation" v-model="credentials.password_confirmation"
/> />
</b-field> </b-field>
<button class="button is-primary">{{ $t("Reset my password") }}</button> <button class="button is-primary">
{{ $t("Reset my password") }}
</button>
</form> </form>
</div> </div>
</div>
</section> </section>
</template> </template>
@ -97,3 +103,12 @@ export default class PasswordReset extends Vue {
} }
} }
</script> </script>
<style lang="scss" scoped>
section.section.container {
background: $white;
}
.container .columns {
margin: 1rem auto 3rem;
}
</style>