{% extends "base.html" %} {% load utils %} {% block title %} Pipeline Dashboard {% endblock %} {% block extrahead %} {% endblock %} {% block content %}

Pipeline Dashboard


{{ form.search }}
{% if load_per_queue %}

Load Factor: {% for queue_name, values in load_per_queue.items %} {{ queue_name| capfirst }} {% with load_factor=values|get_item:"load_factor" additional=values|get_item:"additional_worker" %} {% if load_factor == "no_worker" %} {% elif additional < 1 %} {{ load_factor|floatformat:2 }} {% elif additional < 2 %} {{ load_factor|floatformat:2 }} {% else %} {{ load_factor|floatformat:2 }} {% endif %} {% endwith %} {% if not forloop.last %} • {% endif %} {% endfor %}

{% endif %}

{{ active_pipeline_count|default:0 }} active pipeline{{ active_pipeline_count|default:0|pluralize }}, {{ disabled_pipeline_count|default:0 }} disabled pipeline{{ disabled_pipeline_count|default:0|pluralize }}

{% for schedule in schedule_list %} {% empty %} {% endfor %}
Pipeline ID
Active
Priority
Interval
Status
Last Run End Time
Next Run Start
{{ schedule.pipeline_id }}
{{ schedule.is_active|yesno:"Yes,No" }}
{{ schedule.get_run_priority_display|capfirst}}
{% if schedule.is_run_once %} Once {% else %} {{ schedule.run_interval }} hour{{ schedule.run_interval|pluralize }} {% endif %}
{% include "includes/job_status.html" with status=schedule.status %}
{% if schedule.latest_run_end_date %} {{ schedule.latest_run_end_date|date:"Y-m-d h:i a T" }} {% else %} N/A {% endif %}
{% if schedule.next_run_date %} {{ schedule.next_run_date|date:"Y-m-d" }} {% else %} N/A {% endif %}
No pipeline found.
{% if is_paginated %} {% endif %}
{% endblock %}