Backup #12
| ID | 12 |
| Dateipfad | /var/www/dev.campus.systemische-tools.de/src/View/semantic-explorer/entitaeten/index.php |
| Version | 1 |
| Typ |
modified |
| Größe | 3.0 KB |
| Hash | d3f63aeb882db40f9e0ec85dfaad1a0ee32f78d38db3696ccd8189f8a5296fd1 |
| Datum | 2025-12-20 16:39:29 |
| Geändert von | claude-code-hook |
| Grund | Claude Code Pre-Hook Backup vor Write-Operation |
| Datei existiert |
Ja
|
Dateiinhalt
<?php ob_start(); ?>
<nav class="breadcrumb">
<a href="/">Home</a> » <a href="/explorer">Explorer</a> » <a href="/semantic-explorer">Semantic Explorer</a> » Entitaeten
</nav>
<h1>Entitaeten</h1>
<p>Extrahierte Personen, Organisationen, Konzepte und mehr.</p>
<div class="stats-grid">
<?php foreach ($stats as $s): ?>
<div class="stat-card">
<span class="stat-card__value"><?= $s['count'] ?></span>
<span class="stat-card__label"><?= htmlspecialchars($s['type']) ?></span>
</div>
<?php endforeach; ?>
</div>
<form method="get" class="filter-form">
<input type="text" name="search" value="<?= htmlspecialchars($currentSearch) ?>" placeholder="Suchen...">
<select name="type">
<option value="">Alle Typen</option>
<option value="PERSON" <?= $currentType === 'PERSON' ? 'selected' : '' ?>>Person</option>
<option value="ORGANIZATION" <?= $currentType === 'ORGANIZATION' ? 'selected' : '' ?>>Organisation</option>
<option value="LOCATION" <?= $currentType === 'LOCATION' ? 'selected' : '' ?>>Ort</option>
<option value="CONCEPT" <?= $currentType === 'CONCEPT' ? 'selected' : '' ?>>Konzept</option>
<option value="METHOD" <?= $currentType === 'METHOD' ? 'selected' : '' ?>>Methode</option>
<option value="TOOL" <?= $currentType === 'TOOL' ? 'selected' : '' ?>>Tool</option>
<option value="EVENT" <?= $currentType === 'EVENT' ? 'selected' : '' ?>>Event</option>
<option value="OTHER" <?= $currentType === 'OTHER' ? 'selected' : '' ?>>Sonstige</option>
</select>
<button type="submit" class="btn btn--primary">Filtern</button>
<?php if ($currentSearch || $currentType): ?>
<a href="/semantic-explorer/entitaeten" class="btn">Reset</a>
<?php endif; ?>
</form>
<?php if (!empty($entities)): ?>
<table data-sortable>
<thead>
<tr>
<th data-sort="name">Name</th>
<th data-sort="type">Typ</th>
<th data-sort="chunk_count">Chunks</th>
<th data-sort="relation_count">Relationen</th>
<th data-sort="description">Beschreibung</th>
</tr>
</thead>
<tbody>
<?php foreach ($entities as $e): ?>
<tr>
<td><a href="/semantic-explorer/entitaeten/<?= $e['id'] ?>"><?= htmlspecialchars($e['name']) ?></a></td>
<td><span class="badge"><?= htmlspecialchars($e['type']) ?></span></td>
<td><?= $e['chunk_count'] ?></td>
<td><?= $e['relation_count'] ?></td>
<td><?= htmlspecialchars(substr($e['description'] ?? '', 0, 80)) ?><?= strlen($e['description'] ?? '') > 80 ? '...' : '' ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<p>Keine Entitaeten gefunden. Fuehren Sie die semantische Analyse aus.</p>
<?php endif; ?>
<p class="links-bar">
<a href="/semantic-explorer">Zurueck zum Explorer</a> |
<a href="/semantic-explorer/relationen">Relationen</a>
</p>
<?php $content = ob_get_clean(); ?>
<?php require VIEW_PATH . '/layout.php'; ?>
Vollständig herunterladen
Aktionen
Andere Versionen dieser Datei
| ID |
Version |
Typ |
Größe |
Datum |
| 1641 |
3 |
modified |
3.0 KB |
2025-12-27 09:45 |
| 1620 |
2 |
modified |
3.0 KB |
2025-12-27 09:44 |
| 12 |
1 |
modified |
3.0 KB |
2025-12-20 16:39 |
← Zurück zur Übersicht