Visitor sign in kiosk: multi-site, badge printing, WWCC expiry warnings, admin accounts with 2FA

This commit is contained in:
2026-09-02 16:07:52 +10:00
parent c21123885d
commit 74792b2764
11 changed files with 469 additions and 11 deletions
+31
View File
@@ -101,6 +101,37 @@ same person can be signed in at two sites at once without the system arguing abo
An admin account can be limited to a single site. Those admins see only that site's visitors,
staff list and log, and cannot touch the others.
## Branding the kiosk
Each site can carry its own banner and colours, set under **Sites → Edit**.
**Banner.** Upload a PNG, JPEG or WebP up to 2 MB. A PNG with a transparent background is the
one to use — it sits straight on the bar colour with nothing painted behind it, so it works
whatever colour you pick. The admin preview shows it on a checkerboard so you can see the
transparency. When a banner is set it replaces the site name in the kiosk header; set the
on-screen height in pixels to suit the shape of your logo. SVG is deliberately not accepted:
it can carry script, and this file is served to every kiosk.
**Colours.** Three are settable:
| Setting | Where it shows |
|---|---|
| Bar and buttons | The top bar, the Sign in door, primary buttons, the confirmation mark |
| Sign out | The Sign out door and the signed-out confirmation |
| Page background | Behind everything, with card and rule colours derived from it |
Everything else is worked out from those three. In particular the **text colour on a coloured
background is chosen by contrast**, not fixed — pick a pale yellow for the bar and the text on
it turns dark automatically, instead of staying white and becoming unreadable. Card, border and
body-text colours follow the page colour, so a dark background gives a usable dark theme rather
than white boxes.
Leave a colour box empty to fall back to the default. Anything that is not a six-digit hex value
is ignored rather than applied.
The admin console keeps its own neutral look, so it stays recognisable when you are switching
between sites. Printed badges stay black on white — a label printer has no colours to give.
## Badge printing
Turn it on per site under **Sites → Edit**. After a visitor signs in, the kiosk loads the badge