@extends('layouts.app') @section('site_title', formatTitle([$website->domain, __('Operating systems'), config('settings.title')])) @section('head_content') @endsection @section('content')
@include('stats.partials.header')
{{ __('Operating systems') }}
@include('stats.partials.filters', ['name' => __('Name'), 'count' => __('Visitors')])
@if(count($operatingSystems) == 0) {{ __('No data') }}. @else
{{ __('Name') }}
{{ __('Visitors') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@foreach($operatingSystems as $operatingSystem)
{{ $operatingSystem->value ?? __('Unknown') }}
@if($operatingSystem->value) {{ $operatingSystem->value }} @else {{ __('Unknown') }} @endif
{{ number_format($operatingSystem->count, 0, __('.'), __(',')) }}
{{ number_format((($operatingSystem->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $operatingSystems->firstItem(), 'to' => $operatingSystems->lastItem(), 'total' => $operatingSystems->total()]) }}
{{ $operatingSystems->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') }}
@endsection @include('shared.sidebars.user')