1
0

Adjust some styles and make session cookie secure only

This commit is contained in:
Marcel Schwarz 2022-08-06 01:10:27 +02:00
parent 8b8868f180
commit 81ae44d17a
3 changed files with 4 additions and 2 deletions

View File

@ -73,6 +73,8 @@ if csrf_origins := os.getenv("CSRF_TRUSTED_ORIGINS"):
WSGI_APPLICATION = 'clubhaus.wsgi.application' WSGI_APPLICATION = 'clubhaus.wsgi.application'
SESSION_COOKIE_SECURE = True
# Database # Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases # https://docs.djangoproject.com/en/4.0/ref/settings/#databases

View File

@ -48,7 +48,7 @@
{% block main %}{% endblock %} {% block main %}{% endblock %}
<footer class="container d-flex w-100 p-3 mx-auto flex-column text-white text-center text-white-50"> <footer class="container d-flex w-100 pt-3 mx-auto flex-column text-white text-center text-white-50">
<p> <p>
Clubhaus Schornbach 2007 - {% now 'Y' %} Clubhaus Schornbach 2007 - {% now 'Y' %}
<br> <br>

View File

@ -15,6 +15,6 @@
{% block main %} {% block main %}
<div class="d-flex flex-column h-100 mx-3"> <div class="d-flex flex-column h-100 mx-3">
<main class="d-flex row flex-grow-1 w-100 mt-5 mb-4 mx-auto bg-logo" style="max-width: 42rem"></main> <main class="d-flex row flex-grow-1 w-100 mt-5 mb-4 mx-auto bg-logo" style="max-width: 42rem"></main>
<div class="d-flex mb-3 mt-0 mx-auto flex-column text-white text-center display-3 font-milestone">The Original</div> <div class="d-flex mb-3 mt-0 mx-auto flex-column text-white text-center display-3 font-milestone user-select-none">The Original</div>
</div> </div>
{% endblock %} {% endblock %}