Update promoteur hub styles and enhance event section rendering
This commit modifies the CSS for the promoteur hub, introducing new styles for card elements, including updated colors, borders, and shadows for improved aesthetics. It also enhances the event section rendering by adding a specific class to the event title, ensuring consistent styling across the promoteur hub. Additionally, the version code is incremented to reflect these changes.
This commit is contained in:
@ -3098,23 +3098,38 @@ a.ms1-trad-link.btn-aide-trad{
|
||||
.promoteur-hub-card {
|
||||
background-color: #fff;
|
||||
border: 1px solid #dee2e6;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
||||
border-left: 5px solid #f3a566;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.promoteur-hub-event-title {
|
||||
color: #212529;
|
||||
color: #1f3b63;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.promoteur-hub-card-icon {
|
||||
flex-shrink: 0;
|
||||
padding: 6px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e9ecef;
|
||||
border: 1px solid #f3a566;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.promoteur-hub-card-archived {
|
||||
opacity: 0.72;
|
||||
border-left-color: #adb5bd;
|
||||
opacity: 0.78;
|
||||
}
|
||||
|
||||
.promoteur-hub-card-archived .promoteur-hub-card-icon {
|
||||
border-color: #ced4da;
|
||||
filter: grayscale(40%);
|
||||
}
|
||||
|
||||
.promoteur-hub-section-title {
|
||||
color: #1f3b63;
|
||||
border-bottom: 2px solid #f3a566;
|
||||
display: inline-block;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.promoteur-hub-annonces .ms1-doc-trigger,
|
||||
|
||||
@ -531,7 +531,7 @@ function fxPromoteurHubRenderEventSection($arrItems, $strTitleClef, $strLangue,
|
||||
return '';
|
||||
}
|
||||
|
||||
$html = '<h2 class="h4 mt-4 mb-3">' . fxPromoteurHubEsc(afficheTexte($strTitleClef, 0)) . '</h2>';
|
||||
$html = '<h2 class="h4 mt-4 mb-3 promoteur-hub-section-title">' . fxPromoteurHubEsc(afficheTexte($strTitleClef, 0)) . '</h2>';
|
||||
$html .= '<div class="promoteur promoteur-hub-events">';
|
||||
|
||||
foreach ($arrItems as $arrItem) {
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
* Constantes *
|
||||
*
|
||||
**************/
|
||||
define('_VERSION_CODE', '4.72.702');
|
||||
define('_VERSION_CODE', '4.72.703');
|
||||
define('_DATE_CODE', '2026-06-25');
|
||||
//MSIN-4290
|
||||
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');
|
||||
|
||||
34
sql/MSIN-promoteur-hub-annonces-doc.sql
Normal file
34
sql/MSIN-promoteur-hub-annonces-doc.sql
Normal file
@ -0,0 +1,34 @@
|
||||
-- Exemple de contenu "Nouveautes MS1" pour le hub promoteur (module doc multipage).
|
||||
-- Anchor + module appeles par fxDocRenderModule('promoteur_hub_annonces').
|
||||
-- Prerequis : tables doc_mod / doc_page / doc_anchor (voir MSIN-doc-module.sql).
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
|
||||
-- Reimport propre
|
||||
DELETE FROM doc_page WHERE doc_mod_clef = 'promoteur_hub_annonces';
|
||||
DELETE FROM doc_anchor WHERE doc_anchor_clef = 'promoteur_hub_annonces';
|
||||
DELETE FROM doc_mod WHERE doc_mod_clef = 'promoteur_hub_annonces';
|
||||
|
||||
INSERT INTO `doc_mod` (`doc_mod_clef`, `doc_mod_prg`, `doc_mod_titre`, `doc_mod_actif`, `doc_mod_tri`, `doc_mod_creation`)
|
||||
VALUES ('promoteur_hub_annonces', 'compte.php', 'Nouveautes MS1', 1, 10, NOW());
|
||||
|
||||
INSERT INTO `doc_anchor` (`doc_anchor_clef`, `doc_mod_clef`, `doc_prg`, `doc_actif`, `doc_creation`)
|
||||
VALUES ('promoteur_hub_annonces', 'promoteur_hub_annonces', 'compte.php', 1, NOW());
|
||||
|
||||
-- FR
|
||||
INSERT INTO `doc_page` (`doc_mod_clef`, `doc_page_clef`, `doc_langue`, `doc_titre`, `doc_sous_titre`, `doc_html`, `doc_prg`, `doc_tri`, `doc_actif`, `doc_creation`) VALUES
|
||||
('promoteur_hub_annonces', 'annonce_hub', 'fr', 'Nouveau tableau de bord promoteur', 'Acces direct a vos evenements',
|
||||
'<article class="ms1-doc-article"><p>Bienvenue dans votre <strong>nouveau hub promoteur</strong>. Vous arrivez maintenant directement sur la liste de vos evenements, avec acces rapide a tous vos tableaux de bord.</p><ul><li><strong>En vedette</strong> : vos evenements a venir et recents.</li><li><strong>Evenements passes</strong> : toujours accessibles, en second plan.</li></ul><p>Cliquez <strong>Tableau de bord</strong> sur un evenement pour deplier toutes ses fonctions (rapports et gestion).</p></article>',
|
||||
'compte.php', 10, 1, NOW()),
|
||||
('promoteur_hub_annonces', 'annonce_versions', 'fr', 'Versions a venir', 'Restez informe',
|
||||
'<article class="ms1-doc-article"><p>Nous publierons ici les <strong>annonces de mise a jour</strong> : nouvelles fonctions, ameliorations et dates des prochaines versions.</p><blockquote>Cet espace est un exemple. Modifiez-le via l''editeur de documentation.</blockquote></article>',
|
||||
'compte.php', 20, 1, NOW());
|
||||
|
||||
-- EN
|
||||
INSERT INTO `doc_page` (`doc_mod_clef`, `doc_page_clef`, `doc_langue`, `doc_titre`, `doc_sous_titre`, `doc_html`, `doc_prg`, `doc_tri`, `doc_actif`, `doc_creation`) VALUES
|
||||
('promoteur_hub_annonces', 'annonce_hub', 'en', 'New promoter dashboard', 'Direct access to your events',
|
||||
'<article class="ms1-doc-article"><p>Welcome to your <strong>new promoter hub</strong>. You now land directly on your events list, with quick access to all your dashboards.</p><ul><li><strong>Highlights</strong>: your upcoming and recent events.</li><li><strong>Past events</strong>: still available, in the background.</li></ul><p>Click <strong>Dashboard</strong> on an event to expand all its functions (reports and management).</p></article>',
|
||||
'compte.php', 10, 1, NOW()),
|
||||
('promoteur_hub_annonces', 'annonce_versions', 'en', 'Upcoming versions', 'Stay informed',
|
||||
'<article class="ms1-doc-article"><p>We will post <strong>update announcements</strong> here: new features, improvements and upcoming release dates.</p><blockquote>This space is an example. Edit it through the documentation editor.</blockquote></article>',
|
||||
'compte.php', 20, 1, NOW());
|
||||
Reference in New Issue
Block a user