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>"""
|
||||
)
|
||||
#
|
||||
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)
|
||||
show_abs: str = "hidden" if disable_abs else ""
|
||||
|
@ -64,6 +64,11 @@ div.sco-app-content {
|
||||
margin-bottom: 18px !important;
|
||||
}
|
||||
|
||||
|
||||
.space-before-8 {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
|
||||
.space-before-18 {
|
||||
margin-top: 18px !important;
|
||||
}
|
||||
@ -1875,6 +1880,7 @@ div.formsemestre_status {
|
||||
border-radius: 8px;
|
||||
padding: 2px 6px 2px 16px;
|
||||
margin-right: 10px;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.formsemestre_status_warning,
|
||||
@ -2074,8 +2080,7 @@ ul.ue_inscr_list li.etud {
|
||||
.sem-groups-abs {
|
||||
background-color: rgb(137, 137, 137);
|
||||
border-radius: 16px;
|
||||
padding: 16px;
|
||||
width: fit-content;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.sem-groups-abs h4 {
|
||||
|
@ -14,18 +14,20 @@
|
||||
{% if not etuds %}
|
||||
<h3>aucun étudiant sans notes</h3>
|
||||
{% else %}
|
||||
<h3>Étudiants sans notes:</h3>
|
||||
<ul>
|
||||
<h3>Étudiants sans notes :</h3>
|
||||
<ul class="sco-links">
|
||||
{% for etud in etuds %}
|
||||
<li>
|
||||
<a href="{{
|
||||
url_for('scolar.fiche_etud', scodoc_dept=g.scodoc_dept, etudid=etud.id)
|
||||
}}" class="discretelink">{{etud.nom_prenom()}}</a>
|
||||
<a class="stdlink" href="{{ etud.url_fiche() | safe }}">
|
||||
{{etud.nom_prenom()}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<form class="sco-std-form" method="post">
|
||||
<div class="help">
|
||||
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="etudid" value="{{etudid or ''}}">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user