From fd8ae86b5fd6438bb7adf6ff159f1475838214f0 Mon Sep 17 00:00:00 2001 From: torsten Date: Tue, 10 Nov 2026 13:23:14 +0100 Subject: [PATCH] =?UTF-8?q?Tipps:=20Schnellauswahl=20auf=20die=20n=C3=A4ch?= =?UTF-8?q?sten=20offenen=20Runden=20begrenzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/code-map.md | 4 ++-- tippspiel/src/Views/tipps/index.php | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/code-map.md b/docs/code-map.md index dd35e7d..d61d65c 100644 --- a/docs/code-map.md +++ b/docs/code-map.md @@ -10,7 +10,7 @@ Diese Datei ersetzt die Erkundung. Erst hier nachschlagen, dann gezielt mit Abschnitt zu lesen. `docs/legacy/` ist absichtlich ausgeblendet (siehe `.ignore`); dort liegt der alte Laravel-Stand. -Umfang: 11415 Zeilen in 66 Dateien. +Umfang: 11425 Zeilen in 66 Dateien. ## Einstiegspunkte @@ -122,7 +122,7 @@ ohne View. | `tippspiel/src/Views/round.php` | 101 | Tippübersicht aller Spieler bis zu einer Runde | | `tippspiel/src/Views/settings.php` | 293 | Eigene Daten: IBAN/PayPal/Mobilnummer, E-Mail, Erinnerungen | | `tippspiel/src/Views/tipps/game.php` | 82 | Tipp-Formular für ein einzelnes Spiel | -| `tippspiel/src/Views/tipps/index.php` | 202 | Tipp-Startseite: Runden mit Spielen, eigenen Tipps und Joker | +| `tippspiel/src/Views/tipps/index.php` | 212 | Tipp-Startseite: Runden mit Spielen, eigenen Tipps und Joker | | `tippspiel/src/Views/tipps/no_payment.php` | 9 | Hinweis auf offene Zahlung vor der Tippabgabe | | `tippspiel/src/Views/tipps/round.php` | 107 | Rundenliste mit Spielen, Tipps und Joker | diff --git a/tippspiel/src/Views/tipps/index.php b/tippspiel/src/Views/tipps/index.php index 3bc2fc5..e186d9b 100644 --- a/tippspiel/src/Views/tipps/index.php +++ b/tippspiel/src/Views/tipps/index.php @@ -18,6 +18,9 @@ $teamLogo = function ($name) { $openRounds = array_values(array_filter($rounds, function ($round) { return !$round['locked'] && !empty($round['games']); })); +// Schnellauswahl auf die nächsten Runden begrenzen. Spätere Runden sind oft +// noch Platzhalter ("Mannschaft 1" usw.) und stehen weiter unten in der Liste. +$quickRounds = array_slice($openRounds, 0, 6); ?>

Aktive Saison:

@@ -27,13 +30,16 @@ $openRounds = array_values(array_filter($rounds, function ($round) {

- 1): ?> + 1): ?> @@ -192,6 +198,10 @@ $openRounds = array_values(array_filter($rounds, function ($round) { background: var(--pitch); color: #fff; } +.tipp-open-rounds small { + display: block; + margin-top: 0.35em; +} .tipp-round { margin-bottom: 2.5em; } .tipp-round h2 { margin-bottom: 0.3em; scroll-margin-top: 1em; } .tipp-round .joker-icon { width: 1.5em; height: 1.5em; }