annotate sat_templates/templates/bulma/photo/discover.html @ 282:46eee98c19d8

bulma (photo/album): accept videos for upload
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2020 08:43:32 +0200
parents 10278ba367a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'components/block.html' as block with context %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'input/form.html' as form with context %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'input/field.html' as field with context %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25 <article class="message has-text-centered">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 <div class="message-body">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 {% trans %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 Photo discovery is not implemented yet, however you can enter a jid below to find its albums
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 {% endtrans %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 </section>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 {% endblock body %}