Registration optionset + speaker auto-promote + welcome check-in
- registrations.type is now a Postgres ENUM (registration_type) - session_speakers trigger auto-promotes attendee -> speaker (never overrides staff/sponsor) - new welcome_checkin RPC: staff marks an attendee present at the event - admin Registrations: QR token is final (no reset); failed sponsor change opens in-place sponsor lookup - Convivo Home: Now/Next cards always render; red pending-material pill + popup for speakers - Convivo Agenda: speakers can delete their material to re-upload - Convivo Scan: staff Session/Welcome check-in toggle (uiverse switch) - seed: staff (Bruno/Rita) get a password so staff QR login works after reset
This commit is contained in:
1 parent
1bffae9777
commit
1cbbd1b529
16 files changed
+730
-142
No files matched your search
@@ -165,6 +165,11 @@ textarea.input { resize: none; min-height: 96px; }
|
||||
background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4);
|
||||
color: #b45309; font-weight: 800; font-size: 14px; cursor: pointer; flex-shrink: 0; white-space: nowrap;
|
||||
}
|
||||
.material-pill {
|
||||
display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px;
|
||||
background: rgba(213,0,0,.1); border: 1px solid rgba(213,0,0,.4);
|
||||
color: #d50000; font-weight: 800; font-size: 14px; cursor: pointer; flex-shrink: 0; white-space: nowrap;
|
||||
}
|
||||
.now-card { background: linear-gradient(135deg, rgba(213,0,0,.1), rgba(32,178,170,.08)); border: 1px solid rgba(213,0,0,.35); }
|
||||
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||||
.qa {
|
||||
@@ -215,6 +220,44 @@ textarea.input { resize: none; min-height: 96px; }
|
||||
.sheet h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
|
||||
.sheet .sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
|
||||
|
||||
/* ---------- Scan: uiverse check-in type toggle (Shoh2008 / brown-bulldog-12) ---------- */
|
||||
.uiverse-toggle { display: inline-flex; }
|
||||
.uiverse-toggle input[type="checkbox"] {
|
||||
--size: 58px;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: var(--size);
|
||||
height: calc(var(--size) / 2);
|
||||
background-color: var(--surface);
|
||||
border: 3px solid var(--line);
|
||||
border-radius: 30px 100px 100px 100px;
|
||||
box-shadow: 0 6px 14px rgba(66,60,60,.14);
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: all .4s;
|
||||
}
|
||||
.uiverse-toggle input[type="checkbox"]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: calc(var(--size) / 2 - 8px);
|
||||
height: calc(var(--size) / 2 - 8px);
|
||||
left: 3px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%) scale(1);
|
||||
border-radius: 50%;
|
||||
background-color: var(--muted);
|
||||
transition: all .4s;
|
||||
}
|
||||
.uiverse-toggle input[type="checkbox"]:checked {
|
||||
background-color: var(--accent);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.uiverse-toggle input[type="checkbox"]:checked::before {
|
||||
left: calc(100% - calc(var(--size) / 2 - 8px) - 3px);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* ---------- Connections ---------- */
|
||||
.seg { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 4px; }
|
||||
.seg button {
|
||||
|
||||
Reference in new issue
Block a user