From 5cb7ade189c2d5ee83194a39545aabedf2a83738 Mon Sep 17 00:00:00 2001 From: Iziram Date: Tue, 30 Jul 2024 11:09:55 +0200 Subject: [PATCH] update tabs to bootstrap 5.3.3 --- app/scodoc/sco_groups_view.py | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/app/scodoc/sco_groups_view.py b/app/scodoc/sco_groups_view.py index c111520d..b4e6c32a 100644 --- a/app/scodoc/sco_groups_view.py +++ b/app/scodoc/sco_groups_view.py @@ -131,15 +131,20 @@ def groups_view(
{form_groups_choice(groups_infos, submit_on_change=True)} -
-
-
+
+
{ groups_table( groups_infos=groups_infos, @@ -153,13 +158,15 @@ def groups_view( ) }
-
+
{ tab_photos_html(groups_infos, etat=etat) }
-
+
{ tab_absences_html(groups_infos, etat=etat) }
+
+ { html_sco_header.sco_footer() } """ @@ -585,8 +592,8 @@ def groups_table( etud_info["_nom_disp_order"] = etud_sort_key(etud_info) etud_info["_prenom_target"] = fiche_url - etud_info["_nom_disp_td_attrs"] = 'id="%s" class="etudinfo"' % ( - etud_info["etudid"] + etud_info["_nom_disp_td_attrs"] = ( + 'id="%s" class="etudinfo"' % (etud_info["etudid"]) ) etud_info["bourse_str"] = "oui" if etud_info["boursier"] else "non" if etud_info["etat"] == "D":