{% extends "base.html" %} {% block title %}{{ instrument_name|default:"Instrument not found" }}{% endblock %} {% load view %} {% load static %} {% load colour_table_rows %} {% block body %} {% if message %}
{{ message }}
{% else %}

{{ instrument_name }}

{% include "snippets/instrument_status.html" with processing=processing queued=queued last_instrument_run=last_instrument_run only %}
{% if instrument.is_paused %}   Resume Autoreduction on {{ instrument_name }} {% else %}   Pause Autoreduction on {{ instrument_name }} {% endif %}
{% csrf_token %}

  Re-run past jobs

  Configure New Runs

  See Instrument variables

{% if not has_variables %} {% endif %}


{% if filtering == 'run' %}
{% endif %}

{% if filtering == 'run' %}
{% for run in paginator.current_page.records %} {% if forloop.first %}
{% else %}
{% endif %}
{{ run.status.value_verbose }}
Last updated: {{ run.last_updated }}
{% endfor %}
{% elif filtering == 'experiment' %}
{% for experiment, associated_runs in experiments.items %} {% if forloop.first %}
{% else %}
{% for run in associated_runs %}
{{ run.status.value_verbose }}
Last updated: {{ run.last_updated }}
{% endfor %}
{% endfor %}
{% else %}
No runs to show
{% endif %}

{% if filtering == 'run' %}
{% if paginator %}
{% if paginator.has_previous %} {% endif %} {% for page in paginator.display_list %} {% if page.is_visible %} {% if page.number == paginator.current_page_index %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %} {% if paginator.has_next %} {% endif %}
{% endif %}
{% endif %}
{% endif %} {% endblock %} {% block stylesheets %} {% endblock %} {% block scripts %} {% if preload_runs %} {% endif %} {% endblock %}