{% extends "layout.html" %} {% set active_page = "dashboard" %} {% set help_page = ["dashboard", _('Dashboard')] %} {% block title %} - {{_('Dashboard')}}{% 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 -%}
{% for id, axes in y_axes.items() if id == each_graph.id and each_graph.graph_type in ['graph', 'gauge_angular', 'gauge_solid'] %} {% endfor %} {% if each_graph.graph_type == 'graph' %} {% include 'pages/dashboard_options/mod_graph.html' %} {% elif each_graph.graph_type in ['gauge_angular', 'gauge_solid'] %} {% include 'pages/dashboard_options/mod_gauge.html' %} {% elif each_graph.graph_type == 'measurement' %} {% include 'pages/dashboard_options/mod_measurement.html' %} {% elif each_graph.graph_type == 'output' %} {% include 'pages/dashboard_options/mod_output.html' %} {% elif each_graph.graph_type == 'pid_control' %} {% include 'pages/dashboard_options/mod_pid_control.html' %} {% elif each_graph.graph_type == 'camera' %} {% include 'pages/dashboard_options/mod_camera.html' %} {% endif %}
{%- endfor -%} {%- endfor -%} {%- endif -%}
{{form_base.dashboard_type(class_='form-control')}}
{% endblock %}