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:
2026-06-22 20:07:52 +02:00
parent 4d2d3e7a93
commit 98c738cf79
6 changed files with 90 additions and 17 deletions

View File

@@ -922,6 +922,16 @@ async function chargerInfosSysteme() {
}
}
async function imprimerFlyerQR() {
afficherStatut('Generation du flyer QR...', 'succes');
const r = await apiPost('/api/booth/imprimer-qr', {});
if (r.succes) {
afficherStatut('Flyer QR envoye a l\'imprimante !', 'succes');
} else {
afficherStatut(r.erreur || 'Erreur impression flyer', 'erreur');
}
}
async function regenererBoothPassword() {
const booth = config.booth || {};
const url = getValue('admin-booth-url').replace(/\/$/, '');