|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/leadai/leadai.co.in/resources/views/leads/modal/ |
Upload File : |
<div class="modal" id="importModal">
<div class="modal-dialog modal-dialog-centered" style="width:38%;">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header bg-success rounded-0">
<h4 class="modal-title">Import @php echo \App\Helpers\Frontend::lead_name(); @endphp</h4>
<button type="button" class="close" data-bs-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="row">
<div class="col-md-3 py-5">
<i class="fa fa-warning text-warning" style="font-size:50px"></i>
</div>
<div class="col-md-9 import-content">
<p>Import @php echo \App\Helpers\Frontend::lead_name(); @endphp (.xls, .xlsx)</p>
<p><strong>Follow these steps:</strong></p>
<p>1. Download the Excel template to your computer by clicking the <strong>Download</strong>
button.</p>
<p>2. Integrate your data into the template file, minding the column names.</p>
<p>3. Click the <strong>Import</strong> button.</p>
<p><strong>IMPORTANT</strong></p>
<p>- If you do not have data for a particular column, leave it empty and do not move or
delete the column.</p>
</div>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer position-relative">
<form class="import-lead-form" enctype="multipart/form-data">
@csrf
<div class="">
<div class="">
<div class="" style="position:relative">
<input type="file" accept="" name="excel_file"
class="input_upload input_file_upload"
style="z-index:5;opacity:0;cusor:pointer;">
<button type="submit"
class="btn btn-success text-uppercase input_upload input_upload_btn text-white mr-2">
<i class="fa fa-upload pr-2"></i>
Import
</button>
</div>
</div>
<div class="">
<div class="d-flex justify-content-center">
<a href="{{ asset('public/lead_sample.csv') }}" class="btn btn-info"
download>Download Sample  <i class="fa fa-download"></i></a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>