comparison sat_templates/templates/bulma/invitation/manager.html @ 275:dbdaf1d7442b

bulma (invitation/manager.html): simpler manager, taking profit of dynamism
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:47:06 +0200
parents caadb06854a0
children 60979d67eae7
comparison
equal deleted inserted replaced
274:b6937cf854f0 275:dbdaf1d7442b
1 {% import 'input/form.html' as form with context %} 1 {% import 'input/form.html' as form with context %}
2 {% import 'input/field.html' as field with context %} 2 {% import 'input/field.html' as field with context %}
3 {% import 'input/textbox.html' as textbox with context %} 3 {% import 'input/textbox.html' as textbox with context %}
4 {% import 'dialogs/macros.html' as dialog with context %}
4 <div class="wrapper"> 5 <div class="wrapper">
5 <div class="panel_wrapper click_to_close"> 6 <div class="panel_wrapper click_to_close">
6 <div class="invitation_manager_side_panel"> 7 <div class="invitation_manager_side_panel">
7 <section class="section"> 8 <section class="section">
8 <div class="message is-info"> 9 <div class="message is-info">
13 </section> 14 </section>
14 <section class="section"> 15 <section class="section">
15 <div id="affiliations"> 16 <div id="affiliations">
16 <h4 class="title is-4">{% trans %}people who can access this album{% endtrans %}</h4> 17 <h4 class="title is-4">{% trans %}people who can access this album{% endtrans %}</h4>
17 </div> 18 </div>
19 {% call form.form(id="invitation_form", class="mt-4") %}
20 {{ textbox.head(event_service, event_node, 'event') }}
21 {{ field.meta('event_id', event_id) }}
22 {% call dialog.search_dialog(id="invitation_contact_search", class="is-block") %}
23 {{ field.text("contact", placeholder=_("name or identifier of a person to invite"), autocomplete="off", icon_left="person") }}
24 {% endcall %}
25 <button id="invite_email" class="button mt-6">
26 <i class="icon-mail"></i> {% trans %}invite by email{% endtrans %}
27 </button>
28 {% endcall %}
18 </section> 29 </section>
19 <section class="section">
20 <div id="invitation_panel">
21 <h4 class="title is-4">{% trans %}invite people{% endtrans %}</h4>
22 <div id="invitation_notifications"></div>
23 {% call form.form(id="invitation_form") %}
24 {{ textbox.head(event_service, event_node, 'event') }}
25 {{ field.meta('event_id', event_id) }}
26 {{ field.textarea("jids",
27 _("enter here a list of jid (one per line) to invite")
28 )
29 }}
30 {{ field.textarea("emails",
31 _("enter here a list of emails addresses (one per line) to invite")
32 )
33 }}
34 {{ field.submit(_("Invite people"), id="invitation_submit") }}
35 {% endcall %}
36 </div>
37 </section>
38
39 </div> 30 </div>
40 </div> 31 </div>
41 </div> 32 </div>