comparison sat_templates/templates/bulma/photo/discover.html @ 230:0e69b5843c2f

theme: bulma theme first draft: This theme uses the Bulma CSS framework, Brython to handle the menu on touch devices, and Sass to customize Bulma. CSS default fallbacks are disabled as Bulma uses its own naming conventions, and default fallbacks would lead to hard to debug conflicts. `common.js` has been slightly improved to handle custom classed in `tab_select` The theme is not complete yet, but it is functional.
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 00:02:34 +0200
parents
children 10278ba367a2
comparison
equal deleted inserted replaced
229:739c3e6999fa 230:0e69b5843c2f
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 %}
7 {{ icon_defs('file-image') }}
8 <section class="section">
9 <article class="message has-text-centered">
10 <div class="message-body">
11 {% trans %}
12 Photo discovery is not implemented yet, however you can enter a jid below to find its albums
13 {% endtrans %}
14 </div>
15 </article>
16 </section>
17 {% if interests is defined %}
18 <p class="message--note">
19 {% trans nb_interests=interests|length%}
20 You have currently {{nb_interests}} album in your personal list
21 {% pluralize %}
22 You have currently {{nb_interests}} albums in your personal list
23 {% endtrans %}
24 </p>
25
26 {{block.interests_grid(interests, 'file-image')}}
27 {% endif %}
28 {% call form.form(class="form--single") %}
29 {{ field.text("jid", _("device full jid"), required=true)}}
30 {{ field.submit(_("Access")) }}
31 {% endcall %}
32 {% endblock body %}