ScoDoc/app/templates/formsemestre/etuds_sans_notes.j2

45 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-07-19 19:04:07 +02:00
{% extends "sco_page.j2" %}
{% block styles %}
{{super()}}
<style>
.sco-std-form select, .sco-std-form input[type="submit"] {
height: 24px;
}
</style>
{% endblock %}
{% block app_content %}
{% if not etuds %}
<h3>aucun étudiant sans notes</h3>
{% else %}
<h3>Étudiants sans notes:</h3>
<ul>
{% for etud in etuds %}
<li>
<a href="{{
url_for('scolar.fiche_etud', scodoc_dept=g.scodoc_dept, etudid=etud.id)
}}" class="discretelink">{{etud.nom_prenom()}}</a>
</li>
{% endfor %}
</ul>
<form class="sco-std-form" method="post">
<input type="hidden" name="formsemestre_id" value="{{sco.formsemestre.id}}">
<input type="hidden" name="etudid" value="{{etudid or ''}}">
Mettre toutes les notes de
{{"ces étudiants" if etuds|length > 1 else "cet étudiant"}}
à&nbsp;:
<select name="code">
<option value="ABS">ABS (absent, compte zéro)</option>
<option value="ATT" selected>ATT (en attente)</option>
<option value="EXC">EXC (neutralisée)</option>
</select>
<input type="submit" value="Enregistrer">
</form>
{% endif %}
{% endblock %}