Galerie booth : QR avec auto-login, event_id aleatoire, flyer imprimable
- QR code inclut le mot de passe (?p=XXXX) pour acces direct sans saisie - Supprime le code texte visible sur l'ecran d'accueil, QR plus petit - Bouton admin 'Imprimer flyer QR galerie' genere un 10x15 avec nom evenement, QR code, texte invitation, design assorti - Auto-login ajoute cote serveur booth (booth.copydev.fr) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -335,10 +335,8 @@ async function chargerBoothInfo() {
|
||||
try {
|
||||
const info = await apiGet('/api/booth/info');
|
||||
if (info.password) {
|
||||
document.getElementById('booth-code').textContent = info.password;
|
||||
// QR code vers le site booth
|
||||
const eventId = booth.event_id || 'default';
|
||||
const qrUrl = `${booth.url}/${eventId}`;
|
||||
const qrUrl = `${booth.url}/${eventId}?p=${info.password}`;
|
||||
document.getElementById('booth-qr').src = `/api/qr?url=${encodeURIComponent(qrUrl)}`;
|
||||
el.classList.remove('cache');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user