yt-links aktualisiert
This commit is contained in:
parent
827abc1e41
commit
05c064594d
|
|
@ -6,16 +6,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="card mx-auto" id="logincard">
|
<div class="card mx-auto" id="logincard">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if messages %}
|
|
||||||
{% for message in messages %}
|
|
||||||
<div class="alert alert-{{ message.tags }} alert-dismissible fade show " role="alert" id="message_{{forloop.counter}}">
|
|
||||||
{{ message }}
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close" onclick='javascript:$("#message_{{forloop.counter}}").fadeOut()'>
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset class="form-group" >
|
<fieldset class="form-group" >
|
||||||
|
|
|
||||||
|
|
@ -1057,7 +1057,6 @@ def handler500(request):
|
||||||
response.status_code = 500
|
response.status_code = 500
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
CRONJOB FUNCTION
|
CRONJOB FUNCTION
|
||||||
|
|
@ -1174,7 +1173,6 @@ class landingPage(TemplateView):
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
self.request.session.flush()
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Gibt False zurück, wenn der User an diesem Tag KEINE Abwesenheiten hat, ansonsten True!
|
Gibt False zurück, wenn der User an diesem Tag KEINE Abwesenheiten hat, ansonsten True!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue