settings correction
Deploy HouseHub / deploy (push) Successful in 2s

This commit is contained in:
Cedric
2026-05-12 16:52:27 +02:00
parent f68c2b7259
commit fd53b33e9f
2 changed files with 16 additions and 6 deletions
+10
View File
@@ -262,6 +262,16 @@ body.pf-home .pf-mobile-close-btn {
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
/* Bloc type « carte » (ex. paramètres) — suit le thème light/dark */
.pf-panel-card {
background: var(--bg-panel);
border: 1px solid var(--border-light);
border-radius: var(--radius);
padding: 24px;
margin-bottom: 24px;
}
h1 { h1 {
font-size: 2rem; font-size: 2rem;
font-weight: 800; font-weight: 800;
+6 -6
View File
@@ -148,7 +148,7 @@ require __DIR__ . '/header.php';
<?php endif; ?> <?php endif; ?>
<!-- ── Langue ─────────────────────────────────────────────────────────── --> <!-- ── Langue ─────────────────────────────────────────────────────────── -->
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🌐 Langue / Language</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🌐 Langue / Language</h2>
<form method="post" style="display:flex;gap:10px;flex-wrap:wrap"> <form method="post" style="display:flex;gap:10px;flex-wrap:wrap">
<input type="hidden" name="action" value="set_lang"> <input type="hidden" name="action" value="set_lang">
@@ -176,7 +176,7 @@ require __DIR__ . '/header.php';
<!-- ── Modules ────────────────────────────────────────────────────────── --> <!-- ── Modules ────────────────────────────────────────────────────────── -->
<?php if ($family_id): ?> <?php if ($family_id): ?>
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:6px">🧩 Modules actifs</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:6px">🧩 Modules actifs</h2>
<p style="color:#64748b;font-size:0.85rem;margin-bottom:20px">Choisissez les modules visibles dans la navigation (partagé avec tous les membres de l'espace).</p> <p style="color:#64748b;font-size:0.85rem;margin-bottom:20px">Choisissez les modules visibles dans la navigation (partagé avec tous les membres de l'espace).</p>
<?php <?php
@@ -215,7 +215,7 @@ require __DIR__ . '/header.php';
foreach (glob('/uploads/home_bg_' . $family_id . '.*') as $f) { $bg_file = $f; break; } foreach (glob('/uploads/home_bg_' . $family_id . '.*') as $f) { $bg_file = $f; break; }
$has_custom_bg = $bg_file !== null; $has_custom_bg = $bg_file !== null;
?> ?>
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:6px">🖼️ Image d'accueil</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:6px">🖼️ Image d'accueil</h2>
<p style="color:#64748b;font-size:0.85rem;margin-bottom:20px">Photo de fond affichée sur la page d'accueil (partagée avec tous les membres).</p> <p style="color:#64748b;font-size:0.85rem;margin-bottom:20px">Photo de fond affichée sur la page d'accueil (partagée avec tous les membres).</p>
@@ -246,7 +246,7 @@ require __DIR__ . '/header.php';
<?php endif; ?> <?php endif; ?>
<!-- ── Profil ──────────────────────────────────────────────────────────── --> <!-- ── Profil ──────────────────────────────────────────────────────────── -->
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">👤 Mon profil</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">👤 Mon profil</h2>
<form method="post"> <form method="post">
<input type="hidden" name="action" value="update_profile"> <input type="hidden" name="action" value="update_profile">
@@ -263,7 +263,7 @@ require __DIR__ . '/header.php';
</section> </section>
<!-- ── Mot de passe ────────────────────────────────────────────────────── --> <!-- ── Mot de passe ────────────────────────────────────────────────────── -->
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🔒 Changer le mot de passe</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🔒 Changer le mot de passe</h2>
<form method="post"> <form method="post">
<input type="hidden" name="action" value="change_password"> <input type="hidden" name="action" value="change_password">
@@ -285,7 +285,7 @@ require __DIR__ . '/header.php';
<?php if ($family): ?> <?php if ($family): ?>
<!-- ── Espace familial ─────────────────────────────────────────────────── --> <!-- ── Espace familial ─────────────────────────────────────────────────── -->
<section style="background:white;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:24px"> <section class="pf-panel-card">
<h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🏠 Mon espace familial</h2> <h2 style="font-size:1rem;font-weight:700;margin-bottom:20px">🏠 Mon espace familial</h2>
<form method="post" style="margin-bottom:20px"> <form method="post" style="margin-bottom:20px">