{{-- The state of «Состояние системы» (SystemState): the page renders it, and each refresh replaces it. --}} @php $colors = ['ok' => 'success', 'warning' => 'warning', 'failing' => 'danger', 'running' => 'info', 'succeeded' => 'success', 'failed' => 'danger']; @endphp
@if ($state['tasks'] === [])

{{ __('cabinet::health.tasks.empty') }}

@else
@foreach ($state['tasks'] as $task) @endforeach
{{ __('cabinet::health.tasks.task') }} {{ __('cabinet::health.tasks.result') }} {{ __('cabinet::health.tasks.started') }} {{ __('cabinet::health.tasks.finished') }} {{ __('cabinet::health.tasks.duration') }}
{{ $task['task'] }} {{ $task['label'] }} {{ $task['started'] }} {{ $task['finished'] }} {{ $task['duration'] }}
@endif