From 9933a529c3965cedc8307002986dec3c05960388 Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Mon, 6 Nov 2023 18:09:54 +0000 Subject: [PATCH] Work without JS --- {front-end/src => mwmbl/templates}/index.html | 54 ++++++++----------- mwmbl/urls.py | 7 +-- mwmbl/views.py | 8 ++- 3 files changed, 32 insertions(+), 37 deletions(-) rename {front-end/src => mwmbl/templates}/index.html (61%) diff --git a/front-end/src/index.html b/mwmbl/templates/index.html similarity index 61% rename from front-end/src/index.html rename to mwmbl/templates/index.html index f0ae9a4..8c68729 100644 --- a/front-end/src/index.html +++ b/mwmbl/templates/index.html @@ -8,34 +8,38 @@ - MWMBL - Search + {% if query %} + Mwmbl - {{ query }} + {% else %} + Mwmbl - Search + {% endif %} - + - + - - - + + + - + - + @@ -47,30 +51,11 @@ - - + -