{# Run card partial - expects 'run' variable #} {% set status_colors = { 'completed': 'green', 'running': 'blue', 'pending': 'yellow', 'failed': 'red', 'cached': 'purple' } %} {% set color = status_colors.get(run.status, 'gray') %}
{{ run.run_id[:12] }}... {{ run.status }} {% if run.cached %} cached {% endif %}
{{ run.created_at }}
Recipe: {{ run.recipe or 'Unknown' }} {% if run.total_steps %} Steps: {{ run.executed or 0 }}/{{ run.total_steps }} {% endif %}
{% if run.output_hash %} {{ run.output_hash[:16] }}... {% endif %}
{% if run.inputs %}
Inputs: {{ run.inputs | length }} file(s)
{% endif %}