diff 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
line wrap: on
line diff
--- a/sat_templates/templates/bulma/ticket/overview.html	Thu Dec 10 11:29:04 2020 +0100
+++ b/sat_templates/templates/bulma/ticket/overview.html	Fri Dec 11 17:30:47 2020 +0100
@@ -4,12 +4,20 @@
 {% extends 'base/base.html' %}
 {% import 'input/xmlui.html' as xmlui with context %}
 {% import 'input/navigation.html' as navigation with context %}
+{% import 'input/textbox.html' as textbox with context %}
 
 {% block body %}
 <section class="section has-background-white">
-    <div class="content has-items-centered is-flex">
-        {{ component.action_button(url_tickets_new) }}
-    </div>
+    <nav class="level mb-4">
+        <div class="level-left">
+            {{ component.action_button(url_tickets_new) }}
+        </div>
+        <div class="level-right">
+            <div class="level-item">
+                {{ textbox.search() }}
+            </div>
+        </div>
+    </nav>
     <div id="tickets" class="container has-background-white px-1 py-1">
         {{ xmlui.generate_list(
               tickets,