{# ansible/_runs_page.html — one page of runs, then the sentinel that loads the next page as the reader nears it (core.paging, pref 172). #} {% from "_macros.html" import status_badge, scroll_more, scroll_end %} {% for row in runs %} {% set run = row.run %} {{ row.title }} {% if row.check %}dry run{% endif %}
{{ run.source_name }}
{{ status_badge(run.status) }} {% if row.origin %}{% if row.origin.url %}{{ row.origin.text }}{% else %}{{ row.origin.text }}{% endif %}{% endif %} {{ run.started_at|ago }} {{ row.duration_s|duration }}{% if not run.finished_at and run.status.value in ('running', 'queued') %} so far{% endif %} {% endfor %} {% if after %} {{ scroll_more("/ansible/?before=" ~ (after|urlencode), cols=5) }} {% else %} {{ scroll_end(cols=5) }} {% endif %}