The first pages in the notebook's own format: tables, fixtures, strengths, scorers, fair play, indoor

A page of the notebook is 1244 x 720 design units under the sheet's heading; its
building blocks (panels, tables, pills, pickers, meters, dialogs) are in pages.inc
and pages.rcss with the notebook's inks for all three skins. The league reports
are laid out in it; the other menus stay scaled sheets until they follow. The
older dialogs take the same cream note with round corners and pill buttons.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 17:23:20 +01:00
1 parent fc2974084c
commit ac455eabfe
12 files changed
+479 -351

No files matched your search

+6 -3
View File
@@ -134,10 +134,13 @@ std::string App::report_picker(const std::string &kind, double left,
: kind == "stat-category" ? "Wettbewerbsgruppe"
: kind == "winner-country" ? "Land"
: kind == "stat-country" ? "Statistikbereich" : "Wettbewerb";
// on a notebook page (left < 0) the picker is an item of the page's foot with its name in front
const bool flow = left < 0;
std::string out =
"<div class=\"report-picker-wrapper\" data-report-picker=\"" + kind +
"\" style=\"left:" + scalar(left) + "dp;width:" + scalar(width) + "dp;\">" +
btn("report-picker", "<span class=\"report-picker-label\">" + esc(caption) +
"<div class=\"report-picker-wrapper" + std::string(flow ? " pg-dd" : "") + "\" data-report-picker=\"" + kind +
"\"" + (flow ? std::string() : " style=\"left:" + scalar(left) + "dp;width:" + scalar(width) + "dp;\"") + ">" +
btn("report-picker", (flow ? "<span class=\"pg-dd-l\">" + esc(pg_upper(kind == "year" ? "Jahr" : menu_label)) + "</span>" : std::string()) +
"<span class=\"report-picker-label\">" + esc(flow && kind == "year" ? std::to_string(almanac_year_) : caption) +
"</span><span class=\"report-picker-arrow\" aria-hidden=\"true\">"
"<span></span></span>",
"report-picker-trigger",