view sat_templates/templates/bulma/invitation/welcome.html @ 304:cdf88211b86b

bulma (input/field): `field` macro now has `control_class` and `in_group` attributes: - `control_class` is used to specify additional classes for the control (when `class` is used for classes of the of the `field`) - when `in_group` is `true`, `field` is not added, only the `control` is used. This is useful for grouping elements in the same field
author Goffi <goffi@goffi.org>
date Sat, 27 Feb 2021 20:44:01 +0100
parents cb08d92f181f
children
line wrap: on
line source

{% extends 'base/base.html' %}
{% import 'components/block.html' as block with context %}

{% block body %}
{{ icon_defs('file-image', 'exchange', 'calendar') }}
<section class="section">
    <h1 class='title is-4'>{% trans %}Welcome {{name}}{% endtrans %}</h1>
    <div class="message is-info">
        <div class="message-body">
            {% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}
        </div>
    </div>

    {% if interests_map.event %}
        {{ block.separator(_("events")) }}
        {{block.interests_grid(interests_map.event, 'calendar')}}
    {% endif %}
    {% if interests_map.photos %}
        {{ block.separator(_("photo albums")) }}
        {{block.interests_grid(interests_map.photos, 'file-image')}}
    {% endif %}
    {% if interests_map.files %}
        {{ block.separator(_("file sharing")) }}
        {{block.interests_grid(interests_map.fis, 'exchange')}}
    {% endif %}

    {% if include_url is defined %}
    <iframe id='include_main' src='{{include_url}}'></iframe>
    {% endif %}
</section>

{% endblock body %}