{% extends "layout.html" %} {% set active_page = "graph" %} {% set help_page = ["live-graphs", _('Live Graphs')] %} {% block title %} - {{_('Graph')}}{% endblock %} {% block head %} {% if current_user.theme in dark_themes %} {% endif %} {% endblock %} {% block body %}
{% include 'flash_messages.html' %}
{% if displayOrder -%} {%- for order in displayOrder -%} {%- set chart_number = loop.index -%} {%- for each_graph in graph if each_graph.id == order -%}
{% if each_graph.graph_type == 'graph' %} {% include 'pages/graph_options/mod_graph.html' %} {% elif each_graph.graph_type in ['gauge_angular', 'gauge_solid'] %} {% include 'pages/graph_options/mod_gauge.html' %} {% endif %}
{%- endfor -%} {%- endfor -%} {%- endif -%}
{% include 'pages/graph_options/add_graph.html' %}
{% include 'pages/graph_options/add_gauge.html' %}
{% endblock %}