view sat_templates/templates/bulma/invitation/manager.html @ 295:1de599c5a68f

bulma (base): loading screen: when the `loading_screen` variable is set before extending `base/base.html`, a loading modal is shown (and must be removed via JavaScript). This avoids the user to try to use an interface which is not reactive or working normally because JS is not fully loaded yet.
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:24:03 +0100
parents dbdaf1d7442b
children 60979d67eae7
line wrap: on
line source

{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field with context %}
{% import 'input/textbox.html' as textbox with context %}
{% import 'dialogs/macros.html' as dialog with context %}
<div class="wrapper">
    <div class="panel_wrapper click_to_close">
        <div class="invitation_manager_side_panel">
            <section class="section">
                <div class="message is-info">
                    <div class="message-body">
                        {% trans %}in this panel, you can manage people who can access this album, and send invitations{% endtrans %}
                    </div>
                </div>
            </section>
            <section class="section">
                <div id="affiliations">
                    <h4 class="title is-4">{% trans %}people who can access this album{% endtrans %}</h4>
                </div>
                {% call form.form(id="invitation_form", class="mt-4") %}
                    {{ textbox.head(event_service, event_node, 'event') }}
                    {{ field.meta('event_id', event_id) }}
                    {% call dialog.search_dialog(id="invitation_contact_search", class="is-block") %}
                        {{ field.text("contact", placeholder=_("name or identifier of a person to invite"), autocomplete="off", icon_left="person") }}
                    {% endcall %}
                    <button id="invite_email" class="button mt-6">
                        <i class="icon-mail"></i> {% trans %}invite by email{% endtrans %}
                    </button>
                {% endcall %}
            </section>
        </div>
    </div>
</div>