diff sat_templates/templates/bulma/blog/articles.html @ 296:fbea1b9a558f

bulma: new search box, used in blog for now
author Goffi <goffi@goffi.org>
date Thu, 10 Dec 2020 11:29:04 +0100
parents 40fccd3b7cf0
children 3db3509cbad1
line wrap: on
line diff
--- a/sat_templates/templates/bulma/blog/articles.html	Fri Nov 27 12:24:03 2020 +0100
+++ b/sat_templates/templates/bulma/blog/articles.html	Thu Dec 10 11:29:04 2020 +0100
@@ -5,6 +5,7 @@
 {% import 'components/avatar.html' as avatar with context %}
 {% import 'blog/macros.html' as blog with context %}
 {% import 'input/navigation.html' as navigation with context %}
+{% import 'input/textbox.html' as textbox with context %}
 
 {%- block title scoped -%}
     {%- if blog_page -%}
@@ -23,6 +24,15 @@
 
 {% if blog_items['items'] %}
     <div class="container mt-4">
+        <nav class="level mb-4">
+            <div class="level-left">
+            </div>
+            <div class="level-right">
+                <div class="level-item">
+                    {{ textbox.search() }}
+                </div>
+            </div>
+        </nav>
         <div id="blog_items" class="columns">
             <div class="column">
                 {{ blog.show_items(blog_items['items'], expanded=single) }}