FEATURE: add simple view for requests and queries

This commit is contained in:
Michal Kváček
2017-03-02 20:04:35 +01:00
parent d99c046103
commit 9c90e844b0
23 changed files with 347 additions and 54 deletions
@@ -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