RELEASE V5.5.0 : Voici les modifications apportées :

-> REFONTE TOTALE DE TOUS LES AFFICHEURS CLASSIQUES + QUAIS

FONCTIONNALITÉS EN COURS DE DÉVELOPPEMENT :

-> ADAPTABILITÉ EN FONCTION DES SITUATIONS
This commit is contained in:
mathis committed 2026-08-31 02:02:46 +02:00
1 parent b90c699302
commit 9c6ac798f1
26 files changed
+3040 -2190

No files matched your search

+67
View File
@@ -408,6 +408,73 @@ export default function SelectAfficheur({ onBack, navigate }) {
🚉 Lancer l'Afficheur de Quai
</button>
</div>
{/* Options 3 & 4 pour le mode Classiques : Flash Info & Informations */}
{typeParam === 'classiques' && (
<>
{/* Option 3 : Flash Information */}
<div className="launcher-select-card" style={{ cursor: 'default' }}>
<div>
<span className="launcher-card-icon">⚡</span>
<span className="launcher-card-tag launcher-card-tag--retro" style={{ background: '#fab23e', color: '#00337f' }}>
Flash Info Trafic
</span>
<h2 className="launcher-card-title">Flash Information</h2>
<p className="launcher-card-desc">
Écran dédié aux perturbations de circulation en temps réel et travaux de maintenance sur le réseau.
</p>
<div style={{ background: '#f8fafc', border: '1px solid #e2ebf6', borderRadius: '10px', padding: '16px', marginBottom: '20px' }}>
<div style={{ fontSize: '13px', color: '#00337f', fontWeight: 600 }}>
⚡ Conforme au design historique <em>Flash Circulation</em> avec fond ambre et bandeau bleu nuit.
</div>
</div>
</div>
<button
type="button"
onClick={() => {
const kebab = gareParam ? String(gareParam).trim() : '';
navigate(`${prefix}/afficheurs/classiques/flash-info?gare=${encodeURIComponent(kebab)}`);
}}
className="launcher-btn"
style={{ background: '#00337f', color: '#fab23e', border: 'none', fontWeight: 700 }}
>
⚡ Lancer le Flash Information
</button>
</div>
{/* Option 4 : Informations (Messages Dynamiques) */}
<div className="launcher-select-card" style={{ cursor: 'default' }}>
<div>
<span className="launcher-card-icon">ℹ️</span>
<span className="launcher-card-tag launcher-card-tag--retro" style={{ background: '#00337f', color: '#ffffff' }}>
Messages Gare
</span>
<h2 className="launcher-card-title">Informations Voyageurs</h2>
<p className="launcher-card-desc">
Écran d'annonces et consignes dynamiques de la gare (Vigipirate, étiquetage des bagages, sécurité en gare).
</p>
<div style={{ background: '#f8fafc', border: '1px solid #e2ebf6', borderRadius: '10px', padding: '16px', marginBottom: '20px' }}>
<div style={{ fontSize: '13px', color: '#00337f', fontWeight: 600 }}>
ℹ️ Conforme au design historique <em>Information</em> avec messages voyageurs de la gare de {decodedGare}.
</div>
</div>
</div>
<button
type="button"
onClick={() => {
const kebab = gareParam ? String(gareParam).trim() : '';
navigate(`${prefix}/afficheurs/classiques/informations?gare=${encodeURIComponent(kebab)}`);
}}
className="launcher-btn"
style={{ background: '#00337f', color: '#ffffff', border: 'none', fontWeight: 700 }}
>
ℹ️ Lancer l'Afficheur Informations
</button>
</div>
</>
)}
</div>
{/* Accès direct aux pages fixes AFL */}