fix: Behebe Farbkonflikt und zentriere numerische Tabellenspalten
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
parent
03fc9909f3
commit
c41b1f139c
2 changed files with 12 additions and 9 deletions
|
|
@ -35,11 +35,11 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Platz</th>
|
||||
<th class="text-center">Platz</th>
|
||||
<th>Name</th>
|
||||
<th>🏆</th>
|
||||
<th>Punkte (Gesamt)</th>
|
||||
<th>Punkte (Runde)</th>
|
||||
<th class="text-center">🏆</th>
|
||||
<th class="text-center">Punkte (Gesamt)</th>
|
||||
<th class="text-center">Punkte (Runde)</th>
|
||||
<?php foreach ($games as $game): ?>
|
||||
<th class="game-header">
|
||||
<?php echo htmlspecialchars($game['team1']); ?><br>
|
||||
|
|
@ -52,11 +52,11 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
|
|||
<tbody>
|
||||
<?php foreach ($ranking as $entry): ?>
|
||||
<tr>
|
||||
<td><?php echo $entry['rank']; ?>.</td>
|
||||
<td class="text-center"><?php echo $entry['rank']; ?>.</td>
|
||||
<td><?php echo htmlspecialchars($entry['name']); ?></td>
|
||||
<td><?php echo in_array($entry['id'], $dailyWinners) ? '🏆' : ''; ?></td>
|
||||
<td><strong><?php echo $entry['score']; ?></strong></td>
|
||||
<td><?php echo $entry['round_score']; ?></td>
|
||||
<td class="text-center"><?php echo in_array($entry['id'], $dailyWinners) ? '🏆' : ''; ?></td>
|
||||
<td class="text-center"><strong><?php echo $entry['score']; ?></strong></td>
|
||||
<td class="text-center"><?php echo $entry['round_score']; ?></td>
|
||||
<?php foreach ($games as $game): ?>
|
||||
<?php
|
||||
$tipp = $entry['tipps'][$game['id']];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue