59 lines
2.3 KiB
HTML
59 lines
2.3 KiB
HTML
{# -*- mode: jinja-html -*- #}
|
|
{# L'en-tête des bulletins HTML #}
|
|
{# was _formsemestre_bulletinetud_header_html #}
|
|
|
|
<table class="bull_head">
|
|
<tr>
|
|
<td>
|
|
<h2><a class="discretelink" href="{{
|
|
url_for(
|
|
"scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etudid,
|
|
)}}">{{etud.nomprenom}}</a></h2>
|
|
<form name="f" method="GET" action="{{request.base_url}}">
|
|
Bulletin <span class="bull_liensemestre"><a href="{{
|
|
url_for("notes.formsemestre_status",
|
|
scodoc_dept=g.scodoc_dept,
|
|
formsemestre_id=formsemestre.id)}}
|
|
">{{formsemestre.titre_mois()}}</a></span>
|
|
<br/>
|
|
<table>
|
|
<tr>
|
|
<td>établi le {{time.strftime("%d/%m/%Y à %Hh%M")}} (notes sur 20)</td>
|
|
<td><span class="rightjust">
|
|
<input type="hidden" name="formsemestre_id" value="{{formsemestre.id}}"></input>
|
|
<input type="hidden" name="etudid" value="{{etud.id}}"></input>
|
|
<input type="hidden" name="format" value="{{format}}"></input>
|
|
<select name="version" onchange="document.f.submit()" class="noprint">
|
|
{% for (v, e) in (
|
|
("short", "Version courte"),
|
|
("selectedevals", "Version intermédiaire"),
|
|
("long", "Version complète"),
|
|
) %}
|
|
<option value="{{v}}" {% if (v == version) %}selected{% endif %}>{{e}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</span>
|
|
</td>
|
|
<td class="bulletin_menubar">
|
|
<div class="bulletin_menubar">{{menu_autres_operations|safe}}</div>
|
|
</td>
|
|
<td><a href="{{url_for(
|
|
'notes.formsemestre_bulletinetud',
|
|
scodoc_dept=g.scodoc_dept,
|
|
formsemestre_id=formsemestre.id,
|
|
etudid=etud.id,
|
|
format='pdf',
|
|
version=version,
|
|
)}}">{{scu.ICON_PDF|safe}}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
<td class="bull_photo"><a href="{{
|
|
url_for("scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etud.id)
|
|
}}">{{etud.photo_html(title="fiche de " + etud["nom"])|safe}}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|