Camera app scan: the first scan only opens the page, joining takes the ring or a second scan read within 4 s of the qr leaving the screen (votes keep 12 s); organizers can turn it off; open vote options and turnout bar stay above the big qr; native scan noted under the check

This commit is contained in:
2026-11-18 01:12:35 +01:00
parent a30618e74c
commit 28b255e41b
13 changed files with 166 additions and 49 deletions
+10 -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 id="step2"><span>Ou visez le cercle <b id="secs">5</b>&nbsp;s</span></li>
<li id="step2"><span>Visez le cercle <b id="secs">5</b>&nbsp;s</span></li>
</ol>
<p id="url-warn" class="notice warn" hidden></p>
</div>
@@ -48,7 +48,15 @@
</main>
<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>
<div id="entry-q" class="entry-q" hidden>
<b id="entry-q-text"></b>
<ul id="entry-q-opts" class="entry-opts" hidden></ul>
<span id="entry-q-count"></span>
<div id="entry-q-turnout" class="turnout" hidden>
<b></b><span class="t-of"></span>
<div class="progress"><div></div><div class="p-extra"></div></div>
</div>
</div>
<canvas id="entry-qr" aria-label="QR code de la page de vote"></canvas>
<div><b id="entry-hint">Scannez avec l'appareil photo</b><span id="entry-url"></span></div>
</aside>