44 lines
1.4 KiB
PHP
44 lines
1.4 KiB
PHP
@extends('admin.layoutWithNavigation')
|
|
|
|
@section('pageHeading', trans('profiler::module.name'))
|
|
|
|
@section('headerButtons')
|
|
@if($displayGrouped == false)
|
|
|
|
<a class="btn btn-sm rounded btn-primary" href="{{route('profiler.index')}}"><i class="fa fa-list"></i></a>
|
|
|
|
@endif
|
|
|
|
<div class="pull-right">
|
|
@foreach(['0' => 'today', '7' => 'days', '30' => 'days', 'inf' => 'overall'] as $pastDay => $name)
|
|
@php $filter['pastDays'] = $pastDay; @endphp
|
|
|
|
<a class="btn btn-sm rounded @if($pastDays === (string)$pastDay) btn-primary @else btn-secondary @endif"
|
|
href="{{route('profiler.index', $filter)}}">{{trans_choice('profiler::module.index.pastDays.'.$name, $pastDay)}}</a>
|
|
@endforeach
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
@if($displayGrouped == false)
|
|
@section('pageDescription', trans('profiler::module.listDescription'))
|
|
@else
|
|
@section('pageDescription', trans('profiler::module.groupedListDescription'))
|
|
@endif
|
|
|
|
@section('content')
|
|
|
|
<div class="card">
|
|
<div class="card-block">
|
|
|
|
@if ($displayGrouped == true)
|
|
@include('profiler::_partials.groupedRequestList', ['requests' => $httpLog])
|
|
@else
|
|
@include('profiler::_partials.requestList', ['requests' => $httpLog])
|
|
@endif
|
|
</div>
|
|
<div class="card-footer">
|
|
{!! $httpLog->render() !!}
|
|
</div>
|
|
</div>
|
|
@endsection |