<div class="container-fluid py-4">

<div class="card border-0 shadow-sm">

<div class="card-body">

<h2 class="mb-4">
Governance Auto-Remediation Center
</h2>

<div class="alert alert-warning">
Safe governance recovery operations only.
</div>

<div class="d-flex flex-wrap gap-2">

<a class="btn btn-primary"
href="/easychair/admin/conference-home/self-healing/run-submission-numbers">
Recover Submission Numbers
</a>

<a class="btn btn-success"
href="/easychair/admin/conference-home/self-healing/run-review-due-dates">
Recover Review Due Dates
</a>

<a class="btn btn-dark"
href="/easychair/admin/conference-home/self-healing/scan">
Run Integrity Scan
</a>

<a class="btn btn-warning"
href="/easychair/admin/conference-home/self-healing/governance-scan">
Run Governance Scan
</a>

</div>

<hr>

<h4>Current Integrity Snapshot</h4>

<table class="table table-bordered">

<tr>
<th>Issue</th>
<th>Total</th>
</tr>

<?php foreach($issues as $row): ?>

<tr>
<td><?= htmlspecialchars($row['issue_type']) ?></td>
<td><?= (int)$row['total'] ?></td>
</tr>

<?php endforeach; ?>

</table>

</div>

</div>

</div>
