annotate sat_templates/templates/bulma/invitation/invite_by_email.html @ 372:a603cf0fa5d1

bulma (call): add a button for screen sharing: - add a button for screen sharing, only on desktop - split `muted` state to `inactive` and `muted` where `muted` is only about the color - use the `inactive` state with an other color (in `screen-off` class) to indicate when screen is not shared rel 432
author Goffi <goffi@goffi.org>
date Mon, 14 Aug 2023 16:31:46 +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>