some html styling

This commit is contained in:
Christoph J. Scherr 2023-05-30 15:56:19 +02:00
parent ca066e7c16
commit c3ff2408a6
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
3 changed files with 6 additions and 40 deletions

View File

@ -4,33 +4,17 @@
{% block languagecode %}{{ LANGUAGE_CODE }}{% endblock languagecode %} {% block languagecode %}{{ LANGUAGE_CODE }}{% endblock languagecode %}
{% block title %}{% translate "cscherr.de" %} - {% translate "startpage" %}{% endblock title %} {% block title %}{% translate "cscherr.de" %} - {% translate "startpage" %}{% endblock title %}
{% block main %} {% block main %}
<div class="container-xxl"> <div class="container-xxl px-4">
<div class="jumbotron text-center"> <div class="jumbotron text-center">
<h1>My First Bootstrap Page</h1> <h1>My First Bootstrap Page</h1>
<p>Resize this responsive page to see the effect!</p> <p>Resize this responsive page to see the effect!</p>
</div> </div>
<div class="row text-center"> <div class="row text-center gy-5">
<div class="col"> <div class="col">
Column {% lorem 1 b %}
</div> </div>
<div class="col"> <div class="col">
Column {% lorem 1 b %}
</div>
</div>
<div class="row text-center">
<div class="col">
Column
</div>
<div class="col">
Column
</div>
</div>
<div class="row text-center">
<div class="col">
Column
</div>
<div class="col">
Column
</div> </div>
</div> </div>
</div> </div>

View File

@ -10,26 +10,7 @@
</div> </div>
<div class="row text-center"> <div class="row text-center">
<div class="col"> <div class="col">
Column I don't know what to put here
</div>
<div class="col">
Column
</div>
</div>
<div class="row text-center">
<div class="col">
Column
</div>
<div class="col">
Column
</div>
</div>
<div class="row text-center">
<div class="col">
Column
</div>
<div class="col">
Column
</div> </div>
</div> </div>
</div> </div>

View File

@ -47,6 +47,7 @@ class MainSearchView(TemplateView):
form = MainSearchForm(request.GET) form = MainSearchForm(request.GET)
if not form.is_valid(): if not form.is_valid():
return render(request, "errors/bad_request.html") return render(request, "errors/bad_request.html")
context = { context = {
"searchstr": form.cleaned_data['search'], "searchstr": form.cleaned_data['search'],
"MainSearchForm": MainSearchForm() "MainSearchForm": MainSearchForm()