@section('site_title', formatTitle([$monitor->name, __('Checks'), config('settings.title')])) @include('monitors.header')
{{ __('Checks') }}
@include('shared.message') @if(count($checks) == 0) {{ __('No results found.') }} @else
{{ __('Location') }}
{{ __('Response status code') }}
{{ __('Response time') }}
{{ __('Checked at') }}
@foreach($checks as $check)
@if(!empty(explode(':', $check->country)[1])) {{ explode(':', $check->country)[1] }}@if(!empty(explode(':', $check->city)[1])), {{ explode(':', $check->city)[1] }}@endif @else {{ __('Unknown') }} @endif
{{ $check->response_status_code }}
{{ ($check->response_time ? number_format(($check->response_time / 1000), 0, __('.'), __(',')) : 0) }} ms
{{ $check->checked_at->tz(Auth::user()->timezone ?? config('settings.timezone')) }}
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $checks->firstItem(), 'to' => $checks->lastItem(), 'total' => $checks->total()]) }}
{{ $checks->onEachSide(1)->links() }}
@endif
{{ __('Report generated on :date at :time (UTC :offset).', ['date' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->format(__('Y-m-d')), 'time' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->format('H:i:s'), 'offset' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->getOffsetString()]) }} {{ __('Refresh report') }}