2022-09-23 18:59:42 -04:00
|
|
|
{% extends "base.jinja2" %}
|
|
|
|
|
|
|
|
{% block title %}UnderCover - Create Account{% endblock title %}
|
|
|
|
|
2022-09-23 19:33:20 -04:00
|
|
|
{% block head %}
|
|
|
|
<style>
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
form div {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
form a.wipe {
|
|
|
|
margin-left: inherit;
|
|
|
|
margin-top: 4em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{% endblock head %}
|
|
|
|
|
2022-09-23 18:59:42 -04:00
|
|
|
{% block content %}
|
2022-09-23 19:42:08 -04:00
|
|
|
<form action="/create_account" method="post" id="create-account-form">
|
2022-09-23 19:33:20 -04:00
|
|
|
<div>
|
|
|
|
<label for="login">Email: </label>
|
|
|
|
<input id="login" maxlength="32" minlength="4" name="login" type="text" placeholder="sage@sagev.space">
|
|
|
|
</div>
|
2022-09-23 18:59:42 -04:00
|
|
|
|
2022-09-23 19:33:20 -04:00
|
|
|
<div>
|
|
|
|
<label for="password">Password: </label>
|
|
|
|
<input id="password" maxlength="32" minlength="4" name="password" type="password">
|
|
|
|
</div>
|
2022-09-23 18:59:42 -04:00
|
|
|
|
|
|
|
<a href="javascript:void(0)"
|
|
|
|
class="wipe up-wipe"
|
|
|
|
{% if errors %}
|
2022-09-23 19:42:08 -04:00
|
|
|
onclick="/*clearErrors();*/document.getElementById('create-account-form').submit()"
|
2022-09-23 18:59:42 -04:00
|
|
|
{% else %}
|
2022-09-23 19:42:08 -04:00
|
|
|
onclick="document.getElementById('create-account-form').submit()"
|
2022-09-23 18:59:42 -04:00
|
|
|
{% endif %}
|
|
|
|
>Create Account</a>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% if errors %}
|
|
|
|
<div id=errors>
|
|
|
|
<h3>Error while logging in:</h3>
|
|
|
|
<p class=errors>
|
|
|
|
{% for error in errors %}
|
|
|
|
{{ error }}<br>
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock content %}
|