Big entry qr beside the ring as an admin option (corner again once a question is up); admin lists questions newest first, open vote on top

This commit is contained in:
2026-11-17 14:12:26 +01:00
parent 70d09b1008
commit d761d8b510
7 changed files with 31 additions and 5 deletions
+4
View File
@@ -49,6 +49,10 @@ function layout() {
const entryOn = !!(ring && st.enrollment_open && entry);
reveal($("#entry"), entryOn);
document.body.classList.toggle("has-entry", entryOn);
// big entry qr next to the ring (start of a meeting), back to the corner once a question is up
const big = entryOn && st.entry_big && !focus;
document.body.classList.toggle("entry-big", big);
$("#entry-hint").textContent = big ? "Scannez ici, puis visez le cercle" : "Pas encore sur la page ?";
$(".qr-wrap").classList.toggle("ring", ring);
}