login: quick refactor
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col s6">
|
||||
{% if not devenv %}
|
||||
<p>If you have active AD account click <a href="/login/authelia">here</a> to login</p>
|
||||
{% else %}
|
||||
<p>Click <a href="/dev_login">here</a> to login as dev user</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col s6">
|
||||
<p>Request a login link to your email address</p>
|
||||
<form action="/login/address" method="post">
|
||||
{{ form.csrf_token }}
|
||||
<p>{{ form.email.label }}</p>
|
||||
<p>{{ form.email }}</p>
|
||||
<p>{{ form.recaptcha }}</p>
|
||||
<button class="waves-effect waves-light btn" type="submit">Request login link</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -1,12 +0,0 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<p>
|
||||
Your membership is not active or is suspended, please reach out to <a href="mailto:info@k-space.ee">info@k-space.ee</a> for more info
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -1,10 +0,0 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
|
||||
<p>If the address is known a login link should have been sent.</p>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user