{% from "components.html" import closer, pill, scrim with context %} {{ scrim("/images") }} {{ image.name }} {{ pill("IN USE" if image.in_use else "UNUSED", "green" if image.in_use else "grey") }} {% if image.named %}{{ image.id }}{% endif %} Copy url Delete {{ closer("/images") }} {% for part in image.meta %} {% if not loop.first %}ยท{% endif %} {{ part }} {% endfor %} {% for key, label, href in (("overview", "Overview", ""), ("runs", "Runs", "/runs"), ("audit", "Audit", "/audit")) %} {{ label }} {% endfor %} {% if tab == "runs" %} {% include "partials/image_runs.html" %} {% elif tab == "audit" %} {% include "partials/image_audit.html" %} {% else %} {% include "partials/image_overview.html" %} {% endif %}
{% for part in image.meta %} {% if not loop.first %}ยท{% endif %} {{ part }} {% endfor %}