{% extends 'data-service-series-layout.html' %} {% from 'macros.html' import bootstrap_icon %} {% macro event_frame_count_row(type, count, kpi) %} {{ type }} {% if not event_frame_weights.get(type) %} {{ bootstrap_icon('square-fill', 'text-success align-baseline me-1', 12) }} {% elif event_frame_weights.get(type) <= 1 %} {{ bootstrap_icon('square-fill', 'text-warning align-baseline me-1', 12) }} {% else %} {{ bootstrap_icon('square-fill', 'text-danger align-baseline me-1', 12) }} {% endif %} {{ count }} {% endmacro %} {% macro no_kpi_event_frame_count_row(type) %} {{ type }} {% if not event_frame_weights.get(type) %} {{ bootstrap_icon('square-fill', 'text-success align-baseline me-1', 12) }} {% elif event_frame_weights.get(type) <= 1 %} {{ bootstrap_icon('square-fill', 'text-warning align-baseline me-1', 12) }} {% else %} {{ bootstrap_icon('square-fill', 'text-danger align-baseline me-1', 12) }} {% endif %} {{ no_kpi_event_frames_count[type] }} {% endmacro %} {% set title = 'Event frames' %} {% block menu %} {{ data_service_series_menu(title) }} {% endblock %} {% block series_title %}

Event frame count

{% endblock %} {% block series_content %}
{% if counts_per_kpi|count > 0 or no_kpi_event_frames_count|count > 0 %}
{% endif %}
{% if event_frames_count %} {% else %} {% endif %}
{% if counts_per_kpi|count > 0 or no_kpi_event_frames_count|count > 0 %}
{% if counts_per_kpi|count > 0 %} {% for kpi, counts in counts_per_kpi|dictsort %} {% for type, count in counts|dictsort%} {{ event_frame_count_row(type, count, kpi) }} {% endfor %} {% endfor %} {% endif %} {% if no_kpi_types|count > 0 %} {% for type in no_kpi_types if type in no_kpi_event_frames_count %} {{ no_kpi_event_frame_count_row(type) }} {% endfor %} {% endif %}
Event frame type Count
{{ kpi }}Not included in KPI set
{% else %}
No event frames available.
{% endif %} {% endblock series_content %}