|
63 | 63 | </div>
|
64 | 64 |
|
65 | 65 | <div class="card p-0">
|
66 |
| - <table class="data-table"> |
67 |
| - <thead class="pb-1"> |
68 |
| - <th>{{ __('Level') }}</th> |
69 |
| - <th>{{ __('Context') }}</th> |
70 |
| - <th>{{ __('Date') }}</th> |
71 |
| - <th>{{ __('Content') }}</th> |
72 |
| - </thead> |
73 |
| - <tbody> |
74 |
| - @foreach ($logs as $key => $log) |
75 |
| - <tr @if($log['stack']) style="cursor: zoom-in;" data-expandable @endif> |
76 |
| - <td style="min-width: 120px; vertical-align: top;">{{ $log['level'] }}</td> |
77 |
| - <td style="min-width: 120px; vertical-align: top;">{{ $log['context'] }}</td> |
78 |
| - <td style="min-width: 200px; vertical-align: top;">{{ $log['date'] }}</td> |
79 |
| - <td class="w-full font-mono text-xs"> |
80 |
| - {{ $log['text'] }} |
| 66 | + <div class="w-full overflow-auto"> |
| 67 | + <table class="data-table"> |
| 68 | + <thead class="pb-1"> |
| 69 | + <th>{{ __('Level') }}</th> |
| 70 | + <th>{{ __('Context') }}</th> |
| 71 | + <th>{{ __('Date') }}</th> |
| 72 | + <th>{{ __('Content') }}</th> |
| 73 | + </thead> |
| 74 | + <tbody> |
| 75 | + @foreach ($logs as $key => $log) |
| 76 | + <tr @if($log['stack']) style="cursor: zoom-in;" data-expandable @endif> |
| 77 | + <td style="min-width: 120px; vertical-align: top;">{{ $log['level'] }}</td> |
| 78 | + <td style="min-width: 120px; vertical-align: top;">{{ $log['context'] }}</td> |
| 79 | + <td style="min-width: 200px; vertical-align: top;">{{ $log['date'] }}</td> |
| 80 | + <td class="w-full font-mono text-xs"> |
| 81 | + {{ $log['text'] }} |
81 | 82 |
|
82 |
| - @if($log['in_file'])) <br>{{ $log['in_file'] }} @endif |
| 83 | + @if($log['in_file'])) <br>{{ $log['in_file'] }} @endif |
83 | 84 |
|
84 |
| - @if($log['stack']) <div class="hidden whitespace-pre-wrap" data-stack>{{ trim($log['stack']) }}</div> @endif |
85 |
| - </td> |
86 |
| - </tr> |
87 |
| - @endforeach |
88 |
| - </tbody> |
89 |
| - </table> |
| 85 | + @if($log['stack']) <div class="hidden whitespace-pre-wrap" data-stack>{{ trim($log['stack']) }}</div> @endif |
| 86 | + </td> |
| 87 | + </tr> |
| 88 | + @endforeach |
| 89 | + </tbody> |
| 90 | + </table> |
| 91 | + </div> |
90 | 92 | </div>
|
91 | 93 | @else
|
92 | 94 | <p>No log files found.</p>
|
|
0 commit comments