responsive tabel added
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
piapassecker 2023-11-02 18:52:16 +01:00
parent 2f771958d1
commit 99f44c9bb2

View File

@ -69,34 +69,38 @@
<button hx-get="/runs/add/<?= $tournament_id; ?>" hx-push-url="/runs/add/<?= $tournament_id; ?>" hx-target="#main" class="btn btn-primary"><i class="fas fa-plus-circle"></i> Lauf hinzufügen</button> <button hx-get="/runs/add/<?= $tournament_id; ?>" hx-push-url="/runs/add/<?= $tournament_id; ?>" hx-target="#main" class="btn btn-primary"><i class="fas fa-plus-circle"></i> Lauf hinzufügen</button>
<?php endif; ?> <?php endif; ?>
<table class="table"> <div class="table-responsive">
<thead> <table class="table">
<tr> <thead>
<th>Bezeichnung</th> <tr>
<th>Lauf</th> <th>Bezeichnung</th>
<th>Parcourlänge</th> <th>Lauf</th>
<th>Normzeit</th> <th>Parcourlänge</th>
<th>Maxzeit</th> <th>Normzeit</th>
<th>Richter</th> <th>Maxzeit</th>
</tr> <th>Richter</th>
</thead> <th>Hund</th>
<tbody> </tr>
<?php foreach($tdata['runs'] as $rid) : ?> </thead>
<?php <tbody>
$run = new Run(); <?php foreach($tdata['runs'] as $rid) : ?>
$run->load($rid); <?php
?> $run = new Run();
<tr> $run->load($rid);
<td><a href="/runs/overview/<?= $rid; ?>" hx-get="/runs/overview/<?= $rid; ?>" hx-push-url="/runs/overview/<?= $rid; ?>" hx-target="#main"><?= escape($run->data['name']); ?></a></td> ?>
<td><?= escape($run->data['category']); ?></td> <tr>
<td><?= escape($run->data['length']); ?>m</td> <td><a href="/runs/overview/<?= $rid; ?>" hx-get="/runs/overview/<?= $rid; ?>" hx-push-url="/runs/overview/<?= $rid; ?>" hx-target="#main"><?= escape($run->data['name']); ?></a></td>
<td><?= escape($run->data['time_standard']); ?>s</td> <td><?= escape($run->data['category']); ?></td>
<td><?= escape($run->data['time_max']); ?>s</td> <td><?= escape($run->data['length']); ?>m</td>
<td><?= escape($run->data['referee']); ?></td> <td><?= escape($run->data['time_standard']); ?>s</td>
</tr> <td><?= escape($run->data['time_max']); ?>s</td>
<?php endforeach; ?> <td><?= escape($run->data['referee']); ?></td>
</tbody> <td><?= escape($run->data['dog']); ?></td>
</table> </tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</p> </p>
</div> </div>