@extends('joynala.web-installer::app')
@section('content')
<div class="row px-5">
<div class="col-6 col-md-4 ms-auto d-flex align-items-center me-5" style="height: 100vh;">
<div class="card w-100 pt-3" style="overflow: hidden;border-bottom: none;">
<h2 class="text-center mt-3">You are going to updates</h2>
@if ($hasConfigFile)
<p class="fs-7 text-center">
<strong class="text-danger">You will read carefully to the following lines.</strong>
</p>
<div class="w-80 m-auto">
<div class="d-flex mt-3">
<div class="me-2">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
viewBox="0 0 16 16">
<g id="Group_22706" data-name="Group 22706"
transform="translate(-704 -571)">
<g id="Rectangle_19036" data-name="Rectangle 19036"
transform="translate(704 571)" fill="#fff" stroke="#ea4335"
stroke-width="1">
<rect width="16" height="16" rx="8" stroke="none">
</rect>
<rect x="0.5" y="0.5" width="15" height="15" rx="7.5"
fill="none"></rect>
</g>
<g id="Group_22693" data-name="Group 22693"
transform="translate(0 -12)">
<g id="Group_22698" data-name="Group 22698">
<rect id="Rectangle_19044" data-name="Rectangle 19044"
width="1.5" height="5" rx="0.75"
transform="translate(715.475 589.939) rotate(45)"
fill="#ea4335"></rect>
<rect id="Rectangle_19111" data-name="Rectangle 19111"
width="1.5" height="5" rx="0.75"
transform="translate(716.536 591) rotate(135)"
fill="#ea4335"></rect>
<rect id="Rectangle_19051" data-name="Rectangle 19051"
width="8" height="1.5" rx="0.75"
transform="translate(708 590.25)" fill="#ea4335"></rect>
</g>
</g>
</g>
</svg>
</div>
<p class="ml-2 mb-0 fs-7 fw-500" style="color: #666; line-height: 18px;">
Be sure to back up your database and all files before updating. By doing this, if you face any kind of problem, you can go back to the previous state.
</p>
</div>
<div class="d-flex mt-3">
<div class="me-2">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
viewBox="0 0 16 16">
<g id="Group_22706" data-name="Group 22706"
transform="translate(-704 -571)">
<g id="Rectangle_19036" data-name="Rectangle 19036"
transform="translate(704 571)" fill="#fff" stroke="#e6e6e6"
stroke-width="1">
<rect width="16" height="16" rx="8"
stroke="none"></rect>
<rect x="0.5" y="0.5" width="15" height="15"
rx="7.5" fill="none"></rect>
</g>
<g id="Group_22693" data-name="Group 22693"
transform="translate(0 -12)">
<g id="Group_22698" data-name="Group 22698">
<rect id="Rectangle_19044" data-name="Rectangle 19044"
width="1.5" height="5" rx="0.75"
transform="translate(715.475 589.939) rotate(45)"
fill="#007cff"></rect>
<rect id="Rectangle_19111" data-name="Rectangle 19111"
width="1.5" height="5" rx="0.75"
transform="translate(716.536 591) rotate(135)"
fill="#007cff"></rect>
<rect id="Rectangle_19051" data-name="Rectangle 19051"
width="8" height="1.5" rx="0.75"
transform="translate(708 590.25)" fill="#007cff"></rect>
</g>
</g>
</g>
</svg>
</div>
<p class="ml-2 mb-0 fs-7 fw-500" style="color: #666; line-height: 18px;">
When you upload the file to update this system, many files of your system will be changed or new files will be added and your system will be updated.
</p>
</div>
<div class="my-4 py-4 absolute-bottom-left right-0 d-flex justify-content-center">
@if (config('installer.verify_purchase'))
<a href="{{ route('updater.verify') }}" class="btn btn-install text-uppercase">
Start update Process
</a>
@else
<a href="{{ route('updater.file-upload') }}" class="btn btn-install text-uppercase">
Start update Process
</a>
@endif
</div>
</div>
@else
<p class="fs-7 text-center">
<strong class="text-danger">You need to run this command for better experience.</strong>
</p>
<div class="w-80 m-auto text-center pb-4">
<p><code>php artisan vendor:publish --tag=web-installer-config</code></p>
<a href="{{ route('installer.publish-config') }}" class="btn btn-primary">Click Here</a>
</div>
@endif
<div class="row">
<div class="col" style="min-height: 3px; background: #006a4e"></div>
<div class="col" style="min-height: 3px; background: #f42a41"></div>
<div class="col" style="min-height: 3px; background: #006a4e"></div>
</div>
</div>
</div>
</div>
@endsection