diff options
| author | ab <abdullah_ahmed@brown.edu> | 2019-03-09 16:06:18 -0500 |
|---|---|---|
| committer | ab <abdullah_ahmed@brown.edu> | 2019-03-09 16:06:18 -0500 |
| commit | a2b90031fe06701b0ecc7c6fa3b48c933e4d37b8 (patch) | |
| tree | 541052a97652ad25b0829685f205ec35d3976743 /views | |
| parent | b72ff1323bc76dc244ebe50893aa78064fd836c7 (diff) | |
| parent | 09928503be98d605052fba65dcd2f91f9b056f23 (diff) | |
fix
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 |
