Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Nov 26, 2021
1 parent 53f9817 commit 7836440
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions resources/views/cli/list.blade.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<div class="m-1">
@if(count($checkResults->storedCheckResults))
<div class="underline mb-1">Check results</div>
<div class="underline mb-1">Check results</div>

<div class="mb-1">
Last ran all the checks {{ $lastRanAt->diffForHumans() }}
</div>
<div class="mb-1">
Last ran all the checks {{ $lastRanAt->diffForHumans() }}
</div>

<table style="box">
<thead>
<tr>
<td></td>
<td>Check</td>
<td>Summary</td>
<td>Error message</td>
</tr>
</thead>
@foreach($checkResults->storedCheckResults as $result)
<table style="box">
<thead>
<tr>
<td class="{{ $color($result->status) }}"></td>
<td>{{ $result->label }}</td>
<td>{{ $result->shortSummary }}</td>
<td>{{ $result->notificationMessage }}</td>
<td></td>
<td>Check</td>
<td>Summary</td>
<td>Error message</td>
</tr>
@endforeach
</table>
</thead>
@foreach($checkResults->storedCheckResults as $result)
<tr>
<td class="{{ $color($result->status) }}"></td>
<td>{{ $result->label }}</td>
<td>{{ $result->shortSummary }}</td>
<td>{{ $result->notificationMessage }}</td>
</tr>
@endforeach
</table>

@else
No checks have run yet...<br />
No checks have run yet...<br/>
Please execute:

php artisan health:run-checks
Expand Down

0 comments on commit 7836440

Please sign in to comment.