Mercurial > libervia-templates
comparison sat_templates/templates/bulma/ticket/overview.html @ 297:0657982e81af
bulma (ticket/overview): add a search box
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Dec 2020 17:30:47 +0100 |
parents | 1928ba66c194 |
children |
comparison
equal
deleted
inserted
replaced
296:fbea1b9a558f | 297:0657982e81af |
---|---|
2 | 2 |
3 {% set category_menu = [('ticket_new', url_tickets_new)] %} | 3 {% set category_menu = [('ticket_new', url_tickets_new)] %} |
4 {% extends 'base/base.html' %} | 4 {% extends 'base/base.html' %} |
5 {% import 'input/xmlui.html' as xmlui with context %} | 5 {% import 'input/xmlui.html' as xmlui with context %} |
6 {% import 'input/navigation.html' as navigation with context %} | 6 {% import 'input/navigation.html' as navigation with context %} |
7 {% import 'input/textbox.html' as textbox with context %} | |
7 | 8 |
8 {% block body %} | 9 {% block body %} |
9 <section class="section has-background-white"> | 10 <section class="section has-background-white"> |
10 <div class="content has-items-centered is-flex"> | 11 <nav class="level mb-4"> |
11 {{ component.action_button(url_tickets_new) }} | 12 <div class="level-left"> |
12 </div> | 13 {{ component.action_button(url_tickets_new) }} |
14 </div> | |
15 <div class="level-right"> | |
16 <div class="level-item"> | |
17 {{ textbox.search() }} | |
18 </div> | |
19 </div> | |
20 </nav> | |
13 <div id="tickets" class="container has-background-white px-1 py-1"> | 21 <div id="tickets" class="container has-background-white px-1 py-1"> |
14 {{ xmlui.generate_list( | 22 {{ xmlui.generate_list( |
15 tickets, | 23 tickets, |
16 ( | 24 ( |
17 ('title', _('Title')), | 25 ('title', _('Title')), |