Release - Upload
This commit is contained in:
@@ -0,0 +1,230 @@
|
||||
<!DOCTYPE html!>
|
||||
{% extends "pruefplan/tableBase.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block additionalScript %}
|
||||
<script>
|
||||
$.fn.dataTable.moment("DD.MM.YYYY HH:mm");
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block table %}
|
||||
<div class="container mb-3 mt-3">
|
||||
<h3>Prüfungsplan - {{ lecturer.firstName }} {{ lecturer.lastName }}</h3>
|
||||
<table id="lecturerExamTable"
|
||||
class="display table-striped"
|
||||
style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Datum</th>
|
||||
<th>Wochentag</th>
|
||||
<th>Raum</th>
|
||||
<th>Fachkennung</th>
|
||||
<th>Fächer</th>
|
||||
<th>Fächerbezeichnung</th>
|
||||
<th>Teilprüfung</th>
|
||||
<th>Anzahl Anmeldungen</th>
|
||||
<th>Aufsichtsart</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for examExeLine in lecExamLines %}
|
||||
<tr data-toggle="collapse" data-target="#{{ forloop.counter }}" class="accordion-toggle">
|
||||
<td>{{ examExeLine.date|date:"d.m.Y" }} {{ examExeLine.time|date:"H:i" }}</td>
|
||||
<td>{{ examExeLine.weekday }}</td>
|
||||
<td>{{ examExeLine.location|default_if_none:'' }}</td>
|
||||
<td>{{ examExeLine.examIdent|default_if_none:'' }}</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %}
|
||||
{{ subject.initials }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %}
|
||||
{{ subject.name }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %}
|
||||
{{ subject.identification }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>{{ examExeLine.examStudCound|default_if_none:'' }}</td>
|
||||
<td>{{ examExeLine.supervisorType }}</td>
|
||||
</tr>
|
||||
<tr class="accordian-body collapse" id="{{ forloop.counter }}">
|
||||
<td colspan="9">
|
||||
<div>
|
||||
<table class="table-nostriped"
|
||||
cellpadding="5"
|
||||
cellspacing="0"
|
||||
border="0"
|
||||
style="padding-left: 50px">
|
||||
<tr>
|
||||
<td>Aufsichtspersonen:</td>
|
||||
<td>
|
||||
{% for examExecutions in examExeLine.executionSet %}
|
||||
{{ examExecutions.lecturer.firstName }} {{ examExecutions.lecturer.lastName }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prüfungskennung:</td>
|
||||
<td>{{ examExeLine.partialExamIdent }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% comment %}
|
||||
<tfoot>
|
||||
</tfoot>
|
||||
{% endcomment %}
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
$("#lecturerExamTable").DataTable({
|
||||
lengthMenu: [[-1], ["Alle"]],
|
||||
ordering: false,
|
||||
bInfo: false,
|
||||
language: { url: "//cdn.datatables.net/plug-ins/1.10.24/i18n/German.json" }
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% comment %}
|
||||
<tbody>
|
||||
{% for examExeLine in lecExamExes %}
|
||||
<tr data-toggle="collapse" data-target="#{{forloop.counter}}" class="accordion-toggle">
|
||||
<td>
|
||||
{{ examExeLine.partialExam.exam.date|date:"d.m.Y" }} {{
|
||||
examExeLine.partialExam.exam.time|date:"H:i" }}
|
||||
</td>
|
||||
<td>{{ examExeLine.partialExam.exam.weekday }}</td>
|
||||
<td>{{ examExeLine.location }}</td>
|
||||
{% endblock %} {% comment %}
|
||||
<tbody>
|
||||
{% for examExeLine in lecExamExes %}
|
||||
<tr data-toggle="collapse" data-target="#{{forloop.counter}}" class="accordion-toggle">
|
||||
<td>
|
||||
{{ examExeLine.partialExam.exam.date|date:"d.m.Y" }} {{
|
||||
examExeLine.partialExam.exam.time|date:"H:i" }}
|
||||
</td>
|
||||
<td>{{ examExeLine.partialExam.exam.weekday }}</td>
|
||||
<td>{{ examExeLine.location }}</td>
|
||||
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %}{{ subject.initials }}<br />{% endfor %}
|
||||
</td>
|
||||
<td>{{ examExeLine.partialExam.identification }}</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %}{{ subject.name }}<br />{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %} {{ subject.identification
|
||||
}}<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %} {{ subject.initials }}<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>{{ examExeLine.partialExam.identification }}</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %} {{ subject.name }}<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{% for subject in examExeLine.subjectIds.all %} {{ subject.identification
|
||||
}}<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
<td>{{ examExeLine.partialExam.regStudCount }}</td>
|
||||
<td>{{ examExeLine.supervisorType }}</td>
|
||||
</tr>
|
||||
<tr class="accordian-body collapse" id="{{forloop.counter}}">
|
||||
<td colspan="9">
|
||||
<div>
|
||||
<table class="table-nostriped" cellpadding="5" cellspacing="0" border="0" style="padding-left: 50px">
|
||||
<tr>
|
||||
<td>Aufsichtspersonen:</td>
|
||||
<td>
|
||||
{% for examExecutions in
|
||||
examExeLine.partialExam.examexecution_set.all %} {{
|
||||
examExecutions.lecturer.firstName }} {{
|
||||
examExecutions.lecturer.lastName }}<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prüfungskennung:</td>
|
||||
<td>{{ examExeLine.partialExam.exam.identification }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<td>{{ examExeLine.partialExam.regStudCount }}</td>
|
||||
<td>{{ examExeLine.supervisorType }}</td>
|
||||
</tr>
|
||||
<tr class="accordian-body collapse" id="{{ forloop.counter }}">
|
||||
<td colspan="9">
|
||||
<div>
|
||||
<table class="table-nostriped" cellpadding="5" cellspacing="0" border="0" style="padding-left: 50px">
|
||||
<tr>
|
||||
<td>Aufsichtspersonen:</td>
|
||||
<td>
|
||||
{% for examExecutions in
|
||||
examExeLine.partialExam.examexecution_set.all %}
|
||||
{{
|
||||
examExecutions.lecturer.firstName }} {{
|
||||
examExecutions.lecturer.lastName }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prüfungskennung:</td>
|
||||
<td>{{ examExeLine.partialExam.exam.identification }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% endcomment %}
|
||||
Reference in New Issue
Block a user