mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Show assistants the weightings
This commit is contained in:
parent
ce3de0f6de
commit
a5b5c4156c
2 changed files with 42 additions and 9 deletions
|
@ -194,7 +194,7 @@ class AssistantGroupExperimentView(SecureAssistantModelView):
|
||||||
return self.render(
|
return self.render(
|
||||||
"assistant_group_experiment_form.jinja.html",
|
"assistant_group_experiment_form.jinja.html",
|
||||||
form=form,
|
form=form,
|
||||||
experiment_label=group_experiment.semester_experiment.experiment.str(),
|
semester_experiment=group_experiment.semester_experiment,
|
||||||
group_number=group_experiment.group.number,
|
group_number=group_experiment.group.number,
|
||||||
appointment_fields=appointment_fields,
|
appointment_fields=appointment_fields,
|
||||||
experiment_mark_zip=zip(
|
experiment_mark_zip=zip(
|
||||||
|
|
|
@ -9,14 +9,6 @@
|
||||||
<div class="d-inline-flex">
|
<div class="d-inline-flex">
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
Experiment
|
|
||||||
</th>
|
|
||||||
<td>
|
|
||||||
{{ experiment_label }}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
Group number
|
Group number
|
||||||
|
@ -31,6 +23,47 @@
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
<div class="d-inline-flex">
|
||||||
|
<table class="table table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
Experiment
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
{{ semester_experiment.experiment.str() }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
Oral mark weighting
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
{{ semester_experiment.oral_weighting }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
Protocol mark weighting
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
{{ semester_experiment.protocol_weighting }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
Final experiment mark weighting
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
{{ semester_experiment.final_weighting }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
<div class="d-inline-flex">
|
<div class="d-inline-flex">
|
||||||
|
|
Loading…
Reference in a new issue