annotate sat_templates/templates/bulma/invitation/invite_by_email.html @ 411:f7a434581872 default tip

chat: Add forward, rich editing and extra recipients: - There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID. - A new "extra" menu is available next to input field. Inside there are 2 items for now: add extra recipient, and toggle rich edit mode. - Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients. - Rich edit let use rich styling such as bold, italic, underline, etc. rel 461
author Goffi <goffi@goffi.org>
date Fri, 04 Jul 2025 17:33:22 +0200
parents b6937cf854f0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
274
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'input/form.html' as form with context %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/field.html' as field with context %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
3
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <div class="modal is-active">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <div class="modal-background"></div>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="modal-card">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <header class="modal-card-head">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <p class="modal-card-title">{% trans %}Invite somebody by email{% endtrans %}</p>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <button class="delete click_to_close" aria-label="close"></button>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </header>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <section class="modal-card-body">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% call form.form(id="email_invitation_form") %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.email("email", _("email"), required=true, icon_left="mail") }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ field.text("name", _("name"), required=true, icon_left="person") }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endcall %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </section>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <footer class="modal-card-foot">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {{
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
19 field.submit(
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
20 _("Send invitation"), id="email_invitation_submit", class="button is-success",
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
21 attr={'form': 'email_invitation_form'}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
22 )
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
23 }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
24 <button class="button click_to_close">{% trans %}Cancel{% endtrans %}</button>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
25 </footer>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
26 </div>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
27 </div>