Calendar, postponing and friendlies as pages of the notebook

The season calendar keeps its two steps (twelve months, then the days of one) in
the page's size and inks. Postponing and friendlies show the season as twelve month
sheets in two rows with the days coloured by what they are to the task; their
dialogs are notes on the dimmed book. A national coach's friendlies and the demo
keep the older sheets.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 18:21:53 +01:00
1 parent c83b020952
commit 76333e8d75
8 files changed
+229 -126

No files matched your search

+4
View File
@@ -892,6 +892,9 @@ class App final : public Rml::EventListener {
static std::string pg_dialog(const std::string &title, const std::string &sub, const std::string &body, const std::string &actions, double width, const std::string &attrs = {});
std::string pg_club(const std::string &id, double size = 50, bool reverse = false);
void notebook_finish(std::string &markup);
// postponing and friendlies (planning_page.inc)
std::string page_months(const Json &calendar, bool booking, bool postpone, const std::set<int> &movable);
static std::string page_steps(const std::string &first, const std::string &second, bool at_second);
// the tactics sketch (tactics_page.inc): what is being dragged on it
bool tactics_page_event(Rml::Event &event);
Json tactic_drag_;
@@ -1787,6 +1790,7 @@ public:
#include "modern/ui/notebook_home.inc"
#include "modern/ui/pages.inc"
#include "modern/ui/tactics_page.inc"
#include "modern/ui/planning_page.inc"
#include "modern/ui/finance_simulation.inc"
#include "modern/ui/statistics_analysis.inc"
#include "modern/ui/engine_rankings.inc"