From c3ff2408a6fff05b0b5b167603b0811dd2965f3d Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 30 May 2023 15:56:19 +0200 Subject: [PATCH] some html styling --- gawa/start/templates/start/index.html | 24 ++++-------------------- gawa/start/templates/start/search.html | 21 +-------------------- gawa/start/views.py | 1 + 3 files changed, 6 insertions(+), 40 deletions(-) diff --git a/gawa/start/templates/start/index.html b/gawa/start/templates/start/index.html index 9b23efc..82c3959 100644 --- a/gawa/start/templates/start/index.html +++ b/gawa/start/templates/start/index.html @@ -4,33 +4,17 @@ {% block languagecode %}{{ LANGUAGE_CODE }}{% endblock languagecode %} {% block title %}{% translate "cscherr.de" %} - {% translate "startpage" %}{% endblock title %} {% block main %} -
+

My First Bootstrap Page

Resize this responsive page to see the effect!

-
+
- Column + {% lorem 1 b %}
- Column -
-
-
-
- Column -
-
- Column -
-
-
-
- Column -
-
- Column + {% lorem 1 b %}
diff --git a/gawa/start/templates/start/search.html b/gawa/start/templates/start/search.html index e25b09e..b296968 100644 --- a/gawa/start/templates/start/search.html +++ b/gawa/start/templates/start/search.html @@ -10,26 +10,7 @@
- Column -
-
- Column -
-
-
-
- Column -
-
- Column -
-
-
-
- Column -
-
- Column + I don't know what to put here
diff --git a/gawa/start/views.py b/gawa/start/views.py index 595903d..2e09f5f 100644 --- a/gawa/start/views.py +++ b/gawa/start/views.py @@ -47,6 +47,7 @@ class MainSearchView(TemplateView): form = MainSearchForm(request.GET) if not form.is_valid(): return render(request, "errors/bad_request.html") + context = { "searchstr": form.cleaned_data['search'], "MainSearchForm": MainSearchForm()