{#- The namespaces page: a filter form, then one row per namespace, worst first. Every link is built in the route, from the current filters and the shown context. -#} {% extends "base.html" %} {% block title %}Namespaces ยท kubedelos{% endblock %} {% block page_title %}Namespaces{% endblock %} {% block run_line %}{% with page_title = self.page_title() %}{% include "partials/run_line.html" %}{% endwith %}{% endblock %} {% block content %} {% if not run %} {% if narrower_href %}

There is no cluster-wide run of {{ context }} yet, only narrower ones. See the newest run's findings.

{% else %}

No scans of {{ context }} yet. Start one on the Scans page.

{% endif %} {% else %}
{%- if context_param %}{% endif %} {%- if pinned %}{% endif %} {%- if sort %}{% endif %} {%- if direction %}{% endif %}
clear filters
{% if not rows %}

No namespaces match these filters. clear filters

{% else %}
{%- for h in headers %} {%- endfor %} {%- for row in rows %} {%- for count, href in row.cells %} {%- endfor %} {%- endfor %}
{{ h.label }}
{{ row.namespace }} {{ row.owner or "" }} {{ row.team or "" }}{% if href %}{{ count }}{% else %}{{ count }}{% endif %}{% if row.total_href %}{{ row.total }}{% else %}0{% endif %} {{ row.images }}

{% if shown == all %}{{ all }} {{ all | plural("namespace") }}{% else %}{{ shown }} of {{ all }} {{ all | plural("namespace") }}{% endif %}

{% endif %} {% endif %} {% endblock %}