mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
52 lines
1.9 KiB
Django/Jinja
52 lines
1.9 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
{% import 'materialize/wtf.html.j2' as wtf %}
|
|
|
|
{% block nav_content %}
|
|
{% include 'auth/_breadcrumbs.html.j2' %}
|
|
{% endblock nav_content %}
|
|
|
|
{% block styles %}
|
|
{{ super() }}
|
|
<style>
|
|
main {
|
|
background-image: url("{{ url_for('static', filename='images/parallax_lq/02_concept_document_focus_letter.jpg') }}");
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
</style>
|
|
{% endblock styles %}
|
|
|
|
{% block page_content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col s12 m4">
|
|
<div class="card medium">
|
|
<div class="card-content">
|
|
<h1 id="title">{{ title }}</h1>
|
|
<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>
|
|
|
|
<div class="col s12 m8">
|
|
<div class="card medium">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
{{ form.hidden_tag() }}
|
|
{{ wtf.render_field(form.username, data_length='64', material_icon='person') }}
|
|
{{ wtf.render_field(form.password, data_length='128', material_icon='vpn_key') }}
|
|
{{ wtf.render_field(form.password_confirmation, data_length='128', material_icon='vpn_key') }}
|
|
{{ wtf.render_field(form.email, class_='validate', material_icon='email', type='email') }}
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ wtf.render_field(form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|