annotate sat_templates/templates/bulma/list/create.html @ 325:8c779fb46384

bulma (components/block): interests_grid is more customisable: - new `delete_icon` argument can be set to `false` if delete icon is not desired - the macro can now be called, the caller then get 2 arguments: part to customise and current interest. Part to customise can be: * `header-title`: markup to put in the title * `content`: car content (replaces the default `interest.name`)
author Goffi <goffi@goffi.org>
date Sat, 01 May 2021 18:44:47 +0200
parents 877f01720036
children
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
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% block body %}
303
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
5 {{ icon_defs(*icons_names) }}
298
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <section class="section">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <article class="message has-text-centered">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <div class="message-body">
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {% trans %}
303
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
10 Please select the type of list that you want to create
298
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {% endtrans %}
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </div>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </article>
303
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
14 <div class="columns">
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
15 {% for tpl in lists_templates %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
16 {{ block.icon_item(tpl.icon, tpl.name, tpl.url) }}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
17 {% endfor %}
877f01720036 bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents: 298
diff changeset
18 </div>
298
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
19 </section>
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff changeset
20 {% endblock body %}