This commit modifies the CSS for the event management block, changing its display properties to enhance visibility. The PHP files have been updated to reflect these changes, including the introduction of new translations for the event management section. Additionally, the version code has been incremented to 4.72.642 to reflect these updates. This aims to improve user experience and accessibility in managing race parameters and statistics.
116 lines
6.4 KiB
SQL
116 lines
6.4 KiB
SQL
-- =============================================================================
|
||
-- MSIN — Documentation : Gestion des épreuves (module bib_gestion)
|
||
-- =============================================================================
|
||
-- Deuxième bloc doc (même niveau que bib_assignment / assignation de dossard).
|
||
-- Ancre UI : bib_v4_gestion_doc → en-tête « Gestion des épreuves ».
|
||
-- Prérequis : tables doc_mod, doc_page, doc_anchor (MSIN-doc-module.sql).
|
||
-- Exécuter sur la BD client (inscription).
|
||
-- =============================================================================
|
||
|
||
DELETE FROM `doc_page` WHERE `doc_mod_clef` = 'bib_gestion';
|
||
DELETE FROM `doc_anchor` WHERE `doc_mod_clef` = 'bib_gestion';
|
||
DELETE FROM `doc_mod` WHERE `doc_mod_clef` = 'bib_gestion';
|
||
|
||
INSERT INTO `doc_mod` (`doc_mod_clef`, `doc_mod_prg`, `doc_mod_titre`, `doc_mod_actif`, `doc_mod_tri`, `doc_mod_creation`)
|
||
VALUES ('bib_gestion', 'compte.php', 'Gestion des épreuves', 1, 20, NOW());
|
||
|
||
INSERT INTO `doc_anchor` (`doc_anchor_clef`, `doc_mod_clef`, `doc_prg`, `doc_actif`, `doc_creation`)
|
||
VALUES ('bib_v4_gestion_doc', 'bib_gestion', '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
|
||
('bib_gestion', 'bib_gest_overview', 'fr', 'C''est quoi la gestion des épreuves ?', 'Rôle de ce bloc',
|
||
'<article class="ms1-doc-article">
|
||
<p>La <strong>gestion des épreuves</strong> regroupe les paramètres et indicateurs liés à chaque épreuve de l''événement — en dehors de l''assignation des dossards.</p>
|
||
<h3>À quoi sert ce bloc ?</h3>
|
||
<p>Pour chaque épreuve, ce panneau permettra au promoteur de :</p>
|
||
<ul>
|
||
<li>consulter et ajuster les <strong>quantités</strong> (places disponibles, inscrits, ajustements) ;</li>
|
||
<li>gérer les <strong>paramètres</strong> spécifiques à l''épreuve ;</li>
|
||
<li>suivre les <strong>statistiques</strong> utiles à la planification (total inscrits, avec dossard, etc.).</li>
|
||
</ul>
|
||
<h3>Relation avec l''assignation de dossard</h3>
|
||
<p>Les deux blocs sont au <strong>même niveau</strong> pour chaque épreuve :</p>
|
||
<ul>
|
||
<li><strong>Gestion des épreuves</strong> — quantités et paramètres de l''épreuve ;</li>
|
||
<li><strong>Assignation de dossard</strong> — séquences et attribution des numéros.</li>
|
||
</ul>
|
||
<blockquote>Ce guide est en cours de composition. Utilisez l''icône livre (mode Textes ON) pour éditer le contenu.</blockquote>
|
||
</article>',
|
||
'compte.php', 10, 1, NOW()),
|
||
|
||
('bib_gestion', 'bib_gest_quantites', 'fr', 'Quantités et places', 'À venir dans ce bloc',
|
||
'<article class="ms1-doc-article">
|
||
<h3>Quantités d''épreuve</h3>
|
||
<p>Chaque épreuve possède une capacité (nombre de places). Le promoteur peut :</p>
|
||
<ul>
|
||
<li>voir la quantité <strong>originale</strong> et la quantité <strong>courante</strong> ;</li>
|
||
<li>appliquer un <strong>ajustement</strong> (+ / − places) ;</li>
|
||
<li>consulter le nombre d''<strong>inscrits</strong> et de places <strong>restantes</strong>.</li>
|
||
</ul>
|
||
<h3>Contenu à compléter</h3>
|
||
<p>Les champs et boutons de ce bloc seront documentés ici au fur et à mesure de leur mise en place dans l''interface.</p>
|
||
</article>',
|
||
'compte.php', 20, 1, NOW());
|
||
|
||
-- -----------------------------------------------------------------------------
|
||
-- EN (same structure)
|
||
-- -----------------------------------------------------------------------------
|
||
|
||
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
|
||
('bib_gestion', 'bib_gest_overview', 'en', 'What is race management?', 'Role of this block',
|
||
'<article class="ms1-doc-article">
|
||
<p><strong>Race management</strong> covers settings and indicators for each race in the event — separate from bib assignment.</p>
|
||
<h3>What is this block for?</h3>
|
||
<p>For each race, this panel will let the organizer:</p>
|
||
<ul>
|
||
<li>view and adjust <strong>quantities</strong> (available spots, registrants, adjustments);</li>
|
||
<li>manage race-specific <strong>settings</strong>;</li>
|
||
<li>track <strong>statistics</strong> useful for planning (total registered, with bib, etc.).</li>
|
||
</ul>
|
||
<h3>Relationship with bib assignment</h3>
|
||
<p>Both blocks sit at the <strong>same level</strong> for each race:</p>
|
||
<ul>
|
||
<li><strong>Race management</strong> — quantities and race settings;</li>
|
||
<li><strong>Bib assignment</strong> — sequences and number allocation.</li>
|
||
</ul>
|
||
<blockquote>This guide is a work in progress. Use the book icon (Text mode ON) to edit content.</blockquote>
|
||
</article>',
|
||
'compte.php', 10, 1, NOW()),
|
||
|
||
('bib_gestion', 'bib_gest_quantites', 'en', 'Quantities and capacity', 'Coming in this block',
|
||
'<article class="ms1-doc-article">
|
||
<h3>Race quantities</h3>
|
||
<p>Each race has a capacity (number of spots). The organizer can:</p>
|
||
<ul>
|
||
<li>view the <strong>original</strong> and <strong>current</strong> quantity;</li>
|
||
<li>apply an <strong>adjustment</strong> (+ / − spots);</li>
|
||
<li>see <strong>registrants</strong> and <strong>remaining</strong> spots.</li>
|
||
</ul>
|
||
<h3>Content to complete</h3>
|
||
<p>Fields and buttons in this block will be documented here as they are added to the interface.</p>
|
||
</article>',
|
||
'compte.php', 20, 1, NOW());
|
||
|
||
-- Libellés info (titre bloc + aide courte Tippy)
|
||
UPDATE `info` SET `info_texte` = 'Gestion des épreuves',
|
||
`info_aide` = 'Quantités, paramètres et statistiques de l''épreuve — distinct de l''assignation des dossards.',
|
||
`info_maj` = NOW()
|
||
WHERE `info_clef` = 'bib_v4_gestion_title' AND `info_langue` = 'fr' AND `info_prg` = 'compte.php';
|
||
|
||
UPDATE `info` SET `info_texte` = 'Race management',
|
||
`info_aide` = 'Race quantities, settings and statistics — separate from bib assignment.',
|
||
`info_maj` = NOW()
|
||
WHERE `info_clef` = 'bib_v4_gestion_title' AND `info_langue` = 'en' AND `info_prg` = 'compte.php';
|
||
|
||
UPDATE `info` SET `info_texte` = 'Quantités et paramètres — contenu à venir.',
|
||
`info_maj` = NOW()
|
||
WHERE `info_clef` = 'bib_v4_gestion_placeholder' AND `info_langue` = 'fr' AND `info_prg` = 'compte.php';
|
||
|
||
UPDATE `info` SET `info_texte` = 'Quantities and settings — content coming soon.',
|
||
`info_maj` = NOW()
|
||
WHERE `info_clef` = 'bib_v4_gestion_placeholder' AND `info_langue` = 'en' AND `info_prg` = 'compte.php';
|