RotatyVote: in-person anonymous voting with rotating QR enrollment
Starlette backend with sqlite, rotating HMAC QR tokens pushed to a key-protected projector page, multi-scan enrollment, optional one-time paper codes, anonymous ballots split from participation, live question push over websockets, e2e tests over HTTP and TLS.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>RotatyVote · Écran</title>
|
||||
<link rel="icon" href="/static/img/mark.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/static/css/app.css">
|
||||
<link rel="stylesheet" href="/static/css/screen.css">
|
||||
<script type="module" src="/static/js/screen.js"></script>
|
||||
</head>
|
||||
<body class="screen">
|
||||
<div id="denied" class="screen-center" hidden>
|
||||
<div class="notice bad">Lien projecteur invalide ou révoqué. Demandez un nouveau lien à l'administrateur.</div>
|
||||
</div>
|
||||
|
||||
<header class="s-head">
|
||||
<span class="brand"><img src="/static/img/mark.svg" alt=""><span>rotaty<b>vote</b></span></span>
|
||||
<div id="s-title" class="s-title"></div>
|
||||
<div class="s-tools">
|
||||
<span id="conn" class="conn">connexion…</span>
|
||||
<button id="fs" class="small" type="button">Plein écran</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="s-main">
|
||||
<section id="enroll" class="s-enroll" hidden>
|
||||
<div class="qr-wrap">
|
||||
<canvas id="qr" aria-label="QR code d'inscription, renouvelé en continu"></canvas>
|
||||
<div class="tick"><div id="tick-bar"></div></div>
|
||||
</div>
|
||||
<div class="s-steps">
|
||||
<h2>Inscription</h2>
|
||||
<ol>
|
||||
<li><span>Scannez ce code</span></li>
|
||||
<li><span>Visez l'écran <b id="secs">5</b> s</span></li>
|
||||
</ol>
|
||||
<p id="url-warn" class="notice warn" hidden></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="focus" class="s-focus" hidden></section>
|
||||
|
||||
<section id="idle" class="s-idle" hidden>
|
||||
<img src="/static/img/mark.svg" alt="">
|
||||
<h1 id="idle-title"></h1>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="s-foot">
|
||||
<div class="s-count"><b id="voters">0</b> <span id="voters-label">appareils inscrits</span></div>
|
||||
<div id="enroll-badge" class="badge"></div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user