Viewing file: importDatabase.blade.php (2.1 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('installation.app', ['class' => 'bg-white'])
@section('content')
<div class="container pt-5">
<div class="d-flex justify-content-center mt-5">
<div class="card p-3">
<div class="card-body install-card-body h-100 w-100 z-3 position-relative">
<center>
<img src="{{asset('frontend')}}/images/logo.png" alt="" height="50">
</center>
<h1 class="my-3 text-center">Otrixweb - Ecommerce Website & Admin Panel Installation</h1>
<p class="text-center">Make sure this is ready before proceeding</p>
<ul class="list-group rounded-2">
<li class="list-group-item fs-12 fw-600 d-flex align-items-center justify-content-between" style="line-height: 18px; color: #666; gap: 7px;">
Check database file exist
@if (is_writable(base_path('database/otrixcommerce_web.sql')))
<svg xmlns="http://www.w3.org/2000/svg" width="13.435" height="13.435" viewBox="0 0 13.435 13.435">
<path id="Union_2" data-name="Union 2" d="M-4076.25,7a.75.75,0,0,1-.75-.75V.75a.75.75,0,0,1,.75-.75.75.75,0,0,1,.75.75V5.5h9.75a.75.75,0,0,1,.75.75.75.75,0,0,1-.75.75Z" transform="translate(2882.875 -2874.389) rotate(-45)" fill="#00ac47"/>
</svg>
@else
<i class="fa fa-close"></i>
@endif
</li>
</ul>
<center>
<form class="" action="{{route('do.importdb')}}" method="post">
@csrf
@method('post')
@if (is_writable(base_path('database/otrixcommerce_web.sql')))
<button type="submit" class="btn btn-small btn-success my-3">
Import Database
</button>
@endif
</form>
</center>
</div>
</div>
</div>
</div>
@endsection
|