From 54516c4bf6fa47082f326b8285184a641608e350 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sat, 26 Nov 2022 18:38:57 +0100 Subject: [PATCH 1/3] Don't show empty search results as None (in title) --- iwm_browser/templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwm_browser/templates/search.html b/iwm_browser/templates/search.html index 1f5909d..e80615e 100644 --- a/iwm_browser/templates/search.html +++ b/iwm_browser/templates/search.html @@ -1,7 +1,7 @@ - IWM Browser - {{ QueryValues["q"] }} + IWM Browser - {{ QueryValues["q"] if QueryValues["q"] is not none }} From c49b7b7a24765ead71e6f64d8ddec14ee88f7278 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sat, 26 Nov 2022 18:39:40 +0100 Subject: [PATCH 2/3] searchResults change --- iwm_browser/static/search/searchResults.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iwm_browser/static/search/searchResults.css b/iwm_browser/static/search/searchResults.css index 4eb3f1b..bb41a61 100644 --- a/iwm_browser/static/search/searchResults.css +++ b/iwm_browser/static/search/searchResults.css @@ -24,10 +24,10 @@ @media screen and (max-width: 550px) { .searchResults { - font-size: 16px; + font-size: small; } .times { - display: none; + font-size: smaller; } } From ce571c041953f31f21bc50f3cfda9645d3201e0f Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sat, 26 Nov 2022 19:02:02 +0100 Subject: [PATCH 3/3] Show the searchBar at the top of the Home --- iwm_browser/templates/home.html | 54 ++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 7 deletions(-) diff --git a/iwm_browser/templates/home.html b/iwm_browser/templates/home.html index 7e48945..0a5a4f2 100644 --- a/iwm_browser/templates/home.html +++ b/iwm_browser/templates/home.html @@ -7,16 +7,56 @@ +
-
-
IWM Browser
-
- - - +
+ +
+
IWM Browser
+
+ + + +
+
-