Timepicker sur toutes les pages.

This commit is contained in:
Emmanuel Viennet 2024-10-17 11:40:12 +02:00
parent 9e7b169998
commit 0b5b0f8079
8 changed files with 61 additions and 66 deletions

View File

@ -375,12 +375,11 @@ def evaluation_create_form(
+ render_template(
"scodoc/help/evaluations.j2", is_apc=is_apc, modimpl=modimpl
)
+ render_template("sco_timepicker.j2")
),
)
elif tf[0] == -1:
if tf[0] == -1:
return flask.redirect(dest_url)
else:
# form submission
args = tf[2]
# modifie le codage des dates

View File

@ -121,5 +121,4 @@ div.submit > input {
{% block scripts %}
{{ super() }}
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
{% include "sco_timepicker.j2" %}
{% endblock scripts %}

View File

@ -191,7 +191,6 @@ div.submit > input {
{% block scripts %}
{{ super() }}
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
{% include "sco_timepicker.j2" %}
<script>
document.addEventListener("DOMContentLoaded", function() {
// On récupère les boutons de suppression de fichiers

View File

@ -176,5 +176,4 @@
{% block scripts %}
{{ super() }}
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
{% include "sco_timepicker.j2" %}
{% endblock scripts %}

View File

@ -12,7 +12,6 @@
<script src="{{scu.STATIC_DIR}}/js/groups_view.js"></script>
<script src="{{scu.STATIC_DIR}}/js/date_utils.js"></script>
<script src="{{scu.STATIC_DIR}}/js/assiduites.js"></script>
{% include "sco_timepicker.j2" %}
<script>

View File

@ -75,7 +75,7 @@
}
th {
z-index: 1;
z-index: 0;
}
.premier th {
@ -205,7 +205,6 @@
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
<script src="{{scu.STATIC_DIR}}/js/assiduites.js"></script>
<script src="{{scu.STATIC_DIR}}/js/date_utils.js"></script>
{% include "sco_timepicker.j2" %}
<script>

View File

@ -103,6 +103,8 @@
</script>
{% include "sco_timepicker.j2" %}
{% endblock %}
{% macro render_field_errors(form, field_name) %}

View File

@ -51,7 +51,6 @@
{% endblock app_content %}
{% block scripts %}
{{super()}}
{% include "sco_timepicker.j2" %}
<script src="{{scu.STATIC_DIR}}/js/groups_view.js"></script>
<script src="{{scu.STATIC_DIR}}/libjs/purl.js"></script>
{% endblock scripts %}