From 4e300c3dbbe9575732e75aee14f730514698653a Mon Sep 17 00:00:00 2001 From: lehmann Date: Sat, 22 Jul 2023 22:40:09 +0200 Subject: [PATCH] Groups auto assignment --- app/static/css/partition_editor.css | 22 +- app/templates/scolar/partition_editor.j2 | 119 ++- .../scolar/students_groups_auto_assignment.j2 | 859 +++++++++++++++++- 3 files changed, 977 insertions(+), 23 deletions(-) diff --git a/app/static/css/partition_editor.css b/app/static/css/partition_editor.css index c74e3f272..4697bc99e 100644 --- a/app/static/css/partition_editor.css +++ b/app/static/css/partition_editor.css @@ -106,7 +106,7 @@ body:not(.editionActivated) .editing { @keyframes boing { 100% { - transform: translateY(-20px) + transform: translateY(-20px); } } @@ -152,6 +152,7 @@ body.editionActivated .filtres>div>div>div>div { color: #000; border-radius: 4px; outline: 4px solid #FFF; + padding: 2px; } /* Suppression */ @@ -355,7 +356,7 @@ body.editionActivated .filtres .nonEditable .move { } .groupe:has(.etudiants:empty) { - display: none; + display: none; } /* .filtres .unselect { @@ -365,6 +366,23 @@ body.editionActivated .filtres .nonEditable .move { /*****************************/ /* Zone Etudiants */ /*****************************/ +#zoneChoix .autoAffectation>a { + text-decoration: underline; +} + +#zoneChoix .dropZone { + background: #FFF; + border-radius: 8px; + border: 2px dashed #09C; + margin-bottom: 4px; + padding: 4px; + transition: 0.2s; +} + +.fileOver { + transform: scale(0.9); +} + #zoneChoix>.autoAffectation { background: #c9c9c9; color: #141414; diff --git a/app/templates/scolar/partition_editor.j2 b/app/templates/scolar/partition_editor.j2 index d98d8dc19..82cca6586 100644 --- a/app/templates/scolar/partition_editor.j2 +++ b/app/templates/scolar/partition_editor.j2 @@ -22,6 +22,23 @@

Étudiants

+
+ + + Aide à l'affectation dans les parcours +
Importer les résultats : +
+
+ Déposez le fichier .xlsx ou
+ +
+
+
+
Affecter automatiquement les étudiants du groupe
@@ -38,6 +55,7 @@
+ + \ No newline at end of file