1
0
forked from ScoDoc/ScoDoc

Envoi bulletin, génération classeur: choix groupe étudiants

This commit is contained in:
Emmanuel Viennet 2024-02-22 16:34:11 +01:00
parent a8ff540e95
commit f1ce70e6de

View File

@ -0,0 +1,50 @@
{% extends "sco_page.j2" %}
{% import 'wtf.j2' as wtf %}
{% block styles %}
{{super()}}
<style>
.sco-row {
margin-top: 16px;
}
</style>
{% endblock %}
{% block scripts %}
{{super()}}
<script src="{{scu.STATIC_DIR}}/js/groups_view.js"></script>
{% endblock %}
{% block app_content %}
<div class="tab-content">
<h2>{{ title }}</h2>
<p class="help">
{{ explanation|safe }}
</p>
<form name="f" method="GET" action="{{request.base_url}}">
<input type="hidden" name="formsemestre_id" value="{{formsemestre.id}}">
<select name="version" class="noprint">
{% for version, description in versions_bulletins.items() %}
<option value="{{version}}">{{description}}</option>
{% endfor %}
</select>
<div class="group_ids_sel_menu sco-row">
Groupes d'étudiants à utiliser: {{menu_groups_choice|safe}}
</div>
{% if choose_mail %}
<div class="sco-row">
<input type="checkbox" name="prefer_mail_perso" value="1">
Utiliser si possible les adresses email personnelles
</div>
{% endif %}
<div class="sco-row" style="font-size: 110%;">
<input type="submit" value="Générer">
</div>
</form>
</div>
{% endblock %}