mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 12:31:48 +00:00
Style password resets
This commit is contained in:
parent
d3221f1cf1
commit
05b8bc36ec
3 changed files with 32 additions and 31 deletions
|
@ -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?
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
extends ../layout
|
||||
|
||||
block content
|
||||
.container
|
||||
.row
|
||||
.box.span4.offset4
|
||||
.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')
|
||||
.actions
|
||||
button.btn.btn-primary.btn.btn-large(type='submit') Submit
|
||||
.content.content-alt
|
||||
.container
|
||||
.row
|
||||
.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)
|
||||
.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') Request password reset
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
extends ../layout
|
||||
|
||||
block content
|
||||
.container
|
||||
.row
|
||||
.box.span4.offset4
|
||||
.page-header
|
||||
h1 Set 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
|
||||
input(type="hidden", name="passwordResetToken", value=passwordResetToken)
|
||||
.actions
|
||||
button.btn.btn-primary.btn.btn-large(type='submit') Submit
|
||||
.content.content-alt
|
||||
.container
|
||||
.row
|
||||
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
||||
.card
|
||||
.page-header
|
||||
h1 Reset your password
|
||||
.messageArea
|
||||
form.validate#setPasswordReset(method='post')
|
||||
input(type="hidden", name="_csrf", value=csrfToken)
|
||||
.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') Set new password
|
Loading…
Reference in a new issue