75 lines
2.9 KiB
PHP
75 lines
2.9 KiB
PHP
<x-layout-app>
|
|
<div class="container-xl">
|
|
<div class="page-header">
|
|
<h1>{{ __('boilerplate::ui.jobs') }}</h1>
|
|
<button onclick="confirm('{{ __('boilerplate::ui.jobs-clear-confirm') }}') ? window.location.href = '{{ route('system.jobs.clear') }}' : false" class="btn btn-danger">{{ __('boilerplate::ui.jobs-clear') }}</button>
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">uuid</th>
|
|
<th scope="col">queue</th>
|
|
<th scope="col">payload</th>
|
|
<th scope="col">exception</th>
|
|
<th scope="col">failed_at</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($failed_jobs as $item)
|
|
<tr>
|
|
<th scope="row">
|
|
{{ $item->uuid }}
|
|
</th>
|
|
<td>
|
|
{{ $item->queue }}
|
|
</td>
|
|
<td>
|
|
<div class="text-break">{{ Str::substr($item->payload, 0, 150) }}</div>
|
|
</td>
|
|
<td>
|
|
<div class="text-break">{{ Str::substr($item->exception, 0, 300) }}</div>
|
|
</td>
|
|
<td>
|
|
{{ $item->failed_at }}
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">id</th>
|
|
<th scope="col">queue</th>
|
|
<th scope="col">payload</th>
|
|
<th scope="col">available_at</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($jobs as $item)
|
|
<tr>
|
|
<th scope="row">
|
|
{{ $item->id }}
|
|
</th>
|
|
<td>
|
|
{{ $item->queue }}
|
|
</td>
|
|
<td>
|
|
<div class="text-break">{{ Str::substr($item->payload, 0, 150) }}</div>
|
|
</td>
|
|
<td>
|
|
{{ $item->available_at }}
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</x-layout-app>
|