Update impressum styles add cookie law
This commit is contained in:
parent
2d60da90b0
commit
1b156e38b0
@ -53,6 +53,8 @@
|
|||||||
Clubhaus Schornbach 2007 - {% now 'Y' %}
|
Clubhaus Schornbach 2007 - {% now 'Y' %}
|
||||||
<br>
|
<br>
|
||||||
<a class="link-secondary" href="{% url 'impressum' %}">Impressum</a>
|
<a class="link-secondary" href="{% url 'impressum' %}">Impressum</a>
|
||||||
|
|
|
||||||
|
<a class="link-secondary" href="{% url 'cookies' %}">Cookie Policy</a>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
39
clubhaus/homepage/templates/homepage/cookies.html
Normal file
39
clubhaus/homepage/templates/homepage/cookies.html
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{% extends 'homepage/base.html' %}
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
<main class="container d-flex flex-column flex-grow-1 text-white mt-5">
|
||||||
|
<h1>Cookies</h1>
|
||||||
|
<p>Diese Seite benutzt ausschließlich technisch notwendige Cookies! Es werden weder tracker noch statistik
|
||||||
|
Cookies verwendet.</p>
|
||||||
|
<p>In untenstehender Liste finden Sie alle verwendeten Cookies und deren Verwendung.</p>
|
||||||
|
<div class="table table-responsive">
|
||||||
|
<table class="table text-white">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="text-nowrap">Cookie Name</th>
|
||||||
|
<th scope="col">Verwendung</th>
|
||||||
|
<th scope="col">Technisch Notwendig</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">sessionid</th>
|
||||||
|
<td>Dieser Cookie wird ausschließlich angelegt, wenn auf der Eventseite eine Abstimmung getätigt
|
||||||
|
wird.
|
||||||
|
Er speichert den Namen und die genutzte Parole für 2 Wochen.
|
||||||
|
</td>
|
||||||
|
<td>Ja, wenn auf der Eventseite abgestimmt wird.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">csrftoken</th>
|
||||||
|
<td>Zum Schutz des Abstimmungsformulars (sog. Cross-Site-Request-Forgery) wird ein kurzlebiges Token
|
||||||
|
abgelegt.
|
||||||
|
</td>
|
||||||
|
<td>Ja, allerdings nur sobald die Eventseite aufgerufen wird.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
{% endblock %}
|
@ -2,7 +2,7 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<main class="container d-flex flex-column flex-glow-1 text-white mt-5">
|
<main class="container d-flex flex-column flex-grow-1 text-white mt-5">
|
||||||
<div class="impressum">
|
<div class="impressum">
|
||||||
<h1>Impressum</h1>
|
<h1>Impressum</h1>
|
||||||
<p>Angaben gemäß § 5 TMG</p>
|
<p>Angaben gemäß § 5 TMG</p>
|
||||||
|
@ -7,5 +7,6 @@ urlpatterns = [
|
|||||||
path('event', views.events, name='events'),
|
path('event', views.events, name='events'),
|
||||||
path('tobacco', views.tobacco, name='tobacco'),
|
path('tobacco', views.tobacco, name='tobacco'),
|
||||||
path('voting', views.voting, name='voting'),
|
path('voting', views.voting, name='voting'),
|
||||||
path('impressum', views.impressum, name='impressum'),
|
path('law/impressum', views.impressum, name='impressum'),
|
||||||
|
path('law/cookies-policy', views.cookies, name='cookies'),
|
||||||
]
|
]
|
||||||
|
@ -21,6 +21,10 @@ def impressum(request: HttpRequest) -> django.http.HttpResponse:
|
|||||||
return render(request, 'homepage/impressum.html')
|
return render(request, 'homepage/impressum.html')
|
||||||
|
|
||||||
|
|
||||||
|
def cookies(request: HttpRequest) -> django.http.HttpResponse:
|
||||||
|
return render(request, 'homepage/cookies.html')
|
||||||
|
|
||||||
|
|
||||||
def tobacco(request: HttpRequest) -> django.http.HttpResponse:
|
def tobacco(request: HttpRequest) -> django.http.HttpResponse:
|
||||||
context = {'tobaccos': Tobacco.objects.all().order_by('-in_stock')}
|
context = {'tobaccos': Tobacco.objects.all().order_by('-in_stock')}
|
||||||
return render(request, 'homepage/tobacco.html', context)
|
return render(request, 'homepage/tobacco.html', context)
|
||||||
|
Loading…
Reference in New Issue
Block a user