Mercurial > libervia-templates
annotate sat_templates/templates/bulma/input/navigation.html @ 402:2bbcb7da56bc default tip
bulma: use Font-Awesome instead of Fontello + start of major redesign:
- Font-Awesome is now used instead of Fontello, following change in Libervia Media.
- This is a beginning of a major redesign of the web templates/web frontend. This
currently breaks a lot of thing.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Oct 2024 22:53:26 +0200 |
parents | 3db3509cbad1 |
children |
rev | line source |
---|---|
332
3db3509cbad1
bulma: fix items/pagination ordering in various places following ordering fix in Libervia/SàT Pubsub
Goffi <goffi@goffi.org>
parents:
232
diff
changeset
|
1 {% macro prev_next(prev_label=_("older"), next_label=_("newer")) %} |
230 | 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 %} | |
232
741dae9b0612
(bulma) pagination: fixed label for pagination-next
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
12 <a class="pagination-next pagination-disabled has-background-white has-text-grey-light has-hover-white-light">{{next_label}}</a> |
230 | 13 {% endif %} |
14 </nav> | |
15 </section> | |
16 {% endmacro %} |