annotate sat_templates/templates/bulma/list/create_from_template.html @ 371:a5a80d761e3e

bulma (call): update template to integrate call features: previously, call template was a minimum UI for testing implementation. This commit introduce a usable UI with search interface, mute and full screen button, animations, and other UI/UX improvments. rel 423
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:11:39 +0200
parents 877f01720036
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
303
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/form.html' as form with context %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'input/field.html' as field with context %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
4
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% block body %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {{ icon_defs(list_template.icon) }}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <section class="section">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <article class="message is-info">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <div class="message-body">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% trans list_type=list_template.name %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 You're about to create a new list ({{list_type}}).
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% endtrans %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </div>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 </article>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% call form.form(class="form--paper form__panel--vertical") %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 {{ field.text("name", _("name of the list"), required=true) }}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <div class="box">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 <label class="label">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 {% trans %}Is this list private or public?{% endtrans %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 </label>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 <div class="message">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 <div class="message-body is-dark has-whitespace-pre-line">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 {%- trans notrimmed -%}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 Private lists are only visible by yourself (and people you invite later).
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
25 Public lists can be accessed by anybody.
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 {%- endtrans -%}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 </div>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 </div>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 {{ field.choices("access", (("private", _("private")), ("public", _("public"))), checked="private") }}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 </div>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 {{ field.submit(_("Create list")) }}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 {% endcall %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 </section>
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {% endblock body %}