mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
127 lines
3.6 KiB
HTML
127 lines
3.6 KiB
HTML
|
{% from "macros.html" import information %}
|
||
|
{% extends "admin/master.html" %}
|
||
|
|
||
|
{% block body %}
|
||
|
{{ information(current_user, active_semester_str, role="assistant") }}
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<div class="d-inline-flex">
|
||
|
<table class="table table-bordered">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
Experiment
|
||
|
</th>
|
||
|
<td>
|
||
|
{{ experiment_label }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
Group number
|
||
|
</th>
|
||
|
<td>
|
||
|
{{ group_number }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<form method="POST">
|
||
|
{{ form.csrf_token }}
|
||
|
<div class="d-inline-flex">
|
||
|
<table class="table table-striped table-bordered">
|
||
|
<thead class="thead-dark">
|
||
|
<tr>
|
||
|
<th scope="col">
|
||
|
Appointment date
|
||
|
</th>
|
||
|
<th scope="col">
|
||
|
Should be in break
|
||
|
</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
{% for appointment_field in appointment_fields %}
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{ appointment_field }}
|
||
|
</td>
|
||
|
<td>
|
||
|
{{ appointment_field.description }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<div class="d-inline-flex">
|
||
|
<table class="table table-striped table-bordered">
|
||
|
<thead class="thead-dark">
|
||
|
<tr>
|
||
|
<th scope="col">
|
||
|
Student
|
||
|
</th>
|
||
|
<th scope="col">
|
||
|
Oral mark
|
||
|
</th>
|
||
|
<th scope="col">
|
||
|
Protocol mark
|
||
|
</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
{% for student, oral_experiment_mark, protocol_experiment_mark in experiment_mark_zip %}
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
{{ student }}
|
||
|
</th>
|
||
|
<td>
|
||
|
{{ oral_experiment_mark }}
|
||
|
</td>
|
||
|
<td>
|
||
|
{{ protocol_experiment_mark }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<div class="d-inline-flex">
|
||
|
<table class="table">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
{{ form.note.label }}
|
||
|
</th>
|
||
|
<td>
|
||
|
{{ form.note }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{ form.submit }}
|
||
|
</td>
|
||
|
</tr>
|
||
|
</form>
|
||
|
{{ footer|safe }}
|
||
|
{% endblock body %}
|