mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04: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='_csrf', type='hidden', value=csrfToken)
|
||||||
input(name='redir', type='hidden', value=redir)
|
input(name='redir', type='hidden', value=redir)
|
||||||
.form-group
|
.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
|
.form-group
|
||||||
input#password.required.form-control(type='password', name='password', placeholder='********')
|
input#password.required.form-control(type='password', name='password', placeholder='********')
|
||||||
.actions
|
.actions
|
||||||
button.btn-primary.btn#login(type='submit') Login
|
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
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
.content.content-alt
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.box.span4.offset4
|
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
||||||
|
.card
|
||||||
.page-header
|
.page-header
|
||||||
h1 Password Reset
|
h1 Password Reset
|
||||||
.messageArea
|
.messageArea
|
||||||
form.validate#passwordReset(method='post')
|
form.validate#passwordReset(method='post')
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
.clearfix
|
.form-group
|
||||||
label(for='xlInput') Email
|
label(for='email') Please enter your email address
|
||||||
.input
|
input.email.required.form-control(type='email', name='email', placeholder='email@example.com')
|
||||||
input.span4.email.required(type='email', name='email', placeholder='your@email.com')
|
|
||||||
.actions
|
.actions
|
||||||
button.btn.btn-primary.btn.btn-large(type='submit') Submit
|
button.btn.btn-primary.btn.btn-large(type='submit') Request password reset
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
extends ../layout
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
.content.content-alt
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.box.span4.offset4
|
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
||||||
|
.card
|
||||||
.page-header
|
.page-header
|
||||||
h1 Set Password
|
h1 Reset your password
|
||||||
.messageArea
|
.messageArea
|
||||||
form.validate#setPasswordReset(method='post')
|
form.validate#setPasswordReset(method='post')
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
.clearfix
|
.form-group
|
||||||
.input
|
input.password.required.form-control(type='password', name='password', placeholder='new password')
|
||||||
input.span4.password.required(type='password', name='password', placeholder='new password')
|
|
||||||
.input
|
|
||||||
input(type="hidden", name="passwordResetToken", value=passwordResetToken)
|
input(type="hidden", name="passwordResetToken", value=passwordResetToken)
|
||||||
.actions
|
.actions
|
||||||
button.btn.btn-primary.btn.btn-large(type='submit') Submit
|
button.btn.btn-primary.btn.btn-large(type='submit') Set new password
|
Loading…
Reference in a new issue