Files
slop-broker/templates/pending.html
T
jackos1998andClaude Opus 5.5 076f4959d9 web: Add approvals web app
A web app lists pending requests with full detail, leases and the
audit log grouped by request, and sends Web Push notifications that can
answer requests. Approvers sign in through an OpenID Connect provider;
policy can require a fresh passkey (`confirm = "passkey"`) to approve,
which only the web app can then give.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:39:36 +00:00

16 lines
547 B
HTML

{%- import "macros.html" as m -%}
{% if entries.is_empty() %}
<p class="empty">Nothing is waiting for an answer.</p>
{% endif %}
{% for entry in entries %}
{% call m::card(entry, csrf, false) %}{% endcall %}
{% endfor %}
{% if !leases.is_empty() %}
<h2>Active leases</h2>
<table><thead><tr><th>Requester</th><th>Scope</th><th>Left</th></tr></thead><tbody>
{% for (requester, scope, seconds) in leases %}
<tr><td>{{ requester }}</td><td><code>{{ scope }}</code></td><td>{{ self::left(seconds) }}</td></tr>
{% endfor %}
</tbody></table>
{% endif %}