Mercurial > libervia-templates
annotate sat_templates/templates/bulma/photo/discover.html @ 388:dc83f45625b3
bulma (file, components): fix color fo icons:
icons have no color specified anymore for a while, and use the color of parent elements.
As they are often used in a `<a>` element (to work without javascript), they are often
using a link color. This commit change a few icons to use a dark color instead.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 10 Dec 2023 10:55:09 +0100 |
parents | 10278ba367a2 |
children |
rev | line source |
---|---|
230 | 1 {% extends 'base/base.html' %} |
2 {% import 'components/block.html' as block with context %} | |
3 {% import 'input/form.html' as form with context %} | |
4 {% import 'input/field.html' as field with context %} | |
5 | |
6 {% block body %} | |
245
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
7 {{ icon_defs('file-image', 'trash-empty') }} |
230 | 8 <section class="section"> |
245
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
9 <div class="content has-items-centered is-flex"> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
10 {{ component.action_button(url_photos_new) }} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
11 </div> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
12 {% if interests is defined %} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
13 <div class="message is-info"> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
14 <div class="message-body"> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
15 {% trans nb_interests=interests|length%} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
16 You have currently {{nb_interests}} album in your personal list |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
17 {% pluralize %} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
18 You have currently {{nb_interests}} albums in your personal list |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
19 {% endtrans %} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
20 </div> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
21 </div> |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
22 |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
23 {{block.interests_grid(interests, 'file-image')}} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
24 {% endif %} |
230 | 25 <article class="message has-text-centered"> |
26 <div class="message-body"> | |
27 {% trans %} | |
28 Photo discovery is not implemented yet, however you can enter a jid below to find its albums | |
29 {% endtrans %} | |
30 </div> | |
31 </article> | |
245
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
32 {% call form.form(class="form--single") %} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
33 {{ field.text("jid", _("device full jid"), required=true)}} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
34 {{ field.submit(_("Access")) }} |
10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
35 {% endcall %} |
230 | 36 </section> |
37 {% endblock body %} |