{% extends "base.html" %} {# server/templates/ops/tenant.html — Betrieb je Tenant: was läuft, Befund, Steuerung mit OTP (E68); mobil, grosse Bedienelemente #} {% load forge %} {% block title %}Operations · {% if tenant %}{{ tenant.name }}{% else %}Tenant{% endif %} · Forge{% endblock %} {% block content %}

Operations {% if tenant %}{{ tenant.name }}{% else %}{{ tenant_id|short_id }}{% endif %}

Refresh
{% if storage_error %}{% endif %} {% if may_control and not signer_ready %} {% endif %}

What runs where, from the signed ops manifests and monitor findings — no decryption, no per-project passkey. Restart and rollback need a fresh two-factor code; the runner acts at once, without waiting for a time window.

{% for row in rows %}

{% if row.project.name %}{{ row.project.name }}{% else %}{{ row.project.project_id|short_id }}{% endif %}

{% for env in row.envs %}
{{ env.name }} {{ env.app }}
{% if env.finding %} {% if env.finding.ok %}OK{% else %}FAIL{% endif %} · {{ env.finding.metric }} {% elif env.monitored %} no finding yet {% else %} not monitored {% endif %}
Snapshot {{ env.snapshot }} · image {{ env.image }} {% if env.healing %} · self-healing: {{ env.healing }}{% endif %} {% if env.finding %}
{{ env.finding_when }} — {{ env.finding.detail }}{% endif %}
{% for pending in env.pending %}
Command {{ pending.seq }}: {{ pending.action }} is waiting for the runner.
{% endfor %} {% if may_control and signer_ready %}
{% csrf_token %}
{% endif %}
{% empty %}

No ops manifest yet — the runner publishes one after the next successful deploy.

{% endfor %} {% if row.commands %}

Recent commands

{% endif %}
{% empty %} {% if not storage_error %}
No projects in this tenant yet.
{% endif %} {% endfor %} {% endblock %}