Première passe de direction artistique (palette, marque, carton imprimable)
Palette affinée autour de l'accent brun/terracotta déjà en prod (continuité, pas de rupture) : tokens de couleur/rayon/ombre partagés entre la page upload et la galerie admin. Emoji remplacés par des icônes SVG inline (rendu cohérent multi-OS). Bloc de marque discret en en-tête des deux écrans invité/admin. Nouveau : carton imprimable A5 (src/admin/print-template/) qui génère le QR en direct via le module qrcode.js existant, prêt pour l'export PDF navigateur. Pas de police custom : stack système conservée pour rester sobre (zéro poids réseau supplémentaire).
This commit is contained in:
+22
-2
@@ -17,6 +17,13 @@
|
||||
<body>
|
||||
<main class="page">
|
||||
<header class="page__header">
|
||||
<p class="brand" aria-hidden="true">
|
||||
<svg class="brand__mark" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" focusable="false">
|
||||
<path d="M4 8h3l1.5-2h7L17 8h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z"/>
|
||||
<circle cx="12" cy="13" r="3.5"/>
|
||||
</svg>
|
||||
<span class="brand__name">photobooth</span>
|
||||
</p>
|
||||
<h1 id="event-name">Ajouter une photo</h1>
|
||||
</header>
|
||||
|
||||
@@ -42,8 +49,21 @@
|
||||
le sélecteur de fichiers classique. Décision actée avec Kévin le
|
||||
2026-09-16 : les deux doivent être accessibles en un tap. -->
|
||||
<div class="photo-source-buttons">
|
||||
<label for="photo-input" class="btn-secondary">📷 Prendre une photo</label>
|
||||
<label for="photo-input-gallery" class="btn-secondary">🖼️ Depuis la galerie</label>
|
||||
<label for="photo-input" class="btn-secondary">
|
||||
<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
||||
<path d="M4 8h3l1.5-2h7L17 8h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z"/>
|
||||
<circle cx="12" cy="13" r="3.5"/>
|
||||
</svg>
|
||||
<span>Prendre une photo</span>
|
||||
</label>
|
||||
<label for="photo-input-gallery" class="btn-secondary">
|
||||
<svg class="btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
||||
<rect x="3" y="4" width="18" height="16" rx="2.5"/>
|
||||
<circle cx="8.5" cy="9.5" r="1.5"/>
|
||||
<path d="M21 16.5 15.6 11a1 1 0 0 0-1.4 0L6 19"/>
|
||||
</svg>
|
||||
<span>Depuis la galerie</span>
|
||||
</label>
|
||||
</div>
|
||||
<input
|
||||
type="file"
|
||||
|
||||
Reference in New Issue
Block a user