This commit is contained in:
Mathieu Lagace
2019-09-08 16:43:34 -04:00
parent 0bd86285ca
commit 133f430445
39 changed files with 789 additions and 74 deletions

View File

@@ -14,7 +14,9 @@
<table id="log-data" class="table table-striped table-no-bordered table-hover dataTable dtr-inline">
<thead>
<tr>
<th>Horodatage </th>
<th>Horodatage</th>
<th>Type</th>
<th>Résultat</th>
<th>Utilisateur</th>
<th>Action</th>
</tr>
@@ -22,9 +24,11 @@
<tbody>
@foreach ($log as $item)
<tr>
<td>{{$item->created_at}}</td>
<td>{{$item->created_at}}</td>
<th><span class="badge badge-pill badge-{{$item->typeColor()}}">{{$item->type}}</span></th>
<th><span class="badge badge-pill badge-{{$item->result}}">Success</span></th>
<td>{{\App\User::find($item->user_id)->fullname()}}</td>
<td>{{$item->action}}</td>
<td><a href="">{{$item->event}}</a></td>
</tr>
@endforeach