39 lines
1.1 KiB
Django/Jinja
39 lines
1.1 KiB
Django/Jinja
{# Base de toutes les pages ScoDoc #}
|
|
{% block doc -%}
|
|
<!DOCTYPE html>
|
|
<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 %}
|
|
<!-- Bootstrap -->
|
|
<link href="{{scu.STATIC_DIR}}/libjs/bootstrap/css/bootstrap.css" rel="stylesheet">
|
|
{%- endblock styles %}
|
|
{%- endblock head %}
|
|
</head>
|
|
<body{% block body_attribs %}{% endblock body_attribs %}>
|
|
{% block body -%}
|
|
{% block navbar %}
|
|
{%- endblock navbar %}
|
|
{% block content -%}
|
|
{%- endblock content %}
|
|
|
|
{% block scripts %}
|
|
<script src="{{scu.STATIC_DIR}}/jQuery/jquery.js"></script>
|
|
<script src="{{scu.STATIC_DIR}}/libjs/bootstrap/js/bootstrap.min.js"></script>
|
|
<script>
|
|
const SCO_TIMEZONE = "{{ scu.TIME_ZONE }}";
|
|
</script>
|
|
{%- endblock scripts %}
|
|
{%- endblock body %}
|
|
</body>
|
|
{%- endblock html %}
|
|
</html>
|
|
{% endblock doc -%}
|