@section('site_title', formatTitle([$website->domain, __('Devices'), config('settings.title')]))
{{ __('Devices') }}
@include('stats.filters', ['name' => __('Type'), 'count' => __('Visitors')])
@if(count($devices) == 0) {{ __('No data') }}. @else
{{ __('Type') }}
{{ __('Visitors') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@foreach($devices as $device)
{{ $device->value ?? __('Unknown') }}
@if($device->value) {{ Str::ucfirst($device->value) }} @else {{ __('Unknown') }} @endif
{{ number_format($device->count, 0, __('.'), __(',')) }}
{{ number_format((($device->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $devices->firstItem(), 'to' => $devices->lastItem(), 'total' => $devices->total()]) }}
{{ $devices->onEachSide(1)->links() }}
@endif