FEATURE: add simple view for requests and queries
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
@extends('admin.layoutWithNavigation')
|
||||
|
||||
@section('pageHeading', trans('profiler::module.name'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<table class="table stripped">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>@lang('profiler::module.queries.createdAt')</td>
|
||||
<td>@lang('profiler::module.queries.sql')</td>
|
||||
<td>@lang('profiler::module.queries.binding')</td>
|
||||
<td>@lang('profiler::module.queries.time')</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
@foreach($queries as $query)
|
||||
<tr>
|
||||
<td>{{$query->created_at->format('d.m.Y G:i')}}</td>
|
||||
<td>{{$query->query}}</td>
|
||||
<td>
|
||||
|
||||
{{var_export($query->bindings)}}
|
||||
</td>
|
||||
<td>{{number_format($query->time, 3)}} ms</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user