table layout changed
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s

This commit is contained in:
piapassecker 2023-11-20 20:18:17 +01:00
parent 9f3ca1153f
commit 000c964317

View File

@ -7,9 +7,9 @@
<div id="dog-data" class="col-sm-6 offset-sm-3 position-relative rounded-2 shadow mb-3 mb-md-5"> <div id="dog-data" class="col-sm-6 offset-sm-3 position-relative rounded-2 shadow mb-3 mb-md-5">
<img src="<?= $dogdata['photo']?:'https://pictshare.net/1ch3e5.png' ?>/120x160/forcesize" width="120" height="160" class="rounded-5 rounded-top-0 dog-image shadow" alt="<?= escape($dogdata['name']); ?>'s profile Picture"> <img src="<?= $dogdata['photo']?:'https://pictshare.net/1ch3e5.png' ?>/120x160/forcesize" width="120" height="160" class="rounded-5 rounded-top-0 dog-image shadow" alt="<?= escape($dogdata['name']); ?>'s profile Picture">
<h5 class="mb-3"> <h1 class="mb-3">
<?= escape($dogdata['name']); ?> <?= escape($dogdata['name']); ?>
</h5> </h1>
<div class="table-responsive"> <div class="table-responsive">
<table class="table"> <table class="table">
<tbody> <tbody>
@ -61,32 +61,30 @@
</div> </div>
<div class="container" id="sitemain"> <div class="container" id="sitemain">
<!-- table of all runs of this dog--> <!-- table of all runs of this dog-->
<h4>Alle Ergebnisse</h4> <h2>Alle Ergebnisse</h2>
<div class="accordion" id="accordion-dog-runs"> <div class="accordion" id="accordion-dog-runs">
<div class="accordion-item"> <div class="accordion-item">
<h2 class="accordion-header"> <h3 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
2023 2023
</button> </button>
</h2> </h3>
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordion-dog-runs"> <div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordion-dog-runs">
<div class="accordion-body"> <div class="accordion-body">
Runs 2023
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Turnier</th> <th>Turnier</th>
<th>Lauf</th> <th>Lauf</th>
<th>Platz</th> <th class="text-end">VW</th>
<th>Dis</th> <th class="text-end">F</th>
<th>VW</th> <th class="text-end">ZF</th>
<th>F</th> <th class="text-end">Zeit</th>
<th>ZF</th> <th class="text-end">GF</th>
<th>Zeit</th> <th class="text-end">m/Sek</th>
<th>GF</th> <th class="text-end">Bew.</th>
<th>m/Sek</th> <th class="text-end">Platz</th>
<th>Bew.</th>
</tr> </tr>
</thead> </thead>
</table> </table>
@ -101,15 +99,14 @@
<tr> <tr>
<th>Turnier</th> <th>Turnier</th>
<th>Lauf</th> <th>Lauf</th>
<th>Platz</th> <th class="text-end">VW</th>
<th>Dis</th> <th class="text-end">F</th>
<th>VW</th> <th class="text-end">ZF</th>
<th>F</th> <th class="text-end">Zeit</th>
<th>ZF</th> <th class="text-end">GF</th>
<th>Zeit</th> <th class="text-end">m/Sek</th>
<th>GF</th> <th class="text-end">Bew.</th>
<th>m/Sek</th> <th class="text-end">Platz</th>
<th>Bew.</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -142,33 +139,31 @@
<td><a href="/runs/overview/<?= $result['run']; ?>"> <td><a href="/runs/overview/<?= $result['run']; ?>">
<?= $rname; ?> <?= $rname; ?>
</a></td> </a></td>
<td> <td class="text-end">
<?= escape($result['ranking']); ?> <?= $result['disqualified']?'':escape($result['refusals']); ?>
</td> </td>
<td> <td class="text-end">
<?= $result['disqualified']?'Ja':'Nein'; ?> <?= $result['disqualified']?'':escape($result['errors']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['refusals']); ?> <?= $result['disqualified']?'':escape($result['timefaults']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['errors']); ?> <?= $result['disqualified']?'':escape($result['runtime']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['timefaults']); ?> <?= $result['disqualified']?'':escape($result['penalties']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['runtime']); ?> <?= $result['disqualified']?'':escape($result['speed']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['penalties']); ?> <?= $result['disqualified']?'':escape($result['rating']); ?>
</td> </td>
<td> <td class="text-end">
<?= escape($result['speed']); ?> <?= $result['disqualified']?'Dis':escape($result['ranking'] . '. Platz'); ?>
</td>
<td>
<?= escape($result['ranking']); ?>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
<?php else: ?> <?php else: ?>