ScoDoc/app/templates/formsemestre/bulletins_choice.j2

53 lines
1.3 KiB
Django/Jinja

{% 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>
<div class="scobox">
<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>
</div>
{% endblock %}