This commit is contained in:
Thies Mueller
2026-06-04 19:17:06 +02:00
parent 904baf7325
commit 2fa24a5b9e
+18 -2
View File
@@ -181,10 +181,26 @@ $lastResult = $rennenIndex > 0 ? ($ergebnisse[$rennenIndex - 1] ?? null) : null;
<div class="card-body">
<?php if ($next): ?>
<p><strong><?= htmlspecialchars($next['name']) ?></strong> um <?= htmlspecialchars($next['zeit']) ?></p>
<ul>
<ul class="list-group">
<?php for ($i = 1; $i <= 3; $i++): ?>
<?php if (!empty($next["bahn$i"])): ?>
<li>Bahn <?= $i ?>: <?= htmlspecialchars($next["bahn$i"]) ?></li>
<?php
$bootName = $next["bahn$i"];
$bootId = $bootIdMap[$bootName] ?? null;
?>
<li class="list-group-item">
Bahn <?= $i ?>:
<?= htmlspecialchars($bootName) ?>
<?php if ($bootId): ?>
<form method="post" class="d-inline float-end">
<input type="hidden" name="action" value="page_team">
<input type="hidden" name="bootid" value="<?= $bootId ?>">
<button type="submit" class="btn btn-sm btn-warning">
Page
</button>
</form>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endfor; ?>
</ul>