canaille-globuzma/canaille/templates/firstlogin.html

43 lines
1.5 KiB
HTML
Raw Normal View History

{% extends theme('base.html') %}
2020-11-16 14:40:11 +00:00
{% import 'fomanticui.j2' as sui %}
{% block content %}
<div class="loginform">
<h3 class="ui top attached header">
{% if logo_url %}
<img class="ui image" src="{{ logo_url }}">
{% endif %}
<div class="content">
{% trans %}First login{% endtrans %}
</div>
</h3>
<div class="ui attached message">
{% trans %}
It seems this is the first time you are logging here. In order to finalize your
account configuration, you need to set a password to your account. We will send
you an email containing a link that will allow you to set a password. Please click
on the blue button below to send the email.
{% endtrans %}
</div>
<div class="ui attached clearing segment">
<form method="POST"
id="{{ reset }}"
2021-05-24 15:43:15 +00:00
action="{{ url_for('account.firstlogin', uid=uid) }}"
2020-11-16 14:40:11 +00:00
role="form"
>
{{ form.hidden_tag() if form.hidden_tag }}
2021-10-13 15:13:57 +00:00
<div class="ui right aligned container">
<div class="ui stackable buttons">
<a type="button" class="ui right floated button" href="{{ url_for('account.login') }}">{{ _("Login page") }}</a>
<button type="submit" class="ui right floated primary button">{{ _("Send the initialization email") }}</button>
</div>
</div>
2020-11-16 14:40:11 +00:00
</form>
</div>
</div>
{% endblock %}