Login page redesign
This commit is contained in:
@ -1,7 +1,15 @@
|
|||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
if error.length
|
||||||
|
.alert.alert-danger
|
||||||
|
p= error
|
||||||
|
if success.length
|
||||||
|
.alert.alert-success
|
||||||
|
p= success
|
||||||
|
|
||||||
h2.text-center Contact Form
|
h2.text-center Contact Form
|
||||||
|
|
||||||
.center-block
|
.center-block
|
||||||
form.form-horizontal(role='form', method='POST')
|
form.form-horizontal(role='form', method='POST')
|
||||||
.form-group
|
.form-group
|
||||||
@ -21,9 +29,4 @@ block content
|
|||||||
button.btn.btn-success(type='submit') Send
|
button.btn.btn-success(type='submit') Send
|
||||||
img.pull-right(height='34', src='/img/sendgrid.png')
|
img.pull-right(height='34', src='/img/sendgrid.png')
|
||||||
|
|
||||||
if error.length
|
|
||||||
.alert.alert-danger
|
|
||||||
p= error
|
|
||||||
if success.length
|
|
||||||
.alert.alert-success
|
|
||||||
p= success
|
|
||||||
|
@ -4,9 +4,25 @@ block content
|
|||||||
if messages.length
|
if messages.length
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
strong= messages
|
strong= messages
|
||||||
.page-header
|
|
||||||
h2 Login
|
h2.text-center Login
|
||||||
|
|
||||||
form.form-horizontal(method='POST')
|
form.form-horizontal(method='POST')
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
label.col-sm-2.control-label(for='username') Email
|
||||||
|
.col-sm-8
|
||||||
|
input.form-control(type='text', name='username', id='username', placeholder='Email', autofocus='')
|
||||||
|
.form-group
|
||||||
|
label.col-sm-2.control-label(for='username') Password
|
||||||
|
.col-sm-8
|
||||||
|
.input-group
|
||||||
|
input.form-control(type='password', name='password', id='password', placeholder='Password')
|
||||||
|
span.input-group-btn
|
||||||
|
button.btn.btn-primary(type='button') Go!
|
||||||
|
.help-block
|
||||||
|
a.pull-right(href='#') Forgot password?
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-offset-2.col-sm-8
|
.col-sm-offset-2.col-sm-8
|
||||||
.btn-group.btn-group-justified
|
.btn-group.btn-group-justified
|
||||||
@ -16,23 +32,9 @@ block content
|
|||||||
a.btn.btn-sm.btn-info.twitter(href='/auth/twitter')
|
a.btn.btn-sm.btn-info.twitter(href='/auth/twitter')
|
||||||
i.fa.fa-twitter
|
i.fa.fa-twitter
|
||||||
| Twitter
|
| Twitter
|
||||||
a.btn.btn-sm.btn-danger.google(href='/auth/google')
|
|
||||||
i.fa.fa-google-plus
|
|
||||||
| Google
|
|
||||||
a.btn.btn-sm.btn-default.github(href='/auth/github')
|
a.btn.btn-sm.btn-default.github(href='/auth/github')
|
||||||
i.fa.fa-github
|
i.fa.fa-github
|
||||||
| GitHub
|
| GitHub
|
||||||
.form-group
|
a.btn.btn-sm.btn-danger.google(href='/auth/google')
|
||||||
label.col-sm-2.control-label(for='username') Email
|
i.fa.fa-google-plus
|
||||||
.col-sm-8
|
| Google
|
||||||
input.form-control(type='text', name='username', id='username', placeholder='Email', autofocus='', required='')
|
|
||||||
.form-group
|
|
||||||
label.col-sm-2.control-label(for='username') Password
|
|
||||||
.col-sm-8
|
|
||||||
input.form-control(type='password', name='password', id='password', placeholder='Password', required='')
|
|
||||||
.help-block
|
|
||||||
a.pull-right(href='#') Forgot password?
|
|
||||||
.form-group
|
|
||||||
.col-sm-offset-2.col-sm-8
|
|
||||||
button.btn.btn-success(type='submit') Login
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user