This commit is contained in:
vale981 2014-04-29 20:27:42 +02:00
parent ae37ebd181
commit cb39baa9c2
17 changed files with 333 additions and 79 deletions

View file

@ -57,16 +57,24 @@ WSGI_APPLICATION = 'fahrschule_vale981.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'fs_final_1',
'USER': 'postgres',
'PASSWORD': 'valentin',
'HOST': 'localhost'
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJECT_DIR, 'base.db'),
}
}
# }
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql_psycopg2',
# 'NAME': 'fs_final_1',
# 'USER': 'postgres',
# 'PASSWORD': 'valentin',
# 'HOST': 'localhost'
# }
# }
# Internationalization
# https://docs.djangoproject.com/en/1.6/topics/i18n/

View file

@ -7,7 +7,7 @@ urlpatterns = patterns('',
# Examples:
(r'^quiz/', include('fs_quiz.urls')),
# url(r'^blog/', include('blog.urls')),
(r'^/', 'fahrschule_vale981.views.login'),
(r'^$', 'fahrschule_vale981.views.login'),
(r'^login/', 'fahrschule_vale981.views.login'),
(r'^logout/', 'fahrschule_vale981.views.logout_view'),
(r'^auth/', 'fahrschule_vale981.views.auth_view'),

View file

@ -57,6 +57,7 @@ class Quiz(models.Model) :
help_text="Die Beschreibung des Quiz",
verbose_name="Beschreibung"
)
color = models.CharField(blank=True, max_length=23)
class Admin:
pass

View file

@ -10,4 +10,5 @@ urlpatterns = patterns('',
url(r'^auswertung/', 'fs_quiz.views.auswertung_index', name='Auswertung'),
url(r'^aw/get/(?P<user_id>\d+)$', 'fs_quiz.views.ausw_user', name='awuser'),
url(r'^aw/get/(?P<user_id>\d+)/(?P<quiz_id>\d+)$', 'fs_quiz.views.ausw_user_quiz', name='awuserquiz'),
url(r'^aw/get/(?P<user_id>\d+)/all$', 'fs_quiz.views.ausw_user_all', name='awuserquizall'),
)

View file

