pub fn health_page(
session: Option<AdminSession>,
return_to: ReturnTo,
pool: &State<DbPool>,
) -> Result<Template, AdminReject>Expand description
The human health screen: the HTML twin of GET /api/health, sharing HealthDto — database
reachability, migration currency, and live connection-pool utilization at a glance. Signed-in
admins only (unauthenticated → sign-in page); the public /healthz JSON probe stays open for
liveness, but the detailed view is admin/token-gated.