forked from ScoDoc/ScoDoc
Cosmétique: formsemestre_note_etuds_sans_note
This commit is contained in:
parent
0d2471ce8d
commit
eb59ba57e7
@ -779,7 +779,7 @@ def _make_listes_sem(formsemestre: FormSemestre) -> str:
|
|||||||
})</span></h3>"""
|
})</span></h3>"""
|
||||||
)
|
)
|
||||||
#
|
#
|
||||||
H.append('<div class="sem-groups-abs space-before-18">')
|
H.append('<div class="sem-groups-abs space-before-8">')
|
||||||
|
|
||||||
disable_abs: str | bool = scass.has_assiduites_disable_pref(formsemestre)
|
disable_abs: str | bool = scass.has_assiduites_disable_pref(formsemestre)
|
||||||
show_abs: str = "hidden" if disable_abs else ""
|
show_abs: str = "hidden" if disable_abs else ""
|
||||||
|
@ -64,6 +64,11 @@ div.sco-app-content {
|
|||||||
margin-bottom: 18px !important;
|
margin-bottom: 18px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.space-before-8 {
|
||||||
|
margin-top: 8px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.space-before-18 {
|
.space-before-18 {
|
||||||
margin-top: 18px !important;
|
margin-top: 18px !important;
|
||||||
}
|
}
|
||||||
@ -1875,6 +1880,7 @@ div.formsemestre_status {
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 2px 6px 2px 16px;
|
padding: 2px 6px 2px 16px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.formsemestre_status_warning,
|
.formsemestre_status_warning,
|
||||||
@ -2074,8 +2080,7 @@ ul.ue_inscr_list li.etud {
|
|||||||
.sem-groups-abs {
|
.sem-groups-abs {
|
||||||
background-color: rgb(137, 137, 137);
|
background-color: rgb(137, 137, 137);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
padding: 16px;
|
padding: 8px;
|
||||||
width: fit-content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sem-groups-abs h4 {
|
.sem-groups-abs h4 {
|
||||||
|
@ -14,18 +14,20 @@
|
|||||||
{% if not etuds %}
|
{% if not etuds %}
|
||||||
<h3>aucun étudiant sans notes</h3>
|
<h3>aucun étudiant sans notes</h3>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h3>Étudiants sans notes:</h3>
|
<h3>Étudiants sans notes :</h3>
|
||||||
<ul>
|
<ul class="sco-links">
|
||||||
{% for etud in etuds %}
|
{% for etud in etuds %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{
|
<a class="stdlink" href="{{ etud.url_fiche() | safe }}">
|
||||||
url_for('scolar.fiche_etud', scodoc_dept=g.scodoc_dept, etudid=etud.id)
|
{{etud.nom_prenom()}}
|
||||||
}}" class="discretelink">{{etud.nom_prenom()}}</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="help">
|
||||||
<form class="sco-std-form" method="post">
|
Ces étudiants n'ont aucune note dans le semestre.
|
||||||
|
</div>
|
||||||
|
<form class="sco-std-form space-before-18" method="post">
|
||||||
<input type="hidden" name="formsemestre_id" value="{{sco.formsemestre.id}}">
|
<input type="hidden" name="formsemestre_id" value="{{sco.formsemestre.id}}">
|
||||||
<input type="hidden" name="etudid" value="{{etudid or ''}}">
|
<input type="hidden" name="etudid" value="{{etudid or ''}}">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user