Camera app scan: the big qr rotates every 3 s and one scan with the phone's camera app enrolls or validates a vote (10 s), for browsers with the camera blocked; qr stays big beside the ring during a vote, step by step help on the phone

This commit is contained in:
2026-11-18 00:54:12 +01:00
parent d945c801f7
commit a30618e74c
11 changed files with 436 additions and 125 deletions
+2 -2
View File
@@ -33,7 +33,7 @@
<h2 id="qr-title">Inscription</h2>
<ol id="qr-steps">
<li><span id="step1">Scannez ce code</span></li>
<li><span>Visez l'écran <b id="secs">5</b>&nbsp;s</span></li>
<li id="step2"><span>Ou visez le cercle <b id="secs">5</b>&nbsp;s</span></li>
</ol>
<p id="url-warn" class="notice warn" hidden></p>
</div>
@@ -50,7 +50,7 @@
<aside id="entry" class="entry" hidden>
<div id="entry-q" class="entry-q" hidden><b id="entry-q-text"></b><span id="entry-q-count"></span></div>
<canvas id="entry-qr" aria-label="QR code de la page de vote"></canvas>
<div><b id="entry-hint">Pas encore sur la page ?</b><span id="entry-url"></span></div>
<div><b id="entry-hint">Scannez avec l'appareil photo</b><span id="entry-url"></span></div>
</aside>
<footer class="s-foot">