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

<div class="d-flex justify-content-between mb-4">

<h2>
Governance Observatory
</h2>

<a
class="btn btn-primary"
href="/easychair/admin/conference-home/governance-observatory/capture">
Capture Governance Snapshot
</a>

</div>

<div class="row g-4 mb-4">

<div class="col-md-6">

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

<div class="card-body">

<h4>
Governed Tracks
</h4>

<h1>

<?= (int)$ownershipCoverage['governed_tracks'] ?>

/

<?= (int)$ownershipCoverage['total_tracks'] ?>

</h1>

</div>

</div>

</div>

<div class="col-md-6">

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

<div class="card-body">

<h4>
Coverage %
</h4>

<h1>

<?=
round(
(
(int)$ownershipCoverage['governed_tracks']
/
max(
1,
(int)$ownershipCoverage['total_tracks']
)
)
*100,
2
)
?>

%

</h1>

</div>

</div>

</div>

</div>

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

<div class="card-body">

<h4>
Decision Throughput
</h4>

<table class="table table-bordered">

<tr>
<th>Status</th>
<th>Total</th>
</tr>

<?php foreach($decisionStats as $d): ?>

<tr>

<td>
<?= htmlspecialchars($d['decision_state']) ?>
</td>

<td>
<?= (int)$d['total'] ?>
</td>

</tr>

<?php endforeach; ?>

</table>

</div>

</div>

</div>
