forked from ScoDoc/ScoDoc
44 lines
1.2 KiB
Django/Jinja
44 lines
1.2 KiB
Django/Jinja
{% extends "sco_page.j2" %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
|
|
<legend>
|
|
Options
|
|
<form action="" method="get">
|
|
<label for="show_pres">afficher les présences</label>
|
|
{% if show_pres %}
|
|
<input type="checkbox" id="show_pres" name="show_pres" checked>
|
|
{% else %}
|
|
<input type="checkbox" id="show_pres" name="show_pres">
|
|
{% endif %}
|
|
|
|
<label for="show_reta">afficher les retards</label>
|
|
{% if show_reta %}
|
|
<input type="checkbox" id="show_reta" name="show_reta" checked>
|
|
{% else %}
|
|
<input type="checkbox" id="show_reta" name="show_reta">
|
|
{% endif %}
|
|
<br>
|
|
|
|
<label for="nb_ligne_page">Nombre de ligne par page : </label>
|
|
<input type="number" name="nb_ligne_page" id="nb_ligne_page" value="{{nb_ligne_page}}">
|
|
|
|
<label for="n_page">Page n°</label>
|
|
<select name="n_page" id="n_page">
|
|
{% for n in range(1,total_pages+1) %}
|
|
<option value="{{n}}">{{n}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<br>
|
|
<input type="submit" value="valider">
|
|
</form>
|
|
</legend>
|
|
|
|
{{tableau | safe}}
|
|
|
|
{% endblock %} |