Vote-time presence scan, rescue codes, websocket heartbeat
Each vote can require N fresh codes read off the projector (default 3, off for rooms without a projector); voters enrolled with a paper or rescue code are exempt. Rescue codes enroll a phone without camera. Projector keeps the QR up while such a vote is open. Server pings every socket every 25s so proxies keep them open. Composer no longer closes on enter. Schema migrates existing databases.
This commit is contained in:
@@ -42,12 +42,14 @@
|
||||
.q .progress { margin-top: 12px; }
|
||||
.q .actions { margin-top: 14px; }
|
||||
|
||||
.codes-summary { margin: 10px 0; }
|
||||
.code-actions { display: flex; gap: 6px; align-items: center; flex: none; }
|
||||
.code-actions input { width: 76px; padding: 7px 10px; }
|
||||
.card > h2 { margin-bottom: 4px; }
|
||||
|
||||
.share-list { padding: 6px 20px; }
|
||||
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
|
||||
.share-row + .share-row { border-top: 1.5px solid var(--bg); }
|
||||
.share-row div { display: grid; }
|
||||
.share-row > div:first-child { display: grid; }
|
||||
.share-row .muted { font-size: .85rem; }
|
||||
|
||||
#composer { border: none; border-radius: 24px; padding: 24px; width: min(94vw, 560px); background: var(--surface); color: var(--ink); }
|
||||
|
||||
+5
-1
@@ -12,7 +12,11 @@ body.voter h1 { font-size: 1.6rem; margin-bottom: 18px; }
|
||||
.scan-msg.bad { color: var(--bad); }
|
||||
.scan-msg.ok { color: var(--ok); }
|
||||
|
||||
#code { font: 700 1.5rem var(--round); text-align: center; letter-spacing: .12em; text-transform: uppercase; }
|
||||
#code, #rescue-code { font: 700 1.5rem var(--round); text-align: center; letter-spacing: .12em; text-transform: uppercase; }
|
||||
button.link { display: block; margin: 12px auto 0; border: none; background: none; color: var(--ink-3); font-weight: 500; text-decoration: underline; padding: 6px; }
|
||||
#presence { text-align: center; }
|
||||
#presence .cam { margin-top: 0; }
|
||||
#presence .actions button { flex: 1; }
|
||||
|
||||
.enrolled-chip { margin: -8px 0 8px; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user