abgleich.php
Pfad: src/Infrastructure/Http/view/abgleich.php
Ext: php
Größe: 1275 Bytes
Geändert: 2026-07-16 01:42:07+02
<?php
declare(strict_types=1);
/**
* Read-only Abgleich Katalog gegen Realitaet: Typ, Bezeichner, Befund.
*
* @var callable(string):string $e
* @var list<\Demo\Domain\Abgleich\Abweichung> $befunde
* @var int $fehlend
*/
?>
<h1>Abgleich Katalog / Realität</h1>
<p><?= $e((string) count($befunde)) ?> Artefakte geprüft, <strong><?= $e((string) $fehlend) ?></strong> fehlen real.</p>
<input type="search" class="tabelle-filter" data-filter="#abgleich-tabelle" placeholder="Filtern …" aria-label="Tabelle filtern">
<table class="tabelle" id="abgleich-tabelle">
<thead>
<tr>
<th data-sort="text">Typ</th>
<th data-sort="text">Bezeichner</th>
<th data-sort="text">Befund</th>
</tr>
</thead>
<tbody>
<?php foreach ($befunde as $b): ?>
<tr>
<td><?= $e($b->typ) ?></td>
<td><?= $e($b->bezeichner) ?></td>
<td><?= $e($b->befund) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<script src="/assets/tabelle.js"></script>