aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-02-19 21:58:18 -0500
committerGitHub <noreply@github.com>2019-02-19 21:58:18 -0500
commit4610f1cc4653aa3b8389a677b9a1bd94590752a1 (patch)
tree6fd1cfe02eaeaf1dc074a26cc4cde39c3313d1f3 /views
parent190d0225d7bf605aa53847eb7beda5de72e753a8 (diff)
parentef10a6bdf753f75cbc5b5d8b7dcc53c3d4c219ad (diff)
Merge pull request #8 from browngraphicslab/server_database_merge
Server database merge
Diffstat (limited to 'views')
-rw-r--r--views/layout.pug17
-rw-r--r--views/signup.pug25
2 files changed, 42 insertions, 0 deletions
diff --git a/views/layout.pug b/views/layout.pug
new file mode 100644
index 000000000..fb22ae770
--- /dev/null
+++ b/views/layout.pug
@@ -0,0 +1,17 @@
+doctype html
+html(lang='')
+ head
+ meta(charset='utf-8')
+ meta(http-equiv='X-UA-Compatible', content='IE=edge')
+ meta(name='viewport', content='width=device-width, initial-scale=1.0')
+ title #{title} - Dash
+ meta(name='description', content='')
+ meta(name='theme-color' content='#4DA5F4')
+ meta(name='csrf-token', content=_csrf)
+ link(rel='shortcut icon', href='/images/favicon.png')
+ link(rel='stylesheet', href='/css/main.css')
+
+ body
+
+ .container
+ block content \ No newline at end of file
diff --git a/views/signup.pug b/views/signup.pug
new file mode 100644
index 000000000..a23f334af
--- /dev/null
+++ b/views/signup.pug
@@ -0,0 +1,25 @@
+
+extends ./layout
+
+block content
+ .page-header
+ h3 Sign up
+ form.form-horizontal(id='signup-form', method='POST')
+ input(type='hidden', name='_csrf', value=_csrf)
+ .form-group
+ label.col-sm-3.control-label(for='email') 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
+ label.col-sm-3.control-label(for='confirmPassword') Confirm Password
+ .col-sm-7
+ input.form-control(type='password', name='confirmPassword', id='confirmPassword', placeholder='Confirm Password', required)
+ .form-group
+ .col-sm-offset-3.col-sm-7
+ button.btn.btn-success(type='submit')
+ i.fa.fa-user-plus
+ | Signup \ No newline at end of file