60 lines
2.5 KiB
PHP
60 lines
2.5 KiB
PHP
@if(count($requests) > 0)
|
|
<table class="item-list content-overview full-width table striped">
|
|
<thead>
|
|
<tr>
|
|
<td>@lang('profiler::module.index.createdAt')</td>
|
|
<td>@lang('profiler::module.index.httpMethod')</td>
|
|
<td>@lang('profiler::module.index.url')</td>
|
|
<td>@lang('profiler::module.index.time')</td>
|
|
<td>@lang('profiler::module.index.systemLoad')</td>
|
|
<td></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
@foreach($requests as $request)
|
|
<tr>
|
|
<td>{{$request->created_at->format('d.m.Y G:i')}}</td>
|
|
<td><a href="{{route('profiler.index', ['method' => $request->method])}}">{{$request->method}}</a></td>
|
|
<td><a href="{{route('profiler.index', ['url' => $request->url])}}">{{$request->url}}</a></td>
|
|
<td>{{number_format($request->time, 3)}} ms</td>
|
|
<td>{{$request->load_1}}, {{$request->load_5}}, {{$request->load_15}}</td>
|
|
<td>
|
|
|
|
<div class="item-actions-dropdown">
|
|
<a class="item-actions-toggle-btn">
|
|
<span class="inactive">
|
|
<i class="fa fa-cog"></i>
|
|
</span>
|
|
<span class="active">
|
|
<i class="fa fa-chevron-circle-right"></i>
|
|
</span>
|
|
</a>
|
|
<div class="item-actions-block">
|
|
<ul class="item-actions-list">
|
|
<li>
|
|
<a href="{{route('request.detail', ['httpLog' => $request])}}" data-toggle="tooltip"
|
|
title="@lang('profiler::module.request.info')">
|
|
<i class="fa fa-info"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{route('queries.index', ['httpLog' => $request])}}" data-toggle="tooltip"
|
|
title="@lang('profiler::module.request.sql')">
|
|
<i class="fa fa-database"></i></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
@else
|
|
@lang('admin/common.empty')
|
|
@endif |