@ -12,6 +12,11 @@ from userprofile.models import UserQuizRel, ResultGroup
def quizes(request):
import subprocess
import sys
p = subprocess.Popen([sys.executable, 'manage.py'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
height=75*Quiz.objects.count()
height_menu = height + 10
if Quiz.objects.count() == 0:
@ -79,10 +84,7 @@ def check_view(request):
aw_id = antwort.id
richtig = antwort.richtig
check = request.POST.get('aw_check'+str(aw_id), '')
if bool(richtig) == bool(check):
richtig=True
else:
richtig=False
res = Results(quiz=quiz, frage=frage, user=user_act, richtig=richtig, choice=check, aw=antwort)
res.save()
@ -96,9 +98,9 @@ def auswertung_index(request):
def ausw_user(request, user_id=1):
user = User.objects.get(id=user_id)
return render_to_response('auswertung_user.html', {'user': user,
return render_to_response('auswertung_user.html', {'user_akt': user,
'results': Results.objects.filter(user=user),
'current_user': request.user,
'user': request.user,
'results_all': Results.objects.all(),
'fragen': Frage.objects.all(),
'quiz': Quiz.objects.all(),
@ -107,8 +109,8 @@ def ausw_user(request, user_id=1):
def ausw_user_quiz(request, user_id=1, quiz_id=1):
user = User.objects.get(id=user_id)
quiz = Quiz.objects.get(id=quiz_id)
return render_to_response('auswertung_user_qzuiz.html', {'user': user,
'current_user': request.user,
return render_to_response('auswertung_user_qzuiz.html', {'user_akt': user,
'user': request.user,
'results': Results.objects.filter(user=user),
'results_all': Results.objects.all(),
'fragen': Frage.objects.all(),
@ -116,3 +118,15 @@ def ausw_user_quiz(request, user_id=1, quiz_id=1):
'user_quiz': UserQuizRel.objects.get(user=user),
'result_group': ResultGroup.objects.filter(user=user, quiz=quiz),
})
def ausw_user_all(request, user_id=1):
user = User.objects.get(id=user_id)
return render_to_response('auswertung_user_all.html', {'user_akt': user,
'user': request.user,
'results': Results.objects.filter(user=user),
'results_all': Results.objects.all(),
'fragen': Frage.objects.all(),
'quiz': Quiz.objects.all(),
'user_quiz': UserQuizRel.objects.get(user=user),
'result_group': ResultGroup.objects.filter(user=user),
})

View file

@ -2,7 +2,7 @@ body{
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
overflow: auto;
height: 100%;
max-height: 100%;
}
@ -14,19 +14,34 @@ bottom: 0;
left: 0;
width: 100%; /*Width of frame div*/
height: 30px;
overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
overflow: auto; /*Disable scrollbars. Set to "scroll" to enable*/
background: #0404AF;
color: white;
}
#maincontent{
position: relative;
top: 0;
overflow: hidden;
top: 200px;
overflow: auto;
/*Set left value to WidthOfFrameDiv*/
right: 0;
bottom: 0;
background: #fff;
box-shadow: 0 0 60px;
border-radius: 10px;
height: 1500px;
}
#maincontent_without_head
{
position: relative;
top: 0px;
overflow: auto;
/*Set left value to WidthOfFrameDiv*/
right: 0;
bottom: 0;
background: #fff;
box-shadow: 0 0 60px;
}
.innertube{
@ -49,6 +64,7 @@ padding: 0 0 0 200px; /*Set value to (0 0 0 WidthOfFrameDiv)*/
* html #maincontent{ /*IE6 hack*/
height: 100%;
width: 100%;
;
}
#men{
@ -84,7 +100,7 @@ a{
}
#main_content{
margin-top: -3.4%;
margin-top: -30px;
}
#frage{
font-family: Arial, sans-serif;
@ -302,3 +318,25 @@ background-image: linear-gradient(top, #ebf3fc, #dce9f9);
font-size: 20px;
text-align: center;
}
/*
Change the look'n'feel of labels (which are adjacent to radiobuttons).
Add some margin, padding to label
*/
input[type=checkbox] + #checklabel {
display:inline-block;
margin:-2px;
padding: 4px 12px;
background-color: #e7e7e7;
border-color: #ddd;
}
#checklabel {
display: block;
width: 100%;
height: 200%;
}

BIN
static/pics/pics/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

View file

@ -1,4 +1,7 @@
{% extends "admin/base.html" %}
{% block branding %}
<h1 id="site-name">Control Panel</h1>
{% endblock %}
{% block userlinks %}
<a href="/quiz/auswertung/">Auswertung</a>
{% endblock %}

View file

@ -5,13 +5,12 @@
{% if user.is_staff == False %}
<h1>Kein Zutrit!</h1>
{% else %}
<h1>Übersicht über alle User der Gruppe Schüler:</h1>
<ol>
<table border="0px">
{% for users in users %}
<li>
<a href="/quiz/aw/get/{{ users.id }}">{{ users.get_full_name }}</a>
</li>
<tr><td align="center"><h3><a href="/quiz/aw/get/{{ users.id }}">{{ users.get_full_name }}</a></h3></td></tr>
{% endfor %}
</ol>
</table>
{% endif %}
{% endblock %}

View file

@ -1,16 +1,21 @@
{% extends 'quizzes.html' %}
{% block main %}
{% if current_user.is_staff == False %}
{% if user.is_staff == False %}
<h1>Kein Zutrit!</h1>
{% else %}
<h1>Übersicht für {{ user.get_full_name }}</h1>
<ul>
<h1>Übersicht für {{ user_akt.get_full_name }}</h1>
<table class="zebra">
<tr><td align="center"><a href="/quiz/aw/get/{{ user_akt.id }}/all" id="main_link">Gesamt Ergebnis</a></td></tr>
{% for quiz in user_quiz.quiz.all %}
<li>
<a href="/quiz/aw/get/{{ user.id }}/{{ quiz.id }}">{{ quiz.title }}</a>
</li>
<tr align="center">
<td>
<a id="main_link" href="/quiz/aw/get/{{ user_akt.id }}/{{ quiz.id }}">{{ quiz.title }}</a>
</td>
</tr>
{% endfor %}
</ul>
</table>
{% endif %}
{% endblock %}

View file

@ -0,0 +1,128 @@
{% extends 'quizzes.html' %}
{% block main %}
<script>
$( document ).ready(hideTables);
function hideTables(){
{% for result_group in result_group %}
$("#Result{{ result_group.id }}").hide();
{% endfor %}
}
</script>
{% if user.is_staff == False %}
<h1>Kein Zutrit!</h1>
{% else %}
{% for result_group in result_group %}
<div id="ResultDiv{{ result_group.id }}">
<table class="bordered" id="Result{{ result_group.id }}" border="0">
<tr>
<th>Frage</th>
<th>Richtig</th>
<th colspan="2">Punkte</th>
</tr>
{% for results in result_group.results.all %}
{% for fragen in fragen %}
{% if fragen == results.frage %}
{% if results.richtig == True %}
{% if results.choice == True %}
<tr style="background-color: MediumAquamarine">
<td style="color: white;">{{ fragen.content }}</td>
<td style="color: white;">Richtig</td>
<td class="addition" colspan="2" style="color: white;" align="center">1/1</td>
</tr>
{% elif results.choice == False %}
<tr style="background-color: #F08080">
<td style="color: white;">{{ fragen.content }}</td>
<td style="color: white;">Falsch</td>
<td class="addition" colspan="2" style="color: white;" align="center">0/1</td>
</tr>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
<tr>
<th>{{ result_group.res_time }}</th>
<th></th>
<th align="center"> <x id="1{{ result_group.id }}"><x id="sumall{{ result_group.id }}" align="center">SUMALL</x></x>/<x id="2{{ result_group.id }}">{{ result_group.quiz.fragen.count }}</x></th>
</tr>
</table>
<br>
<h1>{{ result_group.res_time.date }}</h1>
<table id="summary{{ result_group.id }}" class="bordered" style="width:100px;">
<tr>
<th width="30px">Modul: </th><td>{{ result_group.quiz.title }}</td>
</tr>
<tr>
<th>Ergebnis: </th>
<td><div>
<div id="prozent{{ result_group.id }}">Prozent</div>
</div></td>
</tr>
</table>
</div>
<script>
var Points = 0.0;
$('#Result{{ result_group.id }} td.addition').each(function(){
Points += parseFloat($(this).text());
});
$("#sumall{{ result_group.id }}").text(Points);
var rowCount = $('#myTable tr').length;
var prozent = parseInt($("#1{{ result_group.id }}").text()) / parseInt($("#2{{ result_group.id }}").text()) * 100;
$("#prozent{{ result_group.id }}").text(prozent + '%');
</script>
<br>
<input type="button" download="{{ user_akt.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv" onclick="tableToExcel('ResultDiv{{ result_group.id }}', '{{ user_akt.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv')" value="Export to Excel">
<br><br>
{% endfor %}
<br>
{% endif %}
<script>
function printDiv()
{
{% for result_group in result_group %}
var divToPrint{{ result_group.id }}=document.getElementById('summary{{ result_group.id }}');
{% endfor %}
var sim_res = $('#sim_res').val();
newWin= window.open("");
newWin.document.write("<style>th{text-align: left;} #bd{background-size: 100%; background-image: url(/media/pics/urkunde.jpg); width:1000px; height:1410px;-webkit-print-color-adjust:exact; margin:-8px;padding:0;} table{display:inline-table;}#name{position:absolute;top:405px;left:100px;width:800px;height:100px; text-align:center;}#results{position: absolute; top: 775px; left:100px; width:800px;}</style><div id='bd'><body style='font-family: Arial; background-color:#84FF3E;'><div id='name'><span style='line-height:1.9em; font-size:50px; font-family:fantasy;'>{{ user_akt.get_full_name }}</span></div><div id='results' align='center'>" {% for result_group in result_group %}+ divToPrint{{ result_group.id }}.outerHTML + " "{% endfor %} + "</div><span style='font-weight:bold; position:absolute; top:910px; left:100px; width:800px; text-align: center;'>Simulator Ergebnis: " + sim_res + "</span></body></div>");
}
</script>
<label for="sim_res">Simulator Ergebnis:</label>
<input type="Text" id="sim_res">
<input type="button" onclick="printDiv()" value="Zeugnis Drucken">
<br>
<script>
var tableToExcel = (function() {
var uri = 'data:application/vnd.ms-excel;base64,'
, template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>'
, base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) }
, format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, p) { return c[p]; }) }
return function(table, name) {
if (!table.nodeType) table = document.getElementById(table)
var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
window.location.href = uri + base64(format(template, ctx))
}
})()
</script>
{% endblock %}

