60 lines
2.1 KiB
HTML
60 lines
2.1 KiB
HTML
<!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" hidden></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="Code d'inscription, renouvelé en continu"></canvas>
|
|
<div class="tick"><div id="tick-bar"></div></div>
|
|
</div>
|
|
<div class="s-steps">
|
|
<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> 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>
|
|
|
|
<aside id="entry" class="entry" hidden>
|
|
<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>
|
|
</aside>
|
|
|
|
<footer class="s-foot">
|
|
<div class="s-count"><b id="voters">0</b> <span id="voters-label">inscriptions</span></div>
|
|
</footer>
|
|
</body>
|
|
</html>
|