Mercurial > libervia-templates
view sat_templates/templates/default/ticket/overview.html @ 289:f1a39607d6a5
bulma (base/base.html): `full_screen_body` parameter + body_wrapper:
- if `full_screen_body` is set in template, the `body--fullscreen` class will be added to
`<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport.
- new `body_wrapper` block, if a page needs to replace the `#body` container.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 28 Sep 2020 17:25:26 +0200 |
parents | 9e9ce1ae8b53 |
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 %}