Placed single sign-in buttons at the bottom of the login form
This commit is contained in:
@ -22,7 +22,7 @@ body {
|
|||||||
/* Negative indent footer by its height */
|
/* Negative indent footer by its height */
|
||||||
margin: 0 auto -110px;
|
margin: 0 auto -110px;
|
||||||
/* Pad bottom by footer height + (optional) extra spacing */
|
/* Pad bottom by footer height + (optional) extra spacing */
|
||||||
padding: 0 0 120px;
|
padding: 0 0 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
|
@ -5,7 +5,20 @@ block content
|
|||||||
legend Sign In
|
legend Sign In
|
||||||
input(type='hidden', name='_csrf', value=token)
|
input(type='hidden', name='_csrf', value=token)
|
||||||
.row
|
.row
|
||||||
.col-sm-4
|
.col-sm-8.col-sm-offset-2
|
||||||
|
if secrets.localAuth
|
||||||
|
.form-group
|
||||||
|
label.control-label(for='email') Email
|
||||||
|
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
|
||||||
|
.form-group
|
||||||
|
label.control-label(for='password') Password
|
||||||
|
input.form-control(type='password', name='password', id='password', placeholder='Password')
|
||||||
|
.form-group
|
||||||
|
button.btn.btn-primary(type='submit')
|
||||||
|
i.fa.fa-unlock-alt
|
||||||
|
| Login
|
||||||
|
a.btn.btn-link(href='/forgot') Forgot your password?
|
||||||
|
hr
|
||||||
if secrets.facebookAuth
|
if secrets.facebookAuth
|
||||||
a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook')
|
a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook')
|
||||||
i.fa.fa-facebook
|
i.fa.fa-facebook
|
||||||
@ -26,16 +39,3 @@ block content
|
|||||||
a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin')
|
a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin')
|
||||||
i.fa.fa-linkedin
|
i.fa.fa-linkedin
|
||||||
| Sign in with LinkedIn
|
| Sign in with LinkedIn
|
||||||
if secrets.localAuth
|
|
||||||
.col-sm-8
|
|
||||||
.form-group
|
|
||||||
label.control-label(for='email') Email
|
|
||||||
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
|
|
||||||
.form-group
|
|
||||||
label.control-label(for='password') Password
|
|
||||||
input.form-control(type='password', name='password', id='password', placeholder='Password')
|
|
||||||
.form-group
|
|
||||||
button.btn.btn-primary(type='submit')
|
|
||||||
i.fa.fa-unlock-alt
|
|
||||||
| Login
|
|
||||||
a.btn.btn-link(href='/forgot') Forgot your password?
|
|
||||||
|
Reference in New Issue
Block a user