nopaque/web/app/templates/auth/register.html.j2

48 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-02-07 14:21:59 +00:00
{% extends "nopaque.html.j2" %}
2020-10-23 06:51:46 +00:00
{% import 'materialize/wtf.html.j2' as wtf %}
2020-02-07 14:21:59 +00:00
2020-10-23 06:51:46 +00:00
{% block styles %}
{{ super() }}
<style>
main {
2020-02-27 14:41:06 +00:00
background-image: url("{{ url_for('static', filename='images/parallax_lq/02_concept_document_focus_letter.jpg') }}");
2020-02-20 09:32:02 +00:00
background-repeat: no-repeat;
background-size: cover;
}
</style>
2020-10-23 06:51:46 +00:00
{% endblock styles %}
2020-10-23 06:51:46 +00:00
{% block page_content %}
<div class="container">
<div class="row">
<div class="col s12 m4">
<div class="card medium">
<div class="card-content">
2020-10-23 08:26:04 +00:00
<h1 id="title">{{ title }}</h1>
2020-10-23 06:51:46 +00:00
<p>Simply enter a username and password to receive your registration email. After that you can start right away.</p>
<p>It goes without saying that the <a href="{{ url_for('main.privacy_policy') }}">General Data Protection Regulation</a> applies, only necessary data is stored.</p>
<p>Please also read our <a href="{{ url_for('main.terms_of_use') }}">terms of use</a> before signing up for nopaque!</p>
</div>
</div>
</div>
2019-07-09 14:59:04 +00:00
2020-10-23 06:51:46 +00:00
<div class="col s12 m8">
<div class="card medium">
<form method="POST">
<div class="card-content">
{{ registration_form.hidden_tag() }}
{{ wtf.render_field(registration_form.username, data_length='64', material_icon='person') }}
{{ wtf.render_field(registration_form.password, data_length='128', material_icon='vpn_key') }}
{{ wtf.render_field(registration_form.password_confirmation, data_length='128', material_icon='vpn_key') }}
{{ wtf.render_field(registration_form.email, class_='validate', material_icon='email', type='email') }}
</div>
<div class="card-action right-align">
{{ wtf.render_field(registration_form.submit, material_icon='send') }}
</div>
</form>
</div>
2020-10-23 06:51:46 +00:00
</div>
</div>
</div>
{% endblock %}