@extends('log-viewer::bootstrap-4._master') @section('content')
{{-- Log Menu --}}
@lang('Levels')
@foreach($log->menu() as $levelKey => $item) @if ($item['count'] === 0) {!! $item['icon'] !!} {{ $item['name'] }} {{ $item['count'] }} @else {!! $item['icon'] !!} {{ $item['name'] }} {{ $item['count'] }} @endif @endforeach
{{-- Log Details --}}
@lang('File path') : {{ $log->getPath() }}
@lang('Log entries') : {{ $entries->total() }} @lang('Size') : {{ $log->size() }} @lang('Created at') : {{ $log->createdAt() }} @lang('Updated at') : {{ $log->updatedAt() }}
{{-- Log Entries --}}
@if ($entries->hasPages())
{{ __('Page :current of :last', ['current' => $entries->currentPage(), 'last' => $entries->lastPage()]) }}
@endif
@forelse($entries as $key => $entry) @if ($entry->hasStack() || $entry->hasContext()) @endif @empty @endforelse
@lang('ENV') @lang('Level') @lang('Time') @lang('Header') @lang('Actions')
{{ $entry->env }} {!! $entry->level() !!} {{ $entry->datetime->format('H:i:s') }} {{ $entry->header }} @if ($entry->hasStack()) @endif @if ($entry->hasContext()) @endif
@if ($entry->hasStack())
{!! $entry->stack() !!}
@endif @if ($entry->hasContext())
{{ $entry->context() }}
@endif
@lang('The list of logs is empty!')
{!! $entries->appends(compact('query'))->render() !!}
@endsection @section('modals') {{-- DELETE MODAL --}} @endsection @section('scripts') @endsection