diff --git a/resources/views/livewire/pages/table.blade.php b/resources/views/livewire/pages/table.blade.php new file mode 100644 index 0000000..91ff41d --- /dev/null +++ b/resources/views/livewire/pages/table.blade.php @@ -0,0 +1,74 @@ + Collection::class]); + +mount(function () { + $this->participants = Participant::all(); +}); + +?> + +
| ID | +User ID | +Giving To (ID) | +Prompt | +Submission URL | +Desperate? | +Token (ULID) | +
|---|---|---|---|---|---|---|
| {{ $participant->id }} | +{{ $participant->user_id }} | +{{ $participant->giving_id ?? 'N/A' }} | + ++ {{ Str::limit($participant->prompt, 50) }} + | + ++ @if($participant->submission_url) + View Link + @else + N/A + @endif + | + ++ + {{ $participant->desperate ? 'YES' : 'No' }} + + | + ++ {{ Str::limit($participant->token, 15, '...') }} + | +