diff --git a/app/but/jury_export.py b/app/but/jury_export.py index ccafaf68a..fd1e67fa7 100644 --- a/app/but/jury_export.py +++ b/app/but/jury_export.py @@ -8,8 +8,9 @@ """ import datetime -from flask import render_template +from flask import render_template, url_for +import app from app.models import FormSemestre, FormSemestreInscription from app.views import ScoData @@ -18,6 +19,7 @@ def feuille_preparation_jury_but(formsemestre_id: int): formsemestre: FormSemestre = FormSemestre.query.filter_by( id=formsemestre_id ).first_or_404() + breakpoint() return render_template( "but/jury_export.j2", datetime=datetime, diff --git a/app/static/js/export-jury-but.js b/app/static/js/export-jury-but.js new file mode 100644 index 000000000..e69de29bb diff --git a/app/templates/but/jury_export.j2 b/app/templates/but/jury_export.j2 index 8d0dc8f32..631146a8f 100644 --- a/app/templates/but/jury_export.j2 +++ b/app/templates/but/jury_export.j2 @@ -7,34 +7,39 @@ {% block app_content %} - {{ formsemestre.id }} - +

Export xlsx de fichier de jury

+
+ Formsemestre: {{ formsemestre.id }} + API root: {{ api_root }} + +
+ {% endblock %} {% block scripts %} {{super()}} -{# #} +