{% include 'html_dependencies.html' %} {% if js_resources is defined %} {{ js_resources|indent(4)|safe }} {% endif %} {% if css_resources is defined %} {{ css_resources|indent(4)|safe }} {% endif %} {% if plot_scripts is defined %} {% for plot_script in plot_scripts %} {{ plot_script|indent(4)|safe }} {% endfor %} {% elif (plot_script is defined and plot_script is not none)%} {{ plot_script|indent(4)|safe }} {% endif %} {% if plot_feature_script is defined and plot_feature_script is not none %} {{ plot_feature_script|indent(4)|safe }} {% endif %} {% block head_js %}{% endblock %} {% include('menu.html') with context %} {% block message_content %}
{% with messages = get_flashed_messages(with_categories = true) or [] %} {% for category, message in messages %} {% if category == 'error' %}
Error! {{ message }}
{% elif category == 'success' %}
Success! {{ message }}
{% elif category == 'warning' %}
Warning! {{ message }}
{% elif category == 'info' %}
Info! {{ message }}
{% endif %} {% endfor %} {% endwith %}
{% block content %} {% endblock %}
{% endblock %}