diff --git a/css/style.css b/css/style.css index 364db7f..fc09014 100644 --- a/css/style.css +++ b/css/style.css @@ -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, diff --git a/php/inc_fx_promoteur_hub.php b/php/inc_fx_promoteur_hub.php index fe03865..17e0096 100644 --- a/php/inc_fx_promoteur_hub.php +++ b/php/inc_fx_promoteur_hub.php @@ -531,7 +531,7 @@ function fxPromoteurHubRenderEventSection($arrItems, $strTitleClef, $strLangue, return ''; } - $html = '

' . fxPromoteurHubEsc(afficheTexte($strTitleClef, 0)) . '

'; + $html = '

' . fxPromoteurHubEsc(afficheTexte($strTitleClef, 0)) . '

'; $html .= '
'; foreach ($arrItems as $arrItem) { diff --git a/php/inc_settings.php b/php/inc_settings.php index 9426c03..61efc40 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -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'); diff --git a/sql/MSIN-promoteur-hub-annonces-doc.sql b/sql/MSIN-promoteur-hub-annonces-doc.sql new file mode 100644 index 0000000..b17730c --- /dev/null +++ b/sql/MSIN-promoteur-hub-annonces-doc.sql @@ -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', +'

Bienvenue dans votre nouveau hub promoteur. Vous arrivez maintenant directement sur la liste de vos evenements, avec acces rapide a tous vos tableaux de bord.

Cliquez Tableau de bord sur un evenement pour deplier toutes ses fonctions (rapports et gestion).

', +'compte.php', 10, 1, NOW()), +('promoteur_hub_annonces', 'annonce_versions', 'fr', 'Versions a venir', 'Restez informe', +'

Nous publierons ici les annonces de mise a jour : nouvelles fonctions, ameliorations et dates des prochaines versions.

Cet espace est un exemple. Modifiez-le via l''editeur de documentation.
', +'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', +'

Welcome to your new promoter hub. You now land directly on your events list, with quick access to all your dashboards.

Click Dashboard on an event to expand all its functions (reports and management).

', +'compte.php', 10, 1, NOW()), +('promoteur_hub_annonces', 'annonce_versions', 'en', 'Upcoming versions', 'Stay informed', +'

We will post update announcements here: new features, improvements and upcoming release dates.

This space is an example. Edit it through the documentation editor.
', +'compte.php', 20, 1, NOW());