Backup #556
| ID | 556 |
| Dateipfad | /var/www/dev.campus.systemische-tools.de/src/View/content-pipeline/index.php |
| Version | 1 |
| Typ |
modified |
| Größe | 3.2 KB |
| Hash | f3119d7f48d7b38786ba617a1127072a20bfb667de50e89cd88b82979be740c2 |
| Datum | 2025-12-23 03:34:01 |
| Geändert von | claude-code-hook |
| Grund | Claude Code Pre-Hook Backup vor Edit-Operation |
| Datei existiert |
Ja
|
Dateiinhalt
<?php ob_start(); ?>
<h1>Content Pipeline</h1>
<div class="stats-grid">
<div class="stat-card">
<span class="stat-card__value"><?= $stats['pipelines'] ?? 0 ?></span>
<span class="stat-card__label">Pipelines</span>
</div>
<div class="stat-card stat-card--success">
<span class="stat-card__value"><?= $stats['runs_completed'] ?? 0 ?></span>
<span class="stat-card__label">Runs erfolgreich</span>
</div>
<div class="stat-card stat-card--danger">
<span class="stat-card__value"><?= $stats['runs_failed'] ?? 0 ?></span>
<span class="stat-card__label">Runs fehlgeschlagen</span>
</div>
<div class="stat-card stat-card--info">
<span class="stat-card__value"><?= $stats['documents_processed'] ?? 0 ?></span>
<span class="stat-card__label">Dokumente verarbeitet</span>
</div>
</div>
<div class="page-actions">
<a href="/content-pipeline/import" class="btn btn--secondary">Import-Ansicht</a>
<a href="/content-pipeline/new" class="btn btn--primary">Neue Pipeline</a>
</div>
<h2>Pipelines</h2>
<table id="pipeline-table" data-sortable>
<thead>
<tr>
<th data-sort="id">ID</th>
<th data-sort="name">Name</th>
<th>Steps</th>
<th>Runs</th>
<th>Letzter Run</th>
<th>Aktionen</th>
</tr>
</thead>
<tbody>
<?php if (!empty($pipelines)): ?>
<?php foreach ($pipelines as $pipeline): ?>
<tr>
<td>
<a href="/content-pipeline/<?= $pipeline['id'] ?>">
<?= $pipeline['id'] ?>
<?php if ($pipeline['is_default']): ?>
<span class="badge badge--success" title="Standard">*</span>
<?php endif; ?>
</a>
</td>
<td>
<a href="/content-pipeline/<?= $pipeline['id'] ?>"><?= htmlspecialchars($pipeline['name']) ?></a>
</td>
<td><?= $pipeline['active_steps'] ?? 0 ?> aktiv</td>
<td><?= $pipeline['total_runs'] ?? 0 ?></td>
<td>
<?php if ($pipeline['last_run_at']): ?>
<?= substr($pipeline['last_run_at'], 0, 16) ?>
<?php else: ?>
<span class="text-muted">-</span>
<?php endif; ?>
</td>
<td>
<a href="/content-pipeline/<?= $pipeline['id'] ?>" class="btn btn--small">Details</a>
<form action="/content-pipeline/<?= $pipeline['id'] ?>/run" method="POST" style="display:inline;">
<input type="hidden" name="_csrf" value="<?= htmlspecialchars($_SESSION['_csrf_token'] ?? '') ?>">
<button type="submit" class="btn btn--small btn--primary">Run</button>
</form>
</td>
</tr>
<?php endforeach; ?>
<?php else: ?>
<tr><td colspan="6" class="empty-state empty-state--small">Keine Pipelines vorhanden</td></tr>
<?php endif; ?>
</tbody>
</table>
<p class="links-bar">
<a href="/docs/modul/content-pipeline">Dokumentation</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 |
| 1788 |
2 |
modified |
3.2 KB |
2025-12-27 14:08 |
| 556 |
1 |
modified |
3.2 KB |
2025-12-23 03:34 |
← Zurück zur Übersicht