{#- Tags for the third-party libraries which the UI loads. Each file is served by FlexMeasures if it was fetched into static/vendor/, and loaded from its CDN otherwise. Versions, files and hashes live in flexmeasures/ui/utils/vendor_assets.py, which also explains how to fetch them. Import with {% import "includes/vendor.html" as vendor %}. -#} {#- Stylesheets, fonts, and JSON-Editor, which templates use before the end of . -#} {% macro head() %} {#- These rules refer to vendored fonts, so they live here rather than in flexmeasures.css, which cannot tell whether those were fetched. -#} {% endmacro %} {% macro datatables_css() %} {% endmacro %} {#- Early in , as inline scripts in page content use jQuery. -#} {% macro jquery() %} {% endmacro %} {% macro bootstrap_js() %} {% endmacro %} {% macro echarts() %} {% endmacro %} {#- Chart and widget libraries, in the order base.html loaded them from CDNs. -#} {% macro scripts() %} {{ echarts() }} {# Workaround for loading a NodeJS module without NodeJS #} {% endmacro %} {% macro datatables_js() %} {% endmacro %} {% macro leaflet_js() %} {% endmacro %} {% macro markercluster_js() %} {% endmacro %} {#- Date range picker on the asset graph, asset properties and sensor pages. -#} {% macro litepicker() %} {% endmacro %}