Updated Dashboard and clarified default states.

This commit is contained in:
Pen Anderson 2026-03-04 20:52:12 -06:00
parent 260e017f79
commit e7b25ea0c6
5 changed files with 172 additions and 35 deletions

View file

@ -117,7 +117,7 @@
}
function roleLabel(r) {
return { admin: 'Admin', coordinator: 'Coordinator', ticketing: 'Ticketing', gate: 'Gate', volunteer_lead: 'Vol. Lead' }[r] || r
return { admin: 'Admin', ticketing: 'Ticketing', staffing: 'Staffing', colead: 'Colead', gatekeeper: 'Gatekeeper' }[r] || r
}
</script>
@ -129,6 +129,15 @@
</div>
</div>
<p class="text-muted" style="font-size:0.82rem;margin-bottom:1.5rem;line-height:1.6">
<strong style="color:var(--c-text)">Roles:</strong>
admin — full access ·
ticketing — participants, tickets, import ·
staffing — volunteers, shifts, departments ·
colead — manage assigned departments only ·
gatekeeper — check-in only
</p>
{#if loadError}
<div class="alert alert-error">{loadError}</div>
{/if}
@ -187,7 +196,8 @@
<div class="text-muted" style="padding:2rem 0">Loading…</div>
{:else if users.length === 0}
<div class="empty">
<strong>No users yet</strong>
<strong>No additional users</strong>
<p>The admin account was created at setup. Add users above to delegate access.</p>
</div>
{:else}
<div class="table-wrap">