Mercurial > libervia-templates
view sat_templates/templates/default/list/overview.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 | 1c330913ff13 |
children |
line wrap: on
line source
{# display the list of tickets #} {% set category_menu = [('ticket_new', url_tickets_new)] %} {% extends 'base/base.html' %} {% import 'input/xmlui.html' as xmlui with context %} {% import 'input/navigation.html' as navigation with context %} {% block body %} {{ icon_defs('angle-double-left', 'angle-double-right') }} <div id="tickets" class="view tickets overview"> {{ xmlui.generate_list(tickets, (('id', _('Id')), ('title', _('Title')), ('labels', _('Labels'))), {'id': '[{value}]'}, item_class_fields=['status', 'priority', 'severity'], on_click=on_ticket_click) }} </div> {{ navigation.prev_next(_("previous page"), _("next page")) }} {% endblock body %}