Placed single sign-in buttons at the bottom of the login form

This commit is contained in:
Sahat Yalkabov
2014-03-05 16:41:42 -05:00
parent faa0781c06
commit 5fef9092ad
2 changed files with 17 additions and 17 deletions

View File

@ -5,7 +5,7 @@
@import "themes/default";
// Scaffolding
// ---- ---------------------
// -------------------------
html, body {
height: 100%;
@ -22,7 +22,7 @@ body {
/* Negative indent footer by its height */
margin: 0 auto -110px;
/* Pad bottom by footer height + (optional) extra spacing */
padding: 0 0 120px;
padding: 0 0 140px;
}
#footer {

View File

@ -5,7 +5,20 @@ block content
legend Sign In
input(type='hidden', name='_csrf', value=token)
.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
a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook')
i.fa.fa-facebook
@ -25,17 +38,4 @@ block content
if secrets.linkedinAuth
a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin')
i.fa.fa-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?
| Sign in with LinkedIn