Uniformisation body : data-page au lieu de classes par page
Deploy HouseHub / deploy (push) Successful in 2s

- <body data-page="pageName"> uniforme sur toutes les pages
- <main> reçoit la classe module via $mainClass (pas le body)
- home.css : body.pf-home → body[data-page="home"]
- family-calendar.css : .pf-family-calendar .pf-main → .pf-family-calendar.pf-main
- dark-mode.css : mise à jour références body.pf-home

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
perco
2026-05-12 10:36:17 +02:00
co-authored by Claude Sonnet 4.6
parent 63d71ab7e4
commit 1e43f4bdc1
8 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ $pageTitle = ($tab === 'holiday_detail')
: tr('hdl_title_list');
$activePage = "holidays";
$bodyClass = "pf-holidays";
$mainClass = "pf-holidays";
$pageCss = "/modules/holidays/holidays.css";
require __DIR__ . '/header.php';