freeCodeCamp/views/login.jade

42 lines
1.3 KiB
Plaintext

extends layout
block content
.main
h3
| Please Login, or 
a(href='/signup') Sign Up
.row
.col-xs-6.col-sm-6.col-md-6
a.btn.btn-primary.btn-block(href='/auth/facebook')
i.fa.fa-facebook
|   Facebook
.col-xs-6.col-sm-6.col-md-6
a.btn.btn-danger.btn-block(href='/auth/google')
i.fa.fa-google-plus
|   Google
.row
.col-xs-6.col-sm-6.col-md-6
a.btn.btn-info.btn-block(href='/auth/twitter')
i.fa.fa-twitter
|   Twitter
.col-xs-6.col-sm-6.col-md-6
a.btn.btn-default.btn-block(href='/auth/github')
i.fa.fa-github
|   GitHub
.login-or
hr.hr-or
span.span-or or
form(role='form', method='POST')
.form-group
label(for='email') Email
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus='')
.form-group
a.pull-right(href='#') Forgot password?
label(for='password') Password
input.form-control(type='password', name='password', id='password', placeholder='Password')
.form-group
button.btn.btn.btn-success(type='submit') Log In
if messages.length
.alert.alert-danger
strong= messages