{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_list%} {% load jobs_template_tags %} {# custom template tags in app #} {% block content %}
{{tableFilter.form}}
{% for graph in graphs %} {% endfor %} {% for lab in labs %} {% for graph in graphs %} {% endfor %} {% endfor %}
{{ graph }}Queued Last Job Activity Last Session Date ibllib Space left (Tb)
{{ lab.name }}{{ lab.count_waiting }} {{ lab.last_job }} {{ lab.last_session }} {{ ibllib_version|index:forloop.counter0 }} {{ space_left|index:forloop.counter0 }}
{% for task in task_names %} {% endfor %} {% for obj in object_list %} {% if obj.qc == 50%} {# CRITICAL red #} {% elif obj.qc == 20%} {# NOT_SET - #} {% else %} {% endif %} {% for task in obj.tasks.all|filter_tasks:task_names %} {# {% for task in obj.tasks.all|dictsort:"name" %}#} {% if task is None %} {# waiting #} {% elif task.status == 20%} {# waiting #} {% elif task.status == 25%} {# held purple #} {% elif task.status == 30%} {# started black #} {% elif task.status == 40 %} {# error red #} {% elif task.status == 45 %} {# abandoned maroon #} {% elif task.status == 50 %} {# empty orange #} {% elif task.status == 55 %} {# incomplete darkblue #} {% elif task.status == 60 %} {# complete green #} {% endif %} {% endfor %} {% endfor %}
session project protocol qc{{ task }}
{{ obj | stringformat:"s"}} {{ obj.project.name }} {{ obj.task_protocol }}{{ obj.get_qc_display }}-{{ obj.get_qc_display }}-{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}{{ task.get_status_display }}
{% endblock %} {% block title %} {{ title|striptags }} {% endblock %}