View file

@ -1,20 +1,19 @@
{% extends 'quizzes.html' %}
{% block main %}
{% if current_user.is_staff == False %}
{% if user.is_staff == False %}
<h1>Kein Zutrit!</h1>
{% else %}
{% for result_group in result_group %}
<h1>{{ result_group.res_time }}</h1>
<div id="ResultDiv{{ result_group.id }}">
<table class="bordered" id="Result{{ result_group.id }}" border="0">
<tr>
<th>Frage</th>
<th>Antwort</th>
<th>Angekreuzt</th>
<th>Richtig</th>
<th>Punkte</th>
<th colspan="2">Punkte</th>
</tr>
{% for results in result_group.results.all %}
@ -23,30 +22,19 @@
{% if fragen == results.frage %}
{% if results.richtig == True %}
{% if results.choice == True %}
<tr style="background-color: MediumAquamarine">
<td style="color: white;">{{ fragen.content }}</td>
<td style="color: white;">{{ results.aw.content }}</td>
{% if results.choice == True %}
<td style="color: white;" align="center" ></td>
{% else %}
<td style="color: white;" align="center">X</td>
{% endif %}
<td style="color: white;">Richtig</td>
<td class="addition" style="color: white;" align="center">1/1</td>
<td class="addition" colspan="2" style="color: white;" align="center">1/1</td>
</tr>
{% endif %}
{% if results.richtig == False %}
<tr style="background-color: #F08080">
{% elif results.choice == False %}
<tr style="background-color: #F08080">
<td style="color: white;">{{ fragen.content }}</td>
<td style="color: white;">{{ results.aw.content }}</td>
{% if results.choice == True %}
<td style="color: white;" align="center"></td>
{% else %}
<td style="color: white;" align="center">X</td>
{% endif %}
<td style="color: white;">Falsch</td>
<td class="addition" style="color: white;" align="center">0/1</td>
<td class="addition" colspan="2" style="color: white;" align="center">0/1</td>
</tr>
{% endif %}
{% endif %}
@ -62,14 +50,30 @@
<tr>
<th>Quiz:</th>
<th>{{ quiz.title }}</th>
<th>Benutzer:</th>
<th>{{ user.get_full_name }}</th>
<th align="center"> <x id="sumall{{ result_group.id }}" align="center">SUMALL</x>/{{ result_group.results.count }}</th>
<th>{{ result_group.res_time }}</th>
<th></th>
<th align="center"> <x id="1{{ result_group.id }}"><x id="sumall{{ result_group.id }}" align="center">SUMALL</x></x>/<x id="2{{ result_group.id }}">{{ quiz.fragen.count }}</x></th>
</tr>
</table>
<br>
<table id="summary{{ result_group.id }}" class="bordered">
<tr>
<th>Name: </th><td>{{ user_akt.get_full_name }}</td>
</tr>
<tr>
<th>Datum:</th><td>{{ result_group.res_time }}</td>
</tr>
<tr>
<th>Modul: </th><td>{{ quiz.title }}</td>
</tr>
<tr>
<th>Ergebnis: </th>
<td><div>
<div id="prozent{{ result_group.id }}">Prozent</div>
</div></td>
</tr>
</table>
</div>
<script>
var Points = 0.0;
$('#Result{{ result_group.id }} td.addition').each(function(){
@ -77,7 +81,11 @@ $('#Result{{ result_group.id }} td.addition').each(function(){
});
$("#sumall{{ result_group.id }}").text(Points);
var rowCount = $('#myTable tr').length;
var prozent = parseInt($("#1{{ result_group.id }}").text()) / parseInt($("#2{{ result_group.id }}").text()) * 100;
$("#prozent{{ result_group.id }}").text(prozent + '%' + ' richtige Antworten');
</script>
<script>
var tableToExcel = (function() {
var uri = 'data:application/vnd.ms-excel;base64,'
@ -90,10 +98,25 @@ var tableToExcel = (function() {
window.location.href = uri + base64(format(template, ctx))
}
})()
</script>
<script>
function printDiv()
{
var img = '<img src="/media/pics/1.png" align="center">';
var divToPrint=document.getElementById('summary{{ result_group.id }}');
newWin= window.open("");
newWin.document.write(img + "<style>th{text-align: left;} div{margin-left: -1px;}</style><body style='font-family: Arial; text-align: left;'><hr><br>" + divToPrint.outerHTML + "<br><hr>Ausgestellt von Tobermann GmbH</body>");
setTimeout(printClose(),2000);
function printClose(){
newWin.print();
newWin.close();
}
}
</script>
<br>
<input type="button" download="{{ user.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv" onclick="tableToExcel('Result{{ result_group.id }}', '{{ user.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv')" value="Export to Excel">
<input type="button" onclick="printDiv()" value="Ergebnis Drucken">
<input type="button" download="{{ user_akt.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv" onclick="tableToExcel('ResultDiv{{ result_group.id }}', '{{ user_akt.get_full_name }} | {{ result_group.res_time }} | Ergebnis.csv')" value="Export to Excel">
{% endfor %}
<br>
{% endif %}
{% endblock %}

View file

@ -1,16 +1,35 @@
{% extends 'quizzes.html' %}
{% block content %}
<!--Force IE6 into quirks mode with this comment tag-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" href="/media/pics/icon.png">
<title>Tobermann Truck</title>
{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static 'css/quizz.css' %}"/>
<script type="text/javascript" src="{% static 'jquery/jquery.js' %}"></script>
</head>
<body style="background-image: url('/media/pics/bg.jpg'); background-size: 100%">
{% if form.errors %}
<p class="error">Benutzernahme oder Passwort falsch!</p>
{% endif %}
<table class="bordered">
<table align="center" style="width: 40%;margin-top: 20%; box-shadow: 0 0 10px; background-color: white;" class="bordered">
<form action="/auth/" method="post">{% csrf_token %}
<tr><th><label for="firstname">Vorname:</label></th>
<td style="width: 100px"><input type="text" class="login" name="firstname" value="" id="firstname"></td></tr>
<tr><th><label for="lastname">Nachname:</label></th>
<td><input type="text" class="login" name="lastname" value="" id="lastname"></td></tr>
<input type="submit" class="button" value="Los Gehts!" />
<tr><td colspan="2"><input type="submit" class="button" value="Los Gehts!" /></td></tr>
</form>
</table>
{% endblock %}
</body>
<footer><a style="position: fixed; top: 96%; left: 2px;" href="/admin/">Admin-Bereich</a></footer>

View file

@ -33,11 +33,12 @@
</tr>
<tr>
{% for aw in Frage.antworten.all %}
<td colspan="3">{% if aw.bild == "" %}{% else %}<img src="/media/{{ aw.bild }}" align="center" width="100"><br>{% endif %}
<input align="center" type="checkbox" style="position: relative; bottom:-1px" class="css-checkbox" name="aw_check{{ aw.id }}" id="aw_check">
<label for="aw_check{{ aw.id }}">{% if aw.bild == "" %}{{ aw.content }}{% else %}{% endif %}</label>
<td colspan="3"><label id="checklabel" for="aw_check{{ aw.id }}">
{% if aw.bild == "" %}{% else %}<img src="/media/{{ aw.bild }}" align="center" width="100"><br>{% endif %}
<input align="center" type="checkbox" id="aw_check{{ aw.id }}" name="aw_check{{ aw.id }}" class="aw_check[{{ Frage.id }}][]" />
{% if aw.bild == "" %}{{ aw.content }}{% else %}{% endif %}
</label>
</td>
<input type="hidden" name="antwort{{ Frage.id }}" value="{{ aw.id }}">
@ -56,9 +57,17 @@
{% endblock %}
<script>$("input:checkbox").click(function() {
if ($(this).is(":checked")) {
var group = "input:checkbox[class='" + $(this).attr("class") + "']";
$(group).prop("checked", false);
$(this).prop("checked", true);
} else {
$(this).prop("checked", false);
}
});</script>
{% endblock %}
</html>

View file

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Fahrschul examiner...</title>
<title>Tobermann Truck</title>
@ -16,9 +16,12 @@
</head>
<body>
{% if user.is_staff == False %}<img src="/media/pics/head.png" style="position: fixed;" width="100%">{% endif %}
{% if user.is_staff == True %}
<div id="framecontent">
<div class="innertube_men">
{% block menu %}
<div class="men_div">
<a id="men" href="/quiz/all">Übersicht</a>
@ -45,13 +48,15 @@
</div>
{% endif %}
<div id="maincontent">
{% if user.is_staff == False %}<div id="maincontent">{% else %}<div id="maincontent_without_head">{% endif %}
<div class="innertube" align="center">
{% block content %}
{% if user.is_authenticated %}
{% block main %}
<br><br>
<br>
<div id="main_content">
{% if quizes.count == 0 %}
@ -60,12 +65,12 @@
<h1 id="main_link" align="center">Keine Fragebogen vorhanden!</h1>
{% endif %}
<br>
<table class="bordered" style="width: 100%">
<table class="bordered" style="width: 100%;">
{% for quiz in user_quiz.allowed_quiz.all %}
<tr style="width: auto"><td><br><a id="main_link" href="/quiz/get/{{ quiz.id }}">{{ quiz.title }}</a>
<tr style="width: auto; background-color:{{ quiz.color }};"><td onclick="document.location = '/quiz/get/{{ quiz.id }}';"><br><x id="main_link">{{ quiz.title }}</x>
<br>
{{ quiz.description }}<br>
<br></td></tr>
@ -73,7 +78,7 @@
</table>
</div>
<br>
{% endblock %}
{% else %}
@ -81,6 +86,7 @@
{% endif %}
<br>
<a href="/logout/"><input type="submit" class="button" value="Schließen"/></a>
{% endblock %}
</div>
</div>