관리-도구
편집 파일: job_details.blade.php
@extends('theme.saintsaccessories.websiteEcom') @php use Illuminate\Support\Facades\Auth; use App\Models\Jobpost; use App\Models\Company; use App\Http\Controllers\JobpostController; $allJobs = Jobpost::all(); @endphp <style> /* Modal background */ .modal-backdrop { display: block; position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ } /* Modal content */ .modal-content { background-color: #fefefe; margin: 15% auto; /* 15% from the top and centered */ padding: 20px; border: 1px solid #888; width: 80%; /* Could be more or less, depending on screen size */ } /* Close button */ .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; } .modal-content { width: 30% !important; align-items: center; justify-content: center; height: 250px !important; } .modal-content p { font-size: 21px; text-align: center; text-transform: capitalize; line-height: normal; } .modal-content span.close { background: black; color: white; padding: 14px 21px; opacity: 1; font-size: 1rem; border-radius: 9px; } .ct_main { display: flex; align-items: center; gap: 11px; } .ct_main a { float: right; font-size: 1rem; font-weight: 700; background: black; opacity: 1; color: white !important; padding: 10px 14px; border-radius: 10px; } .company_apply .modal-content { width: 620px !important; height: 340px !important; } .company_apply .modal-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px; } .job-apply-btn button { background: #332; border: 1px solid black; color:white; padding:10px 25px; border-radius:10px; } .job-apply-btn button:hover { background: #3333; border: 1px solid black; color: black; } a.disabled { background: #00800080 !important; color: white; padding: 9px 17px; border-radius: 9px; margin: 0 30px 0 0; } .company_apply .modal-footer a { background: black; color: white; padding: 15px 17px; border-radius: 10px; } </style> @section('content') <!-- Comnpany detail Section Start --> <section class="company-detail"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-10"> <div class="company-detail-txt"> @php $company = Company::where('company_name',$data->company_name)->first(); @endphp @if($company != '') <img src="{{ asset('public/uploads/companyprofiles/'.$company->company_profile_image) }}" alt=""> @endif <!--<img src="images/job-sugggest-box-img.JPG" alt="">--> <h2>{{ $data->job_title }} Required</h2> <a href="{{ $data->link_space }}" ><i class='bx bx-right-arrow-alt'></i> Apply Link</a> <!--<h2>{{ $data->company_name }} - {{ $data->job_title }} Required</h2>--> <div class="comapny-address"> <a href="#">{{ $data->company_name }}</a> <a href="#">{{ $data->contact_person }}</a> </div> <div class="box-scroll"> <div class="dollar-per-hour"> @if($data->min_salary && $data->max_salary) <span><i class='bx bxs-dollar-circle'></i></span> <h6>${{ $data->min_salary }} - ${{ $data->max_salary }}</h6> @endif </div> <p>{{ $data->job_description }}</p> <div class="skills d-none"> <h6>Skills & Responsibilities:</h6> <p>Ability to read and understand data and document collected information.</p> <ul> <li>Must have professional communication skills.</li> <li>Conduct field and laboratory testing of soils, aggregate, and concrete.</li> <li>Generate field records of test results and related construction activities for project compliance documentation.</li> <li>This position requires working in the field and testing in the lab.</li> <li>We need employees with a "can do" attitude who can work flexible hours.</li> <li>Perform other duties as assigned by supervisor. Work outdoors in different weather conditions.</li> <li>Lift and carry up to 60 pounds.</li> <li>Responsible for mid-size truck.</li> <li>Responsible, reliable, accurate, dedicated, honest</li> </ul> </div> <div class="requirements"> <h6>Requirements</h6> <ul> <p>Required Qualification : <span>{{ $data->qualification }}</span></p> <p>Required Experience : <span>{{ $data->min_experience }}-{{ $data->max_experience }}</span></p> <li>Willing to work a flexible schedule, including overtime, evenings, and/or weekends </li> <!--<li>Valid driver's license</li>--> <!--<li>Clear MVR</li>--> <!--<li>Clean background and drug screen</li>--> <!--<li>Ability to work independently and as a team member</li>--> <!--<li>Pay starts at $20 per hour depending on experience and industry certifications.</li>--> </ul> </div> <div class="benefits d-none"> <h6>Benefits</h6> <p>Health, dental, vision and life insurance are offered 401(k) with a match PTO Our client pays for ACI certifications for our technicians. Successful completion comes with a pay raise! </p> </div> <p>PandoLogic. Keywords: {{ $data->keywords }}, Location: {{ $data->job_location }}</p> <div class="report-job d-none"> <span><i class='bx bx-message-error'></i></span> <a href="#">Report Job</a> </div> <div class="post-date"> <!--<p>Work Place Type: <span>{{ $data->workplace_type }}</span></p>--> <p>Job Type: <span>{{ $data->job_type }}</span></p> <!--<p>Total Vacancy: <span>{{ $data->no_of_vacancy }}</span></p>--> <p>Posted date: <span>{{ $data->created_at->format('Y-m-d') }}</span></p> <!--<p>Expiry date: <span>{{ $data->job_post_expiry_date }}</span></p>--> <!--<a href="#">View all Jobs at {{ $data->company_name }}</a>--> </div> </div> <div class="job-apply-btn"> @if(Auth::check()) @php $checkAlreadyApplied = JobpostController::checkAlreadyApplied($data->id)?? ''; @endphp @if($checkAlreadyApplied != '') <button type="button" class="btn btn-primary">Already Applied</button> @else <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">Apply Now</button> @endif @else <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">Apply Now</button> @endif {{--<form id="applyJobForm" action="{{ url('/apply-to-job') }}" method="POST"> @csrf <input type="hidden" name="user_id" value="{{ (Auth::check())? Auth::user()->id : 1}}"> <input type="hidden" name="job_id" value="{{$data->id }}"> @if(Auth::check()) @php $checkAlreadyApplied = JobpostController::checkAlreadyApplied($data->id)?? ''; @endphp @if($checkAlreadyApplied != '') <a href="#" disabled>Already Applied</a> @else <input type="submit" value="Apply Now"> @endif @else <a href="{{ url('/sign_in') }}" class="disabled">Login To Apply</a> @endif </form>--}} </div> </div> </div> </div> </div> </section> <div class="modal fade company_apply" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> </div> <div class="modal-body"> <h5 class="modal-title" id="exampleModalLabel">Are you sure to apply now</h5> <p>Selecting this option will send your profile to the hiring manager, are you sure you want to apply now?</p> </div> <div class="modal-footer"> <form id="applyJobForm" action="{{ url('/apply-to-job') }}" method="POST"> @csrf <input type="hidden" name="user_id" value="{{ (Auth::check())? Auth::user()->id : 1}}"> <input type="hidden" name="job_id" value="{{ $data->id }}"> <div class="form-group"> <label for="resume">Upload Resume:</label> <input type="file" name="resume_path" id="resume" accept=".pdf,.doc,.docx" required> </div> @if(Auth::check()) @php $checkAlreadyApplied = JobpostController::checkAlreadyApplied($data->id)?? ''; @endphp @if($checkAlreadyApplied != '') <a href="#" class="disabled" disabled>Already Applied</a> @else <input type="submit" value="Apply Now"> @endif @else <a href="{{ url('/sign_in') }}" class="disabled">Login To Apply</a> @endif </form> <a href="{{ url('/') }}" class="">No</a> </div> </div> </div> </div> @endsection