{% extends "base.html" %} {% import "_table.html" as tables with context %} {% block title %}Workspaces — Cairn Dashboard{% endblock %} {% block content %}

Workspaces

{% if stores %} {% call tables.table(['Workspace', 'Store', 'State', 'Size', 'Last modified', 'Recorded calls', 'Open']) %} {% for s in stores %} {% if s.path %}{{ s.path }}{% else %}— (unregistered){% endif %} {{ s.key }} {{ s.state }} {{ (s.size_bytes | filesize) if s.size_bytes is not none else "—" }} {{ (s.last_modified | epoch) if s.last_modified is not none else "—" }} {{ s.call_count if s.call_count is not none else "—" }} Open {% endfor %} {% endcall %} {% if stores | selectattr("counts_capped") | list %}

counts unavailable for some stores (probe cap)

{% endif %} {% else %} {{ tables.empty_state('No cairn stores found — run', code='cairn init') }} {% endif %}
{% endblock %}