56 lines
2.2 KiB
PHP
56 lines
2.2 KiB
PHP
@extends('installer::layouts.master')
|
|
|
|
@section('template_title')
|
|
{{ trans('installer::installer_messages.requirements.template_title') }}
|
|
@endsection
|
|
|
|
@section('title')
|
|
<i class="fa fa-list-ul fa-fw" aria-hidden="true"></i>
|
|
{{ trans('installer::installer_messages.requirements.title') }}
|
|
@endsection
|
|
|
|
@section('content')
|
|
<div class="install-2">
|
|
<h3 class="mb-5">{{ trans('installer::installer_messages.requirements.title') }}</h3>
|
|
<table class="table table-hover text-black text-opacity-75 fs-5 mb-5">
|
|
<thead>
|
|
<th width="70%">{{ trans('installer::installer_messages.requirements.environment') }}</th>
|
|
<th width="30%">{{ trans('installer::installer_messages.status') }}</th>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($requirements['requirements'] as $type => $requirement)
|
|
<tr>
|
|
<td colspan="3">
|
|
<strong class="fs-4">{{ ucfirst($type) }}</strong>
|
|
@if ($type == 'php')
|
|
<small>(version {{ $phpSupportInfo['minimum'] }} required)</small>
|
|
<span class="float-right">
|
|
<strong>{{ $phpSupportInfo['current'] }}</strong>
|
|
<i class="bi bi-{{ $phpSupportInfo['supported'] ? 'check2' : 'x' }} row-icon"
|
|
aria-hidden="true"></i>
|
|
</span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@foreach ($requirements['requirements'][$type] as $extention => $enabled)
|
|
<tr class="{{ $enabled ? '' : 'table-danger' }}">
|
|
<td>{{ $extention }}</td>
|
|
<td class="{{ $enabled ? 'text-success' : 'text-danger' }}"><i class="bi bi-{{ $enabled ? 'check-circle-fill' : 'exclamation-circle-fill' }} row-icon"
|
|
aria-hidden="true"></i></td>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
@if (!isset($requirements['errors']) && $phpSupportInfo['supported'])
|
|
<div class="d-flex justify-content-end">
|
|
<a class="btn btn-primary d-flex align-items-center" href="{{ route('installer.permissions') }}">
|
|
{{ trans('installer::installer_messages.requirements.next') }}
|
|
<i class="bi bi-arrow-right-short fs-2 lh-1 ms-2"></i>
|
|
</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
@endsection
|