MSIN-4467 — Update CSS for secondary headers to improve visual compactness and styling. Add new language keys for registration quantities and bib assignment in PHP. Increment version code to 4.72.847.

This commit is contained in:
2026-07-21 11:58:24 -04:00
parent 9732763fc8
commit 52d354bc9f
5 changed files with 45 additions and 7 deletions

View File

@ -2366,6 +2366,36 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active {
border-radius:0;
}
/* MSIN-4467 — En-têtes secondaires plus compacts et moins dominants visuellement. */
.epr-col-right > .epr-block > .epr-header{
padding:8px 10px;
border-bottom:1px solid #cbd8ea;
background:#edf2f8;
color:#1e3a6e;
font-size:14px;
}
.epr-col-right > .epr-block > .epr-header .epr-block-toggle{
width:26px;
height:26px;
border-color:#9fb2cf;
background:#fff;
color:#2f5fd0;
}
.epr-col-right > .epr-block > .epr-header .epr-block-toggle:hover,
.epr-col-right > .epr-block > .epr-header .epr-block-toggle:focus{
border-color:#7f9bc5;
background:#e3ebf6;
color:#1e4fbf;
}
.epr-col-right > .epr-block > .epr-header .epr-header-summary--seq-empty{
border-color:#c3cede;
background:#fff;
color:#65758b;
}
.epr-col-right .epr-block + .epr-block{
border-top:1px solid #b8c9e8;
}

View File

@ -3575,6 +3575,8 @@ function fxBibStaticFallback($clef) {
'bib_v5_stat_pending' => ['fr' => 'À attribuer', 'en' => 'To assign'],
'bib_v5_race_ready' => ['fr' => 'Prête', 'en' => 'Ready'],
'bib_v5_race_incomplete' => ['fr' => 'À compléter', 'en' => 'To complete'],
'bib_v5_quantities_title' => ['fr' => 'Quantités dinscription', 'en' => 'Registration quantities'],
'bib_v5_bib_assignment_title' => ['fr' => 'Attribution des dossards', 'en' => 'Bib assignment'],
'bib_v5_ranges_title' => ['fr' => 'Plages de numéros', 'en' => 'Number ranges'],
'bib_v5_ranges_hint' => ['fr' => 'Définissez les numéros disponibles pour cette épreuve.', 'en' => 'Define the numbers available for this race.'],
'bib_v5_method_title' => ['fr' => 'Méthode dattribution', 'en' => 'Assignment method'],
@ -5677,15 +5679,15 @@ function fxShowBibTool4($str_code, $int_eve_id, $strLangue){
<?php } ?>
<?php /* MSIN-4379 — Gestion des épreuves : quantités et paramètres (distinct de l'assignation de dossard). */ ?>
<div class="epr-block epr-block-gestion is-collapsed">
<div class="epr-block epr-block-gestion">
<div class="epr-header epr-header--collapsible">
<div class="epr-header-start">
<?php echo fxBibBlockHeader('bib_v4_gestion_title'); ?>
<?php echo fxBibBlockHeader('bib_v5_quantities_title'); ?>
<span class="epr-header-summaries">
<?php echo fxBibGestionHeaderSummary((int)$tabEpreuves[$i]['epr_id']); ?>
</span>
</div>
<?php echo fxBibBlockCollapseToggle($strLangue, true); ?>
<?php echo fxBibBlockCollapseToggle($strLangue, false); ?>
</div>
<div class="epr-content">
<?php echo renderBibGestionEpreuve((int)$tabEpreuves[$i]['epr_id'], (int)$int_eve_id, $strLangue); ?>
@ -5693,15 +5695,15 @@ function fxShowBibTool4($str_code, $int_eve_id, $strLangue){
</div>
<?php /* MSIN-4379 — Assignation de dossard : séquences + actions (ex 3e colonne). */ ?>
<div class="epr-block epr-block-assign">
<div class="epr-block epr-block-assign is-collapsed">
<div class="epr-header epr-header--collapsible">
<div class="epr-header-start">
<?php echo fxBibBlockHeader('bib_v4_assign_title', 'bib_v4_assign_doc'); ?>
<?php echo fxBibBlockHeader('bib_v5_bib_assignment_title', 'bib_v4_assign_doc'); ?>
<span class="epr-header-summaries">
<?php echo fxBibAssignHeaderSummary(fxBibCountSavedRanges($tabBibStats), $blnAutoActive); ?>
</span>
</div>
<?php echo fxBibBlockCollapseToggle($strLangue, false); ?>
<?php echo fxBibBlockCollapseToggle($strLangue, true); ?>
</div>
<div class="epr-content">
<section class="bib-assignment-step">

View File

@ -7,7 +7,7 @@
* Constantes *
*
**************/
define('_VERSION_CODE', '4.72.846');
define('_VERSION_CODE', '4.72.847');
define('_DATE_CODE', '2026-07-21');
//MSIN-4290
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');

View File

@ -20,6 +20,8 @@ WHERE info_prg = 'compte.php'
'bib_v5_stat_pending',
'bib_v5_race_ready',
'bib_v5_race_incomplete',
'bib_v5_quantities_title',
'bib_v5_bib_assignment_title',
'bib_v5_ranges_title',
'bib_v5_ranges_hint',
'bib_v5_method_title',

View File

@ -60,6 +60,10 @@ FROM (
UNION ALL SELECT 'bib_v5_race_ready', 'en', 'Ready', ''
UNION ALL SELECT 'bib_v5_race_incomplete', 'fr', 'À compléter', ''
UNION ALL SELECT 'bib_v5_race_incomplete', 'en', 'To complete', ''
UNION ALL SELECT 'bib_v5_quantities_title', 'fr', 'Quantités dinscription', ''
UNION ALL SELECT 'bib_v5_quantities_title', 'en', 'Registration quantities', ''
UNION ALL SELECT 'bib_v5_bib_assignment_title', 'fr', 'Attribution des dossards', ''
UNION ALL SELECT 'bib_v5_bib_assignment_title', 'en', 'Bib assignment', ''
UNION ALL SELECT 'bib_v5_ranges_title', 'fr', 'Plages de numéros', ''
UNION ALL SELECT 'bib_v5_ranges_title', 'en', 'Number ranges', ''
UNION ALL SELECT 'bib_v5_ranges_hint', 'fr', 'Définissez les numéros disponibles pour cette épreuve.', ''