2024-07-14 22:20:37 +02:00
|
|
|
{% 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 %}
|
2024-07-19 16:32:56 +02:00
|
|
|
<h2>Import de notes dans les évaluations du
|
|
|
|
{% if modimpl %}
|
|
|
|
module
|
|
|
|
{% else %}
|
|
|
|
semestre
|
|
|
|
{% endif %}
|
|
|
|
</h2>
|
2024-07-14 22:20:37 +02:00
|
|
|
|
|
|
|
<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>
|
2024-07-19 16:32:56 +02:00
|
|
|
{% 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 %}
|
|
|
|
|
2024-07-14 22:20:37 +02:00
|
|
|
<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>
|
2024-07-19 16:32:56 +02:00
|
|
|
{% if sco.formsemestre %}
|
2024-07-14 22:20:37 +02:00
|
|
|
<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>
|
2024-07-19 16:32:56 +02:00
|
|
|
{% endif %}
|
2024-07-14 22:20:37 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|