freeCodeCamp/views/account/login.jade

41 lines
1.4 KiB
Plaintext
Raw Normal View History

extends ../layout
2013-11-16 18:24:06 +00:00
block content
2013-12-12 06:35:18 +00:00
.col-sm-8.col-sm-offset-2
form(method='POST')
input(type='hidden', name='_csrf', value=token)
2013-12-12 06:35:18 +00:00
legend Sign In
.form-group
.btn-group.btn-group-justified
if secrets.facebookAuth
a.btn.btn-facebook(href='/auth/facebook')
i.fa.fa-facebook
| Facebook
if secrets.twitterAuth
a.btn.btn-twitter(href='/auth/twitter')
i.fa.fa-twitter
| Twitter
if secrets.githubAuth
a.btn.btn-github(href='/auth/github')
i.fa.fa-github
| GitHub
if secrets.googleAuth
a.btn.btn-google-plus(href='/auth/google')
i.fa.fa-google-plus
| Google
2014-02-10 16:20:14 +00:00
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
2014-02-18 00:36:06 +00:00
a.btn.btn-link(href='/forgot') Forgot password?
p Don't have an account?
a(href='signup') Sign up.