annotate sat_templates/templates/bulma/list/create.html @ 300:2a697b1376f1

bulma (components/block): disco entities's `icon_name` is used as icon when available: otherwide, `default_icon_name` is used.
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:37:19 +0100
parents 1c330913ff13
children 877f01720036
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
298
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'components/block.html' as block with context %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'components/images.html' as images with context %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'components/avatar.html' as avatar with context %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% import 'input/form.html' as form with context %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% import 'input/field.html' as field with context %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
7
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {% block body %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {{ icon_defs('clipboard') }}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
10 <section class="section">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <nav class="level mb-4">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
12 <div class="level-left">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
13 <div class="level-item">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ component.action_button(url_list_new) }}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
15 </div>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </div>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
17 </nav>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
18 <article class="message has-text-centered">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
19 <div class="message-body">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
20 {% trans %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
21 Please select the list to use.
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
22 {% endtrans %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
23 </div>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
24 </article>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
25 {% if lists_directory is defined %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
26 <div class="disco_lists">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
27 {{block.disco_icon_grid(lists_directory, 'clipboard')}}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
28 </div>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
29 {% endif %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
30 </section>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
31 <section class="section">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
32 {% call form.form(class="form--single") %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
33 {{ field.text("jid", _("list jid"), required=true)}}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {{ field.submit(_("Access")) }}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
35 {% endcall %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
36 </section>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
37 {% endblock body %}