{# The plan, as a page. Every row here came out of ``kptn.runner.plan.build_plan`` -- the same function ``kptn plan`` prints -- and this template must not re-order, re-group, or re-decide any of it. The actions are shown as the terminal shows them (RUN / SKIP / MAP) so a developer reading both sees one vocabulary, and the reason is the builder's own words. Task names and reasons are pipeline-authored text and reach the page through Jinja's autoescaping, like everything else in this UI. #} {% extends "base.html" %} {% block title %}Plan - {{ project.display_name }} - kptn{% endblock %} {% block content %}

Plan

{% if selected_profile %}profile {{ selected_profile }}{% else %}no profile{% endif %} · {{ rows | length }} task{{ '' if rows | length == 1 else 's' }}

What kptn run would do next. Nothing on this page runs anything.

{% if rows %} {% for row in rows %} {% endfor %}
ActionTaskWhy
{{ row.action }} {{ row.task_name }} {{ row.reason }}
{% else %}

This profile resolves to no executable tasks.

{% endif %}
{% endblock %}