82 lines
4.1 KiB
PHP
82 lines
4.1 KiB
PHP
@extends('install.layout')
|
|
|
|
@section('title', trans('installer.requirements_title'))
|
|
@section('content')
|
|
<h3>@lang('installer.requirements_title')</h3>
|
|
<p>@lang('installer.requirements_intro')</p>
|
|
|
|
<div class="row" style="margin-top: 30px;">
|
|
<div class="col-md-8 mr-md-auto ml-md-auto">
|
|
<table class="table table-striped">
|
|
<tbody>
|
|
<tr>
|
|
<td><b>@lang('installer.core.heading')</b></td>
|
|
<td style="width: 30%;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>@lang('installer.core.php_version', ['minimum' => $php_version_required])</td>
|
|
<td>
|
|
{{ $php_version_current }}
|
|
<i class="fa fa-fw fa-{{ $php_is_valid ? 'check text-success' : 'times text-danger' }}"></i>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>@lang('installer.php_modules.heading')</b></td>
|
|
<td></td>
|
|
</tr>
|
|
@foreach ($required_modules as $key => $value)
|
|
<tr>
|
|
<td>@lang($value)</td>
|
|
<td><i class="fa fa-fw fa-{{ (in_array($key, $available_modules) && $available_modules[$key]) ? 'check text-success' : 'times text-danger' }}"></i></td>
|
|
</tr>
|
|
@endforeach
|
|
<tr>
|
|
<td colspan="2"><b>@lang('installer.php_config.heading')</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
@lang('installer.php_config.upload_limit')
|
|
@if ($upload_limit_warning)
|
|
<br/><span class="text-warning">@lang('installer.php_config.upload_limit_warning', ['size' => $recommended_minimum_upload, 'units' => trans('global.units.megabytes')])</span>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
{{ $upload_limit }} @lang('global.units.megabytes')
|
|
@if ($upload_limit_warning)
|
|
<i class="fa fa-fw fa-exclamation-triangle text-warning"></i>
|
|
@else
|
|
<i class="fa fa-fw fa-check text-success"></i>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
@lang('installer.php_config.post_max_size')
|
|
@if ($post_max_size_warning)
|
|
<br/><span class="text-warning">@lang('installer.php_config.post_max_size_warning', ['size' => $recommended_minimum_upload, 'units' => trans('global.units.megabytes')])</span>
|
|
@endif
|
|
@if ($post_max_size <= $upload_limit )
|
|
<br/><span class="text-warning">@lang('installer.php_config.post_max_size_upload_limit_warning')</span>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
{{ $post_max_size }} @lang('global.units.megabytes')
|
|
@if ($post_max_size_warning)
|
|
<i class="fa fa-fw fa-exclamation-triangle text-warning"></i>
|
|
@else
|
|
<i class="fa fa-fw fa-check text-success"></i>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="text-right">
|
|
<form action="{{ route('install.check') }}" method="post">
|
|
{{ csrf_field() }}
|
|
<button type="submit" class="btn btn-success"@if (!$can_continue) disabled="disabled"@endif><i class="fa fa-fw fa-check"></i> @lang('forms.continue_action')</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection |