fix: Joker-Symbol von CSS-Hintergrund auf IMG-Tag umstellen

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
torsten 2026-10-04 07:08:44 +02:00
parent 9a325aef48
commit 2ba24c0536
3 changed files with 3 additions and 8 deletions

View file

@ -32,7 +32,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
<div class="legend">
<div class="legend-item">🏆 Tagessieger</div>
<div class="legend-item"><span class="joker-icon"></span> Joker gesetzt</div>
<div class="legend-item"><img src="/icons/joker.png" alt="Joker" class="joker-icon"> Joker gesetzt</div>
<div class="legend-item"><div class="legend-color" style="background-color: orange;"></div> Exaktes Ergebnis</div>
<div class="legend-item"><div class="legend-color" style="background-color: red;"></div> Exakt mit Joker</div>
<div class="legend-item"><div class="legend-color" style="background-color: gold;"></div> Richtige Differenz</div>
@ -78,7 +78,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
<td class="tipp-cell <?php echo htmlspecialchars($td_class); ?>" title="Tipp: <?php echo htmlspecialchars($tipp['text']); ?> | Punkte: <?php echo $tipp['points']; ?>">
<?php echo $tipp['points']; ?>
<?php if ($tipp['is_joker']): ?>
<span class="joker-icon" title="Joker"></span>
<img src="/icons/joker.png" alt="Joker" class="joker-icon" title="Joker">
<?php endif; ?>
</td>
<?php endforeach; ?>

View file

@ -68,7 +68,7 @@ require __DIR__ . '/partials/header.php';
<td class="tipp-cell <?php echo htmlspecialchars($td_class); ?>" title="Tipp: <?php echo htmlspecialchars($text); ?>">
<?php echo htmlspecialchars($text); ?>
<?php if ($is_joker && Game::isLocked($game['kickoff'])): ?>
<span class="joker-icon" title="Joker"></span>
<img src="/icons/joker.png" alt="Joker" class="joker-icon" title="Joker">
<?php endif; ?>
</td>
<?php endforeach; ?>