forked from ScoDoc/ScoDoc
57 lines
1.2 KiB
Django/Jinja
57 lines
1.2 KiB
Django/Jinja
{% extends "sco_page.j2" %}
|
|
{% import 'wtf.j2' as wtf %}
|
|
|
|
|
|
{% block styles %}
|
|
{{super()}}
|
|
|
|
<style>
|
|
div{
|
|
margin-bottom: 8px;
|
|
}
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
|
|
<h2>Préparation de la feuille d'émargement : <span style="color:crimson">{{group_name}}</span></h2>
|
|
|
|
<div class="scobox">
|
|
<form
|
|
id="feuille_emargement"
|
|
action="{{request.base_url}}"
|
|
method="post"
|
|
>
|
|
{{ form.hidden_tag() }}
|
|
<div class="infos-button">Groupes : {{grp|safe}}</div>
|
|
|
|
<div class="part">
|
|
{{ form.discipline.label }}
|
|
{{ form.discipline() }}
|
|
</div>
|
|
<div class="part">
|
|
{{ form.ens.label }}
|
|
{{ form.ens() }}
|
|
</div>
|
|
<div class="part">
|
|
{{ form.date.label }}
|
|
{{ form.date() }}
|
|
</div>
|
|
<div class="part">
|
|
{{ form.heure.label }}
|
|
{{ form.heure() }}
|
|
</div>
|
|
|
|
{{form.submit()}}
|
|
|
|
</form>
|
|
</div>
|
|
|
|
{% endblock app_content %}
|
|
{% block scripts %}
|
|
{{super()}}
|
|
<script src="{{scu.STATIC_DIR}}/js/groups_view.js"></script>
|
|
<script src="{{scu.STATIC_DIR}}/libjs/purl.js"></script>
|
|
{% endblock scripts %}
|