Form marks and the own club's row in tables, squad grounds in the line-up, an own news masthead

- League tables show the last matches as marks (won, drawn, lost, not played) and
  set the manager's club apart with a bar in its crest colour.
- The line-up tints starters, bench and the rest of the squad.
- The news window carries a masthead of its own in the display serif.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 16:22:35 +01:00
1 parent 9b5d448fb6
commit 3a3513fb60
7 files changed
+45 -6

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ std::string App::render_news() {
std::string content =
"<div id=\"news-underlay\" class=\"news-layout\"><div "
"class=\"news-masthead\"><div class=\"news-brand\"><span "
"class=\"news-wordmark\">kicker</span><div><p>" + std::string(engine_mode_ ? "" : "DEIN SPIELJOURNAL") + "</p><h2>Nachrichten</h2></div></div><div "
"class=\"news-wordmark\">Dreierpack</span><div><p>" + std::string(engine_mode_ ? "" : "DEIN SPIELJOURNAL") + "</p><h2>Nachrichten</h2></div></div><div "
"class=\"news-owner\"><div><strong>" +
esc(data.at("club_name").get<std::string>()) + "</strong><p>" +
esc(data.at("date").get<std::string>()) + "</p></div>" +