comparison sat_templates/templates/bulma/input/navigation.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 741dae9b0612
comparison
equal deleted inserted replaced
229:739c3e6999fa 230:0e69b5843c2f
1 {% macro prev_next(prev_label=_("newer"), next_label=_("older")) %}
2 <section class="section">
3 <nav class="pagination is-rounded" role="navigation" aria-label="pagination">
4 {% if previous_page_url is defined %}
5 <a href="{{previous_page_url}}" class="pagination-previous has-background-white">{{prev_label}}</a>
6 {% else %}
7 <a class="pagination-previous pagination-disabled has-background-white has-text-grey-light has-hover-white-light">{{prev_label}}</a>
8 {% endif %}
9 {% if next_page_url is defined %}
10 <a href="{{next_page_url}}" class="pagination-next has-background-white">{{next_label}}</a>
11 {% else %}
12 <a class="pagination-next pagination-disabled has-background-white has-text-grey-light has-hover-white-light">{{prev_label}}</a>
13 {% endif %}
14 </nav>
15 </section>
16 {% endmacro %}