@extends('layouts.app')
@section('title', __('nav.health'))
@section('content')
<h1 class="h4 mb-3">{{ __('messages.system_health') }}</h1>
<table class="table">
<tr><th>{{ __('messages.php_version') }}</th><td>{{ $php }}</td></tr>
<tr><th>{{ __('messages.laravel_version') }}</th><td>{{ $laravel }}</td></tr>
<tr><th>{{ __('messages.database_connection') }}</th><td>{{ $database ? __('messages.ok') : __('messages.failed') }}</td></tr>
<tr><th>{{ __('messages.storage_writable') }}</th><td>{{ $storage ? __('messages.ok') : __('messages.failed') }}</td></tr>
<tr><th>{{ __('messages.cache_working') }}</th><td>{{ $cache ? __('messages.ok') : __('messages.failed') }}</td></tr>
<tr><th>{{ __('messages.queue_status') }}</th><td>{{ $queue }}</td></tr>
<tr><th>{{ __('messages.current_version') }}</th><td>{{ $version }}</td></tr>
<tr><th>{{ __('messages.migration_status') }}</th><td>{{ $pending_migrations }}</td></tr>
<tr><th>{{ __('messages.disk_space') }}</th><td>{{ number_format($disk_free/1024/1024/1024,2) }} GB / {{ number_format($disk_total/1024/1024/1024,2) }} GB</td></tr>
<tr><th>{{ __('messages.environment') }}</th><td>{{ $environment }}</td></tr>
</table>
@endsection
