{% extends "defaults.jinja" %} {% block base %} {% block head %} {% block title %}{% endblock %} - {{ FLEXMEASURES_PLATFORM_NAME }} {% endblock head %} {% if FLEXMEASURES_ENFORCE_SECURE_CONTENT_POLICY %} {% endif %} {% block styles %} {% import "includes/vendor.html" as vendor %} {{ vendor.head() }} {% if active_page == "tasks" %} {% elif active_page in ("assets", "users", "accounts") %} {{ vendor.datatables_css() }} {% endif %} {% if extra_css %} {% endif %} {% endblock %} {% block body %} {% include "includes/navbar.html" %} {% if message and message != "" %}
{{ message}}
{% endif %} {% if (msg is defined) and msg %}
{{ msg }}
{% endif %} {% include "security/_messages.html" %} {% import "includes/vendor.html" as vendor %} {{ vendor.jquery() }} {# Div blocks that child pages can reference #} {% block divs %} {% block breadcrumbs %} {% if breadcrumb_info is defined %} {% endif %} {% endblock %} {% endblock divs %} {% include 'includes/toasts.html' %} {% if toast_msg %} {% endif %} {% if deleted_sensor_references_toast %} {% endif %} {#- Scripts used by all views (e.g. by navigation menu) -#} {{ vendor.bootstrap_js() }} {% block scripts %} {% import "includes/vendor.html" as vendor %} {{ vendor.scripts() }} {% endblock scripts %} {% block paginate_tables_script %} {% import "includes/vendor.html" as vendor %} {{ vendor.datatables_js() }} {% endblock paginate_tables_script %} {% endblock body %} {% include 'includes/footer.html' %} {% endblock base %}