2024-07-20 18:03:52 +00:00
|
|
|
{{ include_javascript('tools/meeo/javascripts/edu_controle_filter.js') }}
|
|
|
|
|
2024-07-20 18:58:35 +00:00
|
|
|
<form class="form-horizontal" action="?api/meeo/controle" method="post">
|
2024-07-20 08:13:50 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-sm-2" for="intitule">Intitulé:</label>
|
|
|
|
<div class="col-sm-10">
|
2024-07-20 18:58:35 +00:00
|
|
|
<input type="text" class="form-control" id="intitule" name="intitule" required>
|
2024-07-20 08:13:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-sm-2" for="matiere">Matière:</label>
|
|
|
|
<div class="col-sm-10">
|
2024-07-20 18:58:35 +00:00
|
|
|
<select class="form-control" id="matiere" name="matiere" required>
|
2024-07-20 08:13:50 +00:00
|
|
|
{% for clef, matiere in matieres %}
|
|
|
|
<option value="{{ clef }}">{{ matiere }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-sm-2" for="classe">Classe:</label>
|
|
|
|
<div class="col-sm-10">
|
2024-07-20 18:58:35 +00:00
|
|
|
<select class="form-control" id="classe" name="classe" required>
|
2024-07-20 08:13:50 +00:00
|
|
|
{% for classe in classes %}
|
|
|
|
<option>{{ classe }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-sm-2" for="coef">Coefficient:</label>
|
|
|
|
<div class="col-sm-10">
|
2024-07-20 18:58:35 +00:00
|
|
|
<input type="number" class="form-control" id="coef" name="coef" value="1" min="0.5" max="10" step="0.5">
|
2024-07-20 08:13:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<h2>Eleves</h2>
|
2024-07-20 18:58:35 +00:00
|
|
|
<div id="eleves" name="eleves">
|
2024-07-20 18:03:52 +00:00
|
|
|
{% for eleve in eleves %}
|
|
|
|
<div class="form-group" classe="{{ eleve['listeListeClassesbf_classe'] }}" hidden>
|
|
|
|
<label class="control-label col-sm-2" for="{{ eleve['id_fiche'] }}">{{ eleve['bf_nom'] }}</label>
|
|
|
|
<div class="col-sm-10">
|
2024-07-20 18:58:35 +00:00
|
|
|
<input type="number" class="form-control" id="{{ eleve['id_fiche'] }}" name="eleve_{{ eleve['id_fiche'] }}" min="0" max="20" step="0.1" required>
|
2024-07-20 18:03:52 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2024-07-20 08:13:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-default">Envoyer</button>
|
|
|
|
</form>
|