diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index ea5d2923..e9fdfc14 100755 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -836,9 +836,9 @@ def _make_listes_sem(formsemestre: FormSemestre, with_absences=True): formsemestre.date_debut.strftime("%d/%m/%Y") ).prev_monday() form_abs_tmpl = """ - + """ form_abs_tmpl += f""" diff --git a/app/templates/assiduites/pages/ajout_justificatif.j2 b/app/templates/assiduites/pages/ajout_justificatif.j2 index 5c001790..54530f67 100644 --- a/app/templates/assiduites/pages/ajout_justificatif.j2 +++ b/app/templates/assiduites/pages/ajout_justificatif.j2 @@ -1,7 +1,7 @@ {% block pageContent %}
-

Justifier

+

Justifier des assiduités

{% include "assiduites/widgets/tableau_base.j2" %}
@@ -60,8 +60,23 @@
-
-
+
+ +

Gestion des justificatifs

+

+ Faites + clic droit sur une ligne du tableau pour afficher le menu + contextuel : +

+

+ +

Cliquer sur l'icone d'entonoir afin de filtrer le tableau des justificatifs

+ +
diff --git a/app/templates/assiduites/pages/bilan_dept.j2 b/app/templates/assiduites/pages/bilan_dept.j2 index f6afdf61..688427bb 100644 --- a/app/templates/assiduites/pages/bilan_dept.j2 +++ b/app/templates/assiduites/pages/bilan_dept.j2 @@ -16,7 +16,16 @@
- +

Gestion des justificatifs

+

+ Faites + clic droit sur une ligne du tableau pour afficher le menu contextuel : +

+

{% endblock alertmodal %} \ No newline at end of file diff --git a/app/templates/assiduites/widgets/prompt.j2 b/app/templates/assiduites/widgets/prompt.j2 index 58c2784e..991d153d 100644 --- a/app/templates/assiduites/widgets/prompt.j2 +++ b/app/templates/assiduites/widgets/prompt.j2 @@ -174,6 +174,13 @@ banners.forEach((ban) => { ban.style.backgroundColor = color; }) + + promptModal.addEventListener('click', (e) => { + if (e.target.id == promptModal.id) { + promptModal.classList.remove('is-active'); + promptModal.removeEventListener('click', this) + } + }) } function promptModalButtonAction(success, cancel) { @@ -204,10 +211,6 @@ promptClose.onclick = function () { closePromptModal() } - window.onclick = function (event) { - if (event.target == promptModal) { - promptModal.classList.remove('is-active'); - } - } + {% endblock promptModal %} \ No newline at end of file diff --git a/app/views/assiduites.py b/app/views/assiduites.py index 8c2fed0c..d0acfccd 100644 --- a/app/views/assiduites.py +++ b/app/views/assiduites.py @@ -539,7 +539,6 @@ def signal_assiduites_group(): + [ "css/assiduites.css", ], - no_side_bar=1, ) return HTMLBuilder(