Created Turnpike, event attendee and volunteer management
Built after prototype, Traverse, an attendee and volunteer list maintainer.
This commit is contained in:
commit
1033cdb29b
59 changed files with 8663 additions and 0 deletions
13
frontend/src/components/CheckInButton.svelte
Normal file
13
frontend/src/components/CheckInButton.svelte
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<script>
|
||||
let { onclick } = $props()
|
||||
let loading = $state(false)
|
||||
|
||||
async function handle() {
|
||||
loading = true
|
||||
try { await onclick() } finally { loading = false }
|
||||
}
|
||||
</script>
|
||||
|
||||
<button class="btn btn-success btn-sm" onclick={handle} disabled={loading}>
|
||||
{loading ? '…' : '✓ Check in'}
|
||||
</button>
|
||||
Loading…
Add table
Add a link
Reference in a new issue