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:
1 parent
9b5d448fb6
commit
3a3513fb60
7 files changed
+45
-6
No files matched your search
@@ -217,6 +217,15 @@ int main(int argc, char **argv) try {
|
||||
Rml::Style::FontStyle::Italic,
|
||||
Rml::Style::FontWeight::Bold),
|
||||
"Bold italic font missing");
|
||||
// the display serif of headings and the news masthead ships with the assets
|
||||
require(Rml::LoadFontFace((root / "fonts" / "SourceSerif4-Regular.ttf").string(), "Display",
|
||||
Rml::Style::FontStyle::Normal,
|
||||
Rml::Style::FontWeight::Normal),
|
||||
"Display font missing");
|
||||
require(Rml::LoadFontFace((root / "fonts" / "SourceSerif4-Semibold.ttf").string(), "Display",
|
||||
Rml::Style::FontStyle::Normal,
|
||||
Rml::Style::FontWeight::Bold),
|
||||
"Display bold font missing");
|
||||
std::ostringstream css;
|
||||
for (const auto *name : {"theme.rcss", "ticket.rcss", "sports.rcss",
|
||||
"calendar.rcss", "reports.rcss", "report_details.rcss",
|
||||
@@ -271,7 +280,7 @@ int main(int argc, char **argv) try {
|
||||
"<div style='position:absolute;left:2300dp;top:160dp;width:1000dp;height:80dp;'>" +
|
||||
button_markup("club-detail", "<span id='stats-from-label' class='report-club-name'>Synthetic source club</span><span style='width:42dp;height:42dp;'></span>",
|
||||
"report-club-button statistics-club name-first") + "</div>" +
|
||||
"<span id='news-brand-test' class='news-wordmark' style='position:absolute;left:2700dp;top:280dp;'>kicker</span>" +
|
||||
"<span id='news-brand-test' class='news-wordmark' style='position:absolute;left:2700dp;top:280dp;'>Dreierpack</span>" +
|
||||
"<div class='statistics-trophy-winner' style='left:2700dp;top:430dp;width:900dp;height:100dp;font-size:70dp;'>" +
|
||||
"<div class='image-frame' style='width:100dp;height:100dp;'></div><span id='stats-winner-label'>Sample winner</span></div>" +
|
||||
button_markup("statistics-curve", "<span class='statistics-series-dot'></span><span id='stats-legend-label' class='statistics-series-label'>Mannschaftsstärke</span>",
|
||||
|
||||
Reference in new issue
Block a user