{% extends "base.html" %} {% from "_macros.html" import run_status %} {% block title %}Activity · snapdelta{% endblock %} {% block content %}

Activity

{% if runs %} {% for run in runs %} {% set problems = run.log | selectattr("level", "in", ["warning", "error", "critical"]) | list %} {% endfor %}
StartedKindFromTargetsResultLog
{{ run.started_at | when }}
{{ "%.1f"|format(run.duration_s) }} s
{{ run.kind }} {{ run.origin }}{% if run.user %} · {{ run.user }}{% endif %} {{ run.targets | join(", ") }} {{ run_status(run.status) }}{% set parts = (["diff saved"] if run.output else ([run.saved | length ~ " saved"] if run.saved else [])) + ([run.errors | length ~ " failed"] if run.errors else []) %}{{ parts | join(", ") }} {{ run.log | length }}{% if problems %} ({{ problems | length }}!){% endif %}
{% else %}

No run yet: take a snapshot or compare two, from here, the CLI or the API.

Take snapshot
{% endif %} {% endblock %}