index.php
- Pfad:
src/View/system-explorer/dokumente/index.php - Namespace: -
- Zeilen: 44 | Größe: 1,512 Bytes
- Geändert: 2025-12-20 14:49:45 | Gescannt: 2025-12-31 10:22:15
Code Hygiene Score: 100
- Dependencies: 100 (25%)
- LOC: 100 (20%)
- Methods: 100 (20%)
- Secrets: 100 (15%)
- Classes: 100 (10%)
- Magic Numbers: 100 (10%)
Keine Issues gefunden.
Code
<?php ob_start(); ?>
<nav class="breadcrumb">
<a href="/">Home</a> » <a href="/explorer">Explorer</a> » <a href="/system-explorer">System Explorer</a> » Dokumente
</nav>
<h1>Dokumente</h1>
<p>Hauptbereiche der Server-Dokumentation (depth=0).</p>
<table data-sortable>
<thead>
<tr>
<th data-sort="title">Titel</th>
<th data-sort="path">Pfad</th>
<th data-sort="seiten">Seiten</th>
<th data-sort="chunks">Chunks</th>
<th data-sort="tokens">Tokens</th>
<th>Aktionen</th>
</tr>
</thead>
<tbody>
<?php foreach ($dokumente as $d): ?>
<tr>
<td><a href="/system-explorer/dokumente/<?= $d['id'] ?>"><?= htmlspecialchars($d['title']) ?></a></td>
<td><code><?= htmlspecialchars($d['path']) ?></code></td>
<td><?= $d['seiten_count'] ?></td>
<td><?= number_format($d['total_chunks']) ?></td>
<td><?= number_format($d['total_tokens']) ?></td>
<td>
<a href="/system-explorer/dokumente/<?= $d['id'] ?>" class="btn btn--small btn--primary">Details</a>
<a href="/docs/<?= htmlspecialchars($d['path']) ?>" class="btn btn--small">Docs</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<p class="links-bar">
<a href="/system-explorer">Zurück zum Explorer</a>
</p>
<?php $content = ob_get_clean(); ?>
<?php require VIEW_PATH . '/layout.php'; ?>