diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index ec4fb6dac..2ea119552 100644 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -355,6 +355,17 @@ def formsemestre_status_menubar(sem): menuGroupes.append( {"title": "Modifier les groupes", "submenu": submenu, "enabled": enabled} ) + menuGroupes.append( + { + "title": "Expérimental: éditeur de partitions", + "endpoint": "scolar.partition_editor", + "args": {"formsemestre_id": formsemestre_id}, + "enabled": sco_groups.sco_permissions_check.can_change_groups( + formsemestre_id + ), + "helpmsg": "Une spécialité de Mulhouse", + }, + ) menuNotes = [ { diff --git a/app/static/css/partition_editor.css b/app/static/css/partition_editor.css new file mode 100644 index 000000000..63071608a --- /dev/null +++ b/app/static/css/partition_editor.css @@ -0,0 +1 @@ +// Editeur de partitions \ No newline at end of file diff --git a/app/static/js/partition_editor.js b/app/static/js/partition_editor.js new file mode 100644 index 000000000..68ea379af --- /dev/null +++ b/app/static/js/partition_editor.js @@ -0,0 +1 @@ +// Ici viendra le code de Seb diff --git a/app/templates/scolar/partition_editor.html b/app/templates/scolar/partition_editor.html new file mode 100644 index 000000000..a5800ca42 --- /dev/null +++ b/app/templates/scolar/partition_editor.html @@ -0,0 +1,6 @@ +{# -*- mode: jinja-html -*- #} +