Style password resets

This commit is contained in:
James Allen 2014-06-09 10:25:38 +01:00
parent d3221f1cf1
commit 05b8bc36ec
3 changed files with 32 additions and 31 deletions

View file

@ -13,9 +13,9 @@ block content
input(name='_csrf', type='hidden', value=csrfToken)
input(name='redir', type='hidden', value=redir)
.form-group
input#email.email.required.form-control(type='email', autofocus="autofocus", name='email', placeholder='your@email.com')
input#email.email.required.form-control(type='email', autofocus="autofocus", name='email', placeholder='email@example.com')
.form-group
input#password.required.form-control(type='password', name='password', placeholder='********')
.actions
button.btn-primary.btn#login(type='submit') Login
a#passwordReset.pull-right(href='/user/passwordreset') Forgot your password?
a#passwordReset.pull-right(href='/user/password/reset') Forgot your password?

View file

@ -1,17 +1,18 @@
extends ../layout
block content
.content.content-alt
.container
.row
.box.span4.offset4
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
.card
.page-header
h1 Password Reset
.messageArea
form.validate#passwordReset(method='post')
input(type="hidden", name="_csrf", value=csrfToken)
.clearfix
label(for='xlInput') Email
.input
input.span4.email.required(type='email', name='email', placeholder='your@email.com')
.form-group
label(for='email') Please enter your email address
input.email.required.form-control(type='email', name='email', placeholder='email@example.com')
.actions
button.btn.btn-primary.btn.btn-large(type='submit') Submit
button.btn.btn-primary.btn.btn-large(type='submit') Request password reset

View file

@ -1,18 +1,18 @@
extends ../layout
block content
.content.content-alt
.container
.row
.box.span4.offset4
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
.card
.page-header
h1 Set Password
h1 Reset your password
.messageArea
form.validate#setPasswordReset(method='post')
input(type="hidden", name="_csrf", value=csrfToken)
.clearfix
.input
input.span4.password.required(type='password', name='password', placeholder='new password')
.input
.form-group
input.password.required.form-control(type='password', name='password', placeholder='new password')
input(type="hidden", name="passwordResetToken", value=passwordResetToken)
.actions
button.btn.btn-primary.btn.btn-large(type='submit') Submit
button.btn.btn-primary.btn.btn-large(type='submit') Set new password