{# .. screenshot:: |canaille|/firstlogin/james :context: james :align: right :width: 275px The first login page. The first login page. This page is displayed to users who do not have set a password yet. #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {% import 'macro/flask.html' as flask %} {% block messages %}{% endblock %} {% block content %}
{% block header %}

{% if logo_url %} {% endif %}
{% trans %}First login{% endtrans %}

{% endblock %} {% call flask.messages(classes="attached") %}
{% if features.has_trusted_hosts %} {% 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 "Send the initialization email" button below to send the email. {% endtrans %} {% else %} {% 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 code that will allow you to set a password. Please click on the "Send the initialization email" button below to send the email. {% endtrans %} {% endif %}
{% endcall %}
{% call fui.render_form(form) %} {% block buttons %}
{{ _("Login page") }} {% if not features.has_trusted_hosts %} {{ _("I already have a code") }} {% endif %} {% call fui.render_button(form.action, "sendmail", class_="ui right floated primary button") %}{{ _("Send the initialization email") }}{% endcall %}
{% endblock %} {% endcall %}
{% endblock %}