forked from ScoDoc/ScoDoc
55 lines
1.2 KiB
Django/Jinja
55 lines
1.2 KiB
Django/Jinja
{% extends "sco_page.j2" %}
|
|
{% import 'wtf.j2' as wtf %}
|
|
|
|
{% block styles %}
|
|
{{super()}}
|
|
<style>
|
|
.import-diag ul.tf-msg {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
}
|
|
.diag-change {
|
|
font-weight: bold;
|
|
}
|
|
.diag-nochange {
|
|
color: gray;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
<h2>Import de notes dans les évaluations du semestre</h2>
|
|
|
|
<div class="scobox {{ 'success' if ok else 'failure' }}">
|
|
<div class="scobox-title">
|
|
{% if ok %}
|
|
Notes importées avec succès
|
|
{% else %}
|
|
Erreur: aucune note chargée
|
|
{% endif %}
|
|
</div>
|
|
<div class="import-diag">
|
|
{{ diagnostic_msg | safe }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="scobox">
|
|
|
|
<ul>
|
|
<li><a class="stdlink"
|
|
href="{{url_for('notes.formsemestre_recapcomplet',
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=sco.formsemestre.id,
|
|
tabformat='evals')}}">
|
|
Tableau de <em>toutes</em> les notes du semestre
|
|
</a>
|
|
</li>
|
|
<li><a class="stdlink"
|
|
href="{{url_for('notes.formsemestre_import_notes',
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=sco.formsemestre.id)}}">
|
|
Importer d'autres notes
|
|
</a>
|
|
</li>
|
|
</div>
|
|
|
|
{% endblock %}
|