2019-09-12 21:44:59 +00:00
|
|
|
extends blocks/layout.pug
|
|
|
|
append var
|
2019-09-25 18:23:49 +00:00
|
|
|
if(cfg && cfg.web.registration && session && !session.user)
|
2020-08-14 21:44:12 +00:00
|
|
|
- var breadcrumb = {0: {"name": cfg.app.name, "href": "/"}, 1: {"name": "Register", "active": true}};
|
2019-09-12 21:44:59 +00:00
|
|
|
- var title = "Register";
|
|
|
|
|
|
|
|
append content
|
2019-09-25 18:23:49 +00:00
|
|
|
if(cfg && cfg.web.registration && session && !session.user)
|
|
|
|
.uk-flex.uk-margin-medium-top.uk-margin-medium-bottom
|
|
|
|
div(class="uk-width-auto uk-width-1-4@s")
|
|
|
|
.uk-flex.uk-flex-auto.uk-flex-column.uk-flex-center.uk-margin-left.uk-margin-right
|
|
|
|
h1 Register an account
|
|
|
|
form.uk-form-horizontal
|
|
|
|
.uk-margin
|
|
|
|
label.uk-form-label(for="login_user") Username / Email
|
|
|
|
.uk-form-controls
|
|
|
|
input.uk-input#login_user(type="text", placeholder="tetrahedron")
|
|
|
|
.uk-margin
|
|
|
|
label.uk-form-label(for="login_pass") Password
|
|
|
|
.uk-form-controls
|
|
|
|
input.uk-input#login_pass(type="password")
|
|
|
|
a(href="#").uk-button.uk-button-default Register
|
|
|
|
div(class="uk-width-auto uk-width-1-4@s")
|
|
|
|
else
|
|
|
|
append var
|
|
|
|
- overwrite_vars = (session && session.user) ? true : false;
|
|
|
|
include blocks/error/permission.pug
|