45 lines
7.3 KiB
SQL
45 lines
7.3 KiB
SQL
-- MSIN-4471 — Pages intro PDF distribution des dossards
|
|
-- Prérequis : tables doc_mod / doc_page / doc_anchor (MSIN-doc-module.sql)
|
|
-- Idempotent : DELETE puis INSERT du module bib_dist_print
|
|
-- Images optionnelles : déposer sous images/doc/ (ex. /images/doc/exemple.png)
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
DELETE FROM doc_page WHERE doc_mod_clef = 'bib_dist_print';
|
|
DELETE FROM doc_anchor WHERE doc_anchor_clef = 'bib_v4_dist_print_doc';
|
|
DELETE FROM doc_mod WHERE doc_mod_clef = 'bib_dist_print';
|
|
|
|
INSERT INTO `doc_mod` (`doc_mod_clef`, `doc_mod_prg`, `doc_mod_titre`, `doc_mod_actif`, `doc_mod_tri`, `doc_mod_creation`)
|
|
VALUES ('bib_dist_print', 'compte.php', 'PDF distribution des dossards', 1, 15, NOW());
|
|
|
|
INSERT INTO `doc_anchor` (`doc_anchor_clef`, `doc_mod_clef`, `doc_prg`, `doc_actif`, `doc_creation`)
|
|
VALUES ('bib_v4_dist_print_doc', 'bib_dist_print', '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_dist_print', 'bib_dist_print_reco', 'fr', 'Conseils à la distribution', 'Pour une remise de dossards sans erreur',
|
|
'<article class="ms1-doc-article"><p><em>À lire avant de commencer.</em> Quelques secondes à chaque remise évitent les échanges, les erreurs de chronométrage et les résultats incorrects.</p><h3>1. Familles et groupes — plusieurs dossards</h3><p>Lorsque vous remettez plusieurs dossards à une même famille ou à un groupe, assurez-vous que le prénom figure sur chaque dossard. S''il n''y est pas déjà, <strong>écrivez-le au verso</strong>. Ainsi, chacun part avec le bon numéro : un échange entre proches fausse le chronométrage et les résultats.</p><h3>2. Ne pas céder son dossard</h3><p>Un dossard inscrit à un nom <strong>ne doit pas</strong> être remis à une autre personne. Si un échange a déjà eu lieu, <strong>avisez immédiatement les organisateurs</strong> afin qu''ils corrigent la base de données avant la course.</p><h3>3. Dossard bien visible à l''avant</h3><p>Rappelez au participant d''épingler son dossard <strong>bien visible à l''avant du torse</strong>. C''est essentiel pour un chronométrage fiable et un bon temps officiel.</p><h3>4. Vérifier ses infos avant la course (code QR)</h3><p>Invitez les participants à scanner le code QR de l''événement pour consulter les résultats en ligne <strong>avant le départ</strong>. Ils pourront confirmer que leur nom, leur âge et leur numéro de dossard sont correctement associés à leur inscription.</p></article>',
|
|
'compte.php', 10, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_table', 'fr', 'Affiche table — participants', 'À placer sur la table de distribution',
|
|
'<article class="ms1-doc-article"><p><strong>Texte provisoire</strong> — Page destinée à être lue par les participants à la table.</p><h3>À faire avant de vous présenter</h3><ul><li>Ayez votre confirmation d''inscription ou une pièce d''identité.</li><li>Connaissez le nom de votre épreuve (ex. 10 km, demi-marathon).</li><li>Si vous êtes en équipe, présentez-vous ensemble si possible.</li></ul><h3>À la table</h3><ol><li>Donnez votre nom de famille clairement.</li><li>Vérifiez le numéro de dossard avant de quitter la table.</li><li>Épinglez le dossard bien visible à l''avant.</li></ol><p>Vous pouvez ajouter une image d''exemple ici, par ex. :</p><p><img src="/images/doc/exemple-table.png" alt="Exemple d''affichage"></p></article>',
|
|
'compte.php', 20, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_qr', 'fr', 'Code QR de l''événement', 'À afficher / découper pour l''événement',
|
|
'<article class="ms1-doc-article"><p><strong>Texte provisoire</strong> — Le code QR ci-dessous pointe vers les résultats (ou le lien configuré) de cet événement.</p><p>Vous pouvez le photocopier, le découper et le coller partout sur le site de l''événement.</p><h3>Comment l''utiliser</h3><ul><li>Affichez-le près de la ligne d''arrivée et des tableaux d''affichage.</li><li>Les participants scannent pour ouvrir le lien résultats de l''événement.</li></ul><p>Le QR est généré automatiquement à l''impression — inutile de l''insérer en image dans ce texte.</p></article>',
|
|
'compte.php', 30, 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
|
|
('bib_dist_print', 'bib_dist_print_reco', 'en', 'Distribution tips', 'For a smooth, error-free bib handout',
|
|
'<article class="ms1-doc-article"><p><em>Read before you start.</em> A few seconds at each handout prevent swaps, timing errors, and incorrect results.</p><h3>1. Families and groups — multiple bibs</h3><p>When handing out several bibs to the same family or group, make sure each bib shows a first name. If it is not already there, <strong>write it on the back</strong>. This way everyone leaves with the right number: a swap between relatives will skew timing and results.</p><h3>2. Do not give away your bib</h3><p>A bib registered under one name <strong>must not</strong> be given to someone else. If a swap has already happened, <strong>notify the organizers immediately</strong> so they can correct the database before the race.</p><h3>3. Bib clearly visible on the front</h3><p>Remind the participant to pin the bib <strong>clearly visible on the front of the torso</strong>. This is essential for reliable timing and an accurate official time.</p><h3>4. Check details before the race (QR code)</h3><p>Invite participants to scan the event QR code and view results online <strong>before the start</strong>. They can confirm that their name, age, and bib number are correctly linked to their registration.</p></article>',
|
|
'compte.php', 10, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_table', 'en', 'Table sign — participants', 'Place on the distribution table',
|
|
'<article class="ms1-doc-article"><p><strong>Placeholder</strong> — Page meant to be read by participants at the table.</p><h3>Before you come up</h3><ul><li>Have your registration confirmation or ID ready.</li><li>Know your race name (e.g. 10K, half marathon).</li><li>If you are a team, come together if possible.</li></ul><h3>At the table</h3><ol><li>Say your last name clearly.</li><li>Check the bib number before leaving the table.</li><li>Pin the bib clearly on the front.</li></ol><p>You can add a sample image here, e.g.:</p><p><img src="/images/doc/exemple-table.png" alt="Sample display"></p></article>',
|
|
'compte.php', 20, 1, NOW()),
|
|
('bib_dist_print', 'bib_dist_print_qr', 'en', 'Event QR code', 'Display / cut out for the event',
|
|
'<article class="ms1-doc-article"><p><strong>Placeholder</strong> — The QR code below points to this event''s results (or configured link).</p><p>You can photocopy, cut and post it around the event site.</p><h3>How to use it</h3><ul><li>Display it near the finish and result boards.</li><li>Participants scan to open the event results link.</li></ul><p>The QR is generated automatically when printing — no need to embed it as an image in this text.</p></article>',
|
|
'compte.php', 30, 1, NOW());
|