{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% import "projects/builds/_build_macros.html" as bm %} {% block title %}Infrastructure Jobs - {{ project.name }} - Pychestrate{% endblock %} {% block content %} {% call ui.preview_notice() %} Preview: infrastructure jobs run from an infrastructure specification, and infrastructure specifications cannot be created yet — no page or API manages them — so this list stays empty. {% endcall %}
Clear
{{ ui.icon("settings") }} View Specs
{% for job in jobs %} {% else %} {{ ui.empty_state("No infrastructure jobs.", colspan=9) }} {% endfor %}
Job Specification Action State Status Triggered By Duration Started Actions
#{{ job.id }} {{ job.spec_name }} {{ job.action | state_words }} {{ ui.status_badge(job.state) }} {{ bm.build_status(job.status) }} {{ job.triggered_by_username }} {% if job.duration_seconds is not none %}{{ job.duration_seconds }}s{% else %}—{% endif %} {{ bm.build_started(job) }} View Logs
{{ ui.pagination('projects.infra_job_list', page, total_pages, {'per_page': per_page, 'project_id': project.id, 'status': selected_status, 'spec_id': selected_spec_id}, total=total) }} {% endblock %}