- section_tabs macro; Runs · Playbooks · Schedules · Inventory on every Ansible page, replacing each page's own set of header buttons. - Runs: a verdict line (last 30 days, failures first with the latest named, running now, the schedule due next); under each status what the run did across its hosts (ansible/recap.py); a filter bar (playbook, status, who started it) that swaps the table and carries into the scroll paging. - Run page: status, duration, start and who started it in one line; each host's result in words, worst first; the playbook it ran links to it; the log and failures on classes rather than inline colours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
519 B
HTML
9 lines
519 B
HTML
{# ansible/_tabs.html — the Ansible section's pages as one strip of tabs (#5328),
|
|
on every Ansible page; `active` names the page or the one it sits under. #}
|
|
{% from "_macros.html" import section_tabs %}
|
|
{% macro ansible_tabs(active) -%}
|
|
{{ section_tabs([("runs", "Runs", "/ansible/"), ("playbooks", "Playbooks", "/ansible/browse"),
|
|
("schedules", "Schedules", "/ansible/schedules"),
|
|
("inventory", "Inventory", "/ansible/inventory/targets")], active, "Ansible") }}
|
|
{%- endmacro %}
|