diff options
author | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-03-05 18:51:20 -0500 |
---|---|---|
committer | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-03-05 18:51:20 -0500 |
commit | 7f93e6639e8fee3e3760d13c69d65b343875091a (patch) | |
tree | d29b45310f92a53935177d969ce3c1bee9920c32 /views | |
parent | 9b839a93b98b850aa77087218d4862b97fb24d15 (diff) | |
parent | 2cc5eb6ff512dc6128d25903bcb852f25bcadcca (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into PDFNode
Diffstat (limited to 'views')
-rw-r--r-- | views/layout.pug | 17 | ||||
-rw-r--r-- | views/signup.pug | 25 |
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 |