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>
21 lines
677 B
HTML
21 lines
677 B
HTML
{% extends "base.html" %}
|
|
{% import "macros.html" as m %}
|
|
{% block title %}Approval request{% endblock %}
|
|
{% block main %}
|
|
<h1>{{ heading }}</h1>
|
|
<div id="request" data-version="{{ version }}">
|
|
{% if let Some(entry) = entry %}
|
|
{% call m::card(entry, csrf, true) %}{% endcall %}
|
|
{% endif %}
|
|
{% if let Some(past) = past %}
|
|
{% if entry.is_none() %}
|
|
<p class="meta">{{ past.requester }} · {{ past.op }} · {% call m::outcome(past.outcome) %}{% endcall %}</p>
|
|
{% endif %}
|
|
<h2>History</h2>
|
|
{% call m::timeline(past.records.as_slice()) %}{% endcall %}
|
|
{% else if entry.is_none() %}
|
|
<p class="empty">The audit log has nothing about this request.</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|