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">
<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']); ?>
</h5>
</h1>
<div class="table-responsive">
<table class="table">
<tbody>
@ -61,32 +61,30 @@
</div>
<div class="container" id="sitemain">
<!-- 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-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">
2023
</button>
</h2>
</h3>
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordion-dog-runs">
<div class="accordion-body">
Runs 2023
<table class="table">
<thead>
<tr>
<th>Turnier</th>
<th>Lauf</th>
<th>Platz</th>
<th>Dis</th>
<th>VW</th>
<th>F</th>
<th>ZF</th>
<th>Zeit</th>
<th>GF</th>
<th>m/Sek</th>
<th>Bew.</th>
<th class="text-end">VW</th>
<th class="text-end">F</th>
<th class="text-end">ZF</th>
<th class="text-end">Zeit</th>
<th class="text-end">GF</th>
<th class="text-end">m/Sek</th>
<th class="text-end">Bew.</th>
<th class="text-end">Platz</th>
</tr>
</thead>
</table>
@ -101,15 +99,14 @@
<tr>
<th>Turnier</th>
<th>Lauf</th>
<th>Platz</th>
<th>Dis</th>
<th>VW</th>
<th>F</th>
<th>ZF</th>
<th>Zeit</th>
<th>GF</th>
<th>m/Sek</th>
<th>Bew.</th>
<th class="text-end">VW</th>
<th class="text-end">F</th>
<th class="text-end">ZF</th>
<th class="text-end">Zeit</th>
<th class="text-end">GF</th>
<th class="text-end">m/Sek</th>
<th class="text-end">Bew.</th>
<th class="text-end">Platz</th>
</tr>
</thead>
<tbody>
@ -142,33 +139,31 @@
<td><a href="/runs/overview/<?= $result['run']; ?>">
<?= $rname; ?>
</a></td>
<td>
<?= escape($result['ranking']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['refusals']); ?>
</td>
<td>
<?= $result['disqualified']?'Ja':'Nein'; ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['errors']); ?>
</td>
<td>
<?= escape($result['refusals']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['timefaults']); ?>
</td>
<td>
<?= escape($result['errors']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['runtime']); ?>
</td>
<td>
<?= escape($result['timefaults']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['penalties']); ?>
</td>
<td>
<?= escape($result['runtime']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['speed']); ?>
</td>
<td>
<?= escape($result['penalties']); ?>
<td class="text-end">
<?= $result['disqualified']?'':escape($result['rating']); ?>
</td>
<td>
<?= escape($result['speed']); ?>
</td>
<td>
<?= escape($result['ranking']); ?>
<td class="text-end">
<?= $result['disqualified']?'Dis':escape($result['ranking'] . '. Platz'); ?>
</td>
</tr>
<?php endforeach; ?>
<?php else: ?>