forked from ScoDoc/ScoDoc
80 lines
1.9 KiB
Django/Jinja
80 lines
1.9 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
|
|
{% if modimpl %}
|
|
module
|
|
{% else %}
|
|
semestre
|
|
{% endif %}
|
|
</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>
|
|
{% if modimpl %}
|
|
<li><a class="stdlink"
|
|
href="{{url_for('notes.moduleimpl_status',
|
|
scodoc_dept=g.scodoc_dept, moduleimpl_id=modimpl.id,
|
|
)}}">
|
|
{{modimpl.module.type_name()}} {{modimpl.module.code}} {{modimpl.module.titre_str()}}
|
|
</a>
|
|
</li>
|
|
<li><a class="stdlink"
|
|
href="{{url_for('notes.evaluation_listenotes',
|
|
scodoc_dept=g.scodoc_dept, moduleimpl_id=modimpl.id,
|
|
)}}">
|
|
Lister les notes de {{modimpl.module.code}}
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
<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>
|
|
{% if sco.formsemestre %}
|
|
<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>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% endblock %}
|