{% extends "base.html" %} {% block content %}
{% if cumulative_stat_list %} {% for cumulative_stat in cumulative_stat_list%} {% endfor %} {% endif %}
Stats for {{cumulative_stat.category}}
Attempts ({{ cumulative_stat.attempts }}) Success ({{ cumulative_stat.success }}) Fails ({{ cumulative_stat.fails }}) Timeouts ({{ cumulative_stat.timeouts }})
{% for identifier_stats in identifier_stats_list %} {% if cumulative_stat.category == identifier_stats.identifier_category %} {{ identifier_stats.identifier_id }} {% if not forloop.last %} ; {% endif %} {%endif%} {% endfor %} {% for identifier_stats in identifier_stats_list %} {% if cumulative_stat.category == identifier_stats.identifier_category and identifier_stats.identifier_success %} {{ identifier_stats.identifier_id }} {% if not forloop.last %} ; {% endif %} {%endif%} {% endfor %} {% for identifier_stats in identifier_stats_list %} {% if cumulative_stat.category == identifier_stats.identifier_category and identifier_stats.identifier_fails %} {{ identifier_stats.identifier_id }} {% if not forloop.last %} ; {% endif %} {%endif%} {% endfor %} {% for identifier_stats in identifier_stats_list %} {% if cumulative_stat.category == identifier_stats.identifier_category and identifier_stats.identifier_timeout %} {{ identifier_stats.identifier_id }} {% if not forloop.last %} ; {% endif %} {%endif%} {% endfor %}
{% endblock %} {% block js %} document.querySelectorAll('.identifier-link').forEach(function(link){ link.addEventListener('click', function(event){ event.preventDefault(); var mainId = link.getAttribute('data-identifier-id'); var url = '/drawranflow/display-streaming-table/draw-sequence/' + mainId + '/'; window.location.href = url; }); }); {% endblock js %}