Mercurial > libervia-templates
view sat_templates/templates/default/input/navigation.html @ 304:cdf88211b86b
bulma (input/field): `field` macro now has `control_class` and `in_group` attributes:
- `control_class` is used to specify additional classes for the control (when `class` is
used for classes of the of the `field`)
- when `in_group` is `true`, `field` is not added, only the `control` is used. This is
useful for grouping elements in the same field
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2021 20:44:01 +0100 |
parents | 4a03d0a6839b |
children |
line wrap: on
line source
{% macro prev_next(prev_label=_("newer"), next_label=_("older")) %} <nav class="prev_next box box--large box--zero"> <ul class="list list--inline"> {% if previous_page_url is defined %} <li class="prev_next__previous"> <a href="{{previous_page_url}}"> {{ icon('angle-double-left', cls='icon--text') }} {{prev_label}} </a> </li> {% endif %} {% if next_page_url is defined %} <li class="prev_next__next"> <a href="{{next_page_url}}"> {{next_label}} {{ icon('angle-double-right', cls='icon--text') }} </a> </li> {% endif %} </ul> </nav> {% endmacro %}