view sat_templates/templates/bulma/login/logged.html @ 402:2bbcb7da56bc default tip

bulma: use Font-Awesome instead of Fontello + start of major redesign: - Font-Awesome is now used instead of Fontello, following change in Libervia Media. - This is a beginning of a major redesign of the web templates/web frontend. This currently breaks a lot of thing.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:53:26 +0200
parents 6895500a42d6
children
line wrap: on
line source

{% set post_confirm_message=_("You have been logged correctly") %}
{% set no_breadcrumps=true %}
{% if not embedded %}{% extends 'base/base.html' %}{% endif %}
{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field with context %}

{% block title %}{{C.APP_NAME}}{% endblock %}

{% block confirm_message %}
    {% trans %}You have been logged correctly{% endtrans %}
{% endblock confirm_message %}

{% block body %}
    <section class="section" id='logged'>
        <div class='message'>
            <div class="message-body">
                {% if guest_session %}
                    <p>{% trans %}You are logged as a guest{% endtrans %}</p>
                {% else %}
                    <p>{% trans name='<span class="logged_profile">'|safe + profile + '</span>'|safe %}You are logged under the account {{name}} {% endtrans %}</p>
                {% endif %}
                <p>{% trans session_started='<span class="logged_time">'|safe + session_started|date_fmt('relative') + '</span>'|safe %}You logged {{session_started}}{% endtrans %}</p>
            </div>
        </div>
        {% call form.form() %}
        {{ field.meta('type', 'disconnect') }}
        {{ field.submit(_("Disconnect")) }}
        {% endcall %}
    </section>
{% endblock body %}