aboutsummaryrefslogtreecommitdiff
path: root/views/login.pug
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-03-18 14:07:18 -0400
committerGitHub <noreply@github.com>2019-03-18 14:07:18 -0400
commit7d5bb60662dc6a879df261f9eafeda89d6574cd7 (patch)
tree8275d70be6aa728de3fea9af76b9422464143227 /views/login.pug
parent861614569c2d72e0ee9a6a698f3978f609a3b2bc (diff)
parentbe117e38a63a558684baa69f719787f11dfc3be3 (diff)
Merge pull request #65 from browngraphicslab/authentication
Authentication
Diffstat (limited to 'views/login.pug')
-rw-r--r--views/login.pug28
1 files changed, 28 insertions, 0 deletions
diff --git a/views/login.pug b/views/login.pug
new file mode 100644
index 000000000..9bc40a495
--- /dev/null
+++ b/views/login.pug
@@ -0,0 +1,28 @@
+
+extends ./layout
+
+block content
+ style
+ include ./stylesheets/authentication.css
+ form.form-horizontal(id='login-form', method='POST')
+ input(type='hidden', name='_csrf', value=_csrf)
+ .overlay(id='overlay_login')
+ a(href="/signup")
+ img(id='new_user', src="https://bit.ly/2EuqPb4", alt="")
+ a(href="/forgot")
+ img(id='forgot', src="https://bit.ly/2XjHpSo", alt="")
+ .inner.login
+ h3.auth_header Log In
+ .form-group
+ //- label.col-sm-3.control-label(for='email', id='email_label') Email
+ .col-sm-7
+ input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus, required)
+ .form-group
+ //- label.col-sm-3.control-label(for='password') Password
+ .col-sm-7
+ input.form-control(type='password', name='password', id='password', placeholder='Password', required)
+ .form-group
+ .col-sm-offset-3.col-sm-7
+ button.btn.btn-success(id='submit', type='submit')
+ i.fa.fa-user-plus
+ | Submit \ No newline at end of file