2024-04-06 12:16:53 +02:00
|
|
|
{%- block doc -%}<!DOCTYPE html>{# Base de toutes les pages ScoDoc #}
|
2023-11-15 20:38:51 +01:00
|
|
|
<html{% block html_attribs %}{% endblock html_attribs %}>
|
|
|
|
{%- block html %}
|
|
|
|
<head>
|
|
|
|
{%- block head %}
|
|
|
|
<title>{% block title %}{{title|default}}{% endblock title %}</title>
|
|
|
|
|
|
|
|
{%- block metas %}
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{%- endblock metas %}
|
|
|
|
|
|
|
|
{%- block styles %}
|
2024-08-18 18:40:11 +02:00
|
|
|
<link type="text/css" rel="stylesheet"
|
|
|
|
href="{{scu.STATIC_DIR}}/libjs/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css" />
|
|
|
|
<link type="text/css" rel="stylesheet"
|
|
|
|
href="{{scu.STATIC_DIR}}/libjs/timepicker-1.3.5/jquery.timepicker.min.css" />
|
2024-08-15 00:04:35 +02:00
|
|
|
{% for css in cssstyles %}
|
|
|
|
<link rel="stylesheet" href="{{scu.STATIC_DIR}}/{{css}}">
|
|
|
|
{% endfor %}
|
2023-11-15 20:38:51 +01:00
|
|
|
{%- endblock styles %}
|
|
|
|
{%- endblock head %}
|
|
|
|
</head>
|
|
|
|
<body{% block body_attribs %}{% endblock body_attribs %}>
|
|
|
|
{% block body -%}
|
|
|
|
{% block navbar %}
|
|
|
|
{%- endblock navbar %}
|
2024-08-25 09:07:52 +02:00
|
|
|
<div id="sco_msg" class="head_message"></div>
|
2024-11-01 11:58:58 +01:00
|
|
|
{% if current_user and current_user.passwd_must_be_changed %}
|
|
|
|
{% include "auth/msg_change_password.j2" %}
|
|
|
|
{% endif %}
|
2023-11-15 20:38:51 +01:00
|
|
|
{% block content -%}
|
|
|
|
{%- endblock content %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
<script src="{{scu.STATIC_DIR}}/jQuery/jquery.js"></script>
|
2024-07-28 19:15:51 +02:00
|
|
|
<script src="{{scu.STATIC_DIR}}/jQuery/jquery-migrate-3.5.2.min.js"></script>
|
2024-02-22 16:31:42 +01:00
|
|
|
<script src="{{scu.STATIC_DIR}}/libjs/jquery.field.min.js"></script>
|
|
|
|
<script src="{{scu.STATIC_DIR}}/libjs/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
|
|
|
<script src="{{scu.STATIC_DIR}}/libjs/timepicker-1.3.5/jquery.timepicker.min.js"></script>
|
|
|
|
<script src="{{scu.STATIC_DIR}}/libjs/qtip/jquery.qtip-3.0.3.min.js"></script>
|
|
|
|
<script src="{{scu.STATIC_DIR}}/libjs/purl.js"></script>
|
2024-07-31 13:43:39 +02:00
|
|
|
<script src="{{scu.STATIC_DIR}}/js/multi-select.js"></script>
|
2024-01-21 22:21:10 +01:00
|
|
|
<script>
|
|
|
|
const SCO_TIMEZONE = "{{ scu.TIME_ZONE }}";
|
|
|
|
</script>
|
2024-07-19 18:03:24 +02:00
|
|
|
{% for js in javascripts %}
|
|
|
|
<script src="{{scu.STATIC_DIR}}/{{js}}"></script>
|
|
|
|
{% endfor %}
|
2023-11-15 20:38:51 +01:00
|
|
|
{%- endblock scripts %}
|
|
|
|
{%- endblock body %}
|
|
|
|
</body>
|
|
|
|
{%- endblock html %}
|
|
|
|
</html>
|
|
|
|
{% endblock doc -%}
|