From 60601b270e3002332410698929c61e3fe0bfacf9 Mon Sep 17 00:00:00 2001 From: radex Date: Mon, 11 May 2020 20:12:15 +0200 Subject: [PATCH] Search everywhere --- storage/templates/index.html | 13 +------------ storage/templates/results.html | 2 ++ templates/base.html | 4 ++-- templates/widgets/bigsearch.html | 12 ++++++++++++ 4 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 templates/widgets/bigsearch.html diff --git a/storage/templates/index.html b/storage/templates/index.html index 4d268e3..2310e6e 100644 --- a/storage/templates/index.html +++ b/storage/templates/index.html @@ -1,16 +1,5 @@ {% extends "base.html" %} {% block content %} -
-
-
-
- - - - -
-
-
-
+{% include "widgets/bigsearch.html" %} {% endblock %} diff --git a/storage/templates/results.html b/storage/templates/results.html index ce5f7f4..3c5fc7d 100644 --- a/storage/templates/results.html +++ b/storage/templates/results.html @@ -1,5 +1,7 @@ {% extends "base.html" %} {% block content %} + {% include "widgets/bigsearch.html" %} +
{% include "widgets/itemlist.html" with list=results show_paths=True show_placeholder=True %} {% endblock %} diff --git a/templates/base.html b/templates/base.html index d322ab2..9f5706f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,14 +25,14 @@