forked from ScoDoc/ScoDoc
45 lines
1.2 KiB
Django/Jinja
45 lines
1.2 KiB
Django/Jinja
{% 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"}}
|
|
à :
|
|
<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 %}
|