feat: add TrainingUnitRunPage and enhance training planning features
Deploy Development / deploy (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 1m57s

- Introduced TrainingUnitRunPage for displaying and printing training plans.
- Updated app routing to include a new route for the TrainingUnitRunPage.
- Enhanced the TrainingPlanningPage with a link to navigate to the new training run page.
- Updated CSS styles for print layout and improved visibility of completed training items.
This commit is contained in:
Lars committed 2026-04-29 06:37:52 +02:00
1 parent 23d4281058
commit 8debdae397
5 files changed
+393 -2

No files matched your search

+36
View File
@@ -2704,3 +2704,39 @@ a.analysis-split__nav-item {
align-items: center;
}
}
/* Trainingsplan — Anzeige / Druck / Ablauf (TrainingUnitRunPage) */
.training-run-item--done {
opacity: 0.75;
}
.training-run-item--done .training-run-checkbox:checked {
accent-color: var(--accent);
}
@media print {
.desktop-sidebar,
.bottom-nav,
.app-header--mobile,
.no-print {
display: none !important;
}
body {
background: #fff !important;
color: #000 !important;
}
.app-shell {
max-width: none !important;
}
.app-main {
padding: 12px 14px 20px !important;
}
.training-run-page {
max-width: none !important;
padding: 0 !important;
}
.training-run-section,
.training-run-header {
break-inside: avoid;
page-break-inside: avoid;
}
}