{% extends "base.html" %} {% block title %}{{ instrument_name|default:"Instrument not found" }}{% endblock %} {% load static %} {% include crispy_tags %} {% load crispy_forms_tags %} {% load colour_table_row %} {% load render_table from django_tables2 %} {% block body %} {% if message %}
{{ message }}
{% else %} {% if info_message %}
{{ info_message }}
{% endif %}

{{ 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 %}

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


{{ options_form.filter|as_crispy_field }}
{{ options_form.per_page|as_crispy_field }}

{% if filtering == 'run' or filtering == 'batch_runs' %} {% render_table run_table %} {% elif filtering == 'experiment' %} {% render_table experiment_table %} {% else %}
No runs to show
{% endif %}

{% endif %} {% endblock %} {% block stylesheets %} {% endblock %} {% block scripts %} {% if preload_runs %} {% endif %} {% endblock %}