{% extends "base.html" %} {% block content %} {{ super() }}
{% if query %}

Search results

{% else %}

Runs

{% endif %}
{% if runs | length > 0 %} {% for run in runs %} {% endfor %}
Run ID: {{ run.unique_id | highlight(query) | safe }}
Created by {{ run.author }} on {{ run.date | datetimefilter }}
Ran {{ run.script }} using {{ run.command }}
{% if run.command_args|length > 0 %} Command-line arguments: {{ run.command_args | safe }}
{% endif %} Environment: {{ run.environment|join(", ") }}
{% if run.inputs | length == 0 %} Inputs: none {% else %} Inputs: {{ run.inputs | join(', ') | safe }} {% endif %}
{% if run.outputs | length == 0 %} Outputs: none {% else %} Outputs: {{ run.outputs | join(', ') | highlight(query) | safe }} {% endif %} {% if run.exception %}
Exception: {{ run.exception.type }} {{ run.exception.message }} {% endif %} {% if run.notes %}
Notes: {{ run.notes | highlight(query) | safe }} {% endif %}
{% else %} No runs found. {% endif %}
{% endblock %}