관리-도구
편집 파일: all-users.blade.php
@extends('theme.saintsaccessories.websiteEcom') <style> /*section.user.profile-sec {*/ /* margin: 80px 0px 50px 0px;*/ /*}*/ section.user.profile-sec { margin: 190px 0px 50px 0px; height: 100%; display: flex; align-items: center; } .user-profile { padding: 30px; text-align: center; border: 1px solid #00000033; border-radius: 12px; box-shadow: 0 0 7px #00000057; margin:0px 0px 20px 0px; background: #fffbf2; } .user-profile img { width: 150px; padding: 0px 0px 30px 0px; } .user-profile a { color: #fff !important; font-size: 16px; font-family: Sora; line-height: 32px; border-radius: 27px; background: #413f3d; padding: 6px 15px; transition: all 0.6s ease; border: 1px solid #413f3d; } .user-profile a:hover { background: transparent; color: #413f3d; } </style> @php use App\Models\Jobpost; @endphp @section('content') <!-- Find the perfect Employers Section Start --> <section class="perfect-employer none-perfect"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="employer-txt"> <h2>{!! get_trans_option('jobseekerpgetitle') !!}</h2> </div> <div class="employerkeyword-box"> <div class="row"> <div class="col-lg-4"> <form action="{{ url('/search-jobs') }}"> <div class="company-title"> <input type="search" name="keyword" placeholder="Job Title or Keywords"> </div> </div> <div class="col-lg-4"> <div class="city-postcode"> <span><i class='bx bx-map'></i></span> <input type="text" name="city" placeholder="City or postcode"> </div> </div> <div class="col-lg-4"> <div class="location-search"> <div class="location-selects"> <span><i class='bx bx-world'></i></span> <select name="location"> <option value="">All Location</option> <option value="United Kingdom">United Kingdom</option> <option value="United States">United States</option> <option value="Europe">Europe</option> </select> </div> <div class="job-searchs"> <button type="submit"><span><i class='bx bx-search'></i></span></button> </div> </div> </div> </div> </div> </div> <div class="col-lg-12"> <div class="jobs-category"> <div class="job-related"> <select name="job_type" id=""> <option value="">Job Type</option> <option value="Full-Time">Full-Time</option> <option value="Part-Time">Part-Time</option> <option value="Contract">Contract</option> </select> </div> <div class="job-related"> <select name="experience_level" > <option value="">Experience Level</option> <option value="Experienced">Experienced</option> <option value="Mid-Level">Mid-Level</option> <option value="Junior">Junior</option> </select> </div> <div class="job-related"> <select name="estimated_salary"> <option value="">Salary estimate</option> <option value="5000-Above">$5000-Above</option> <option value="3000-5000">$3000-$5000</option> <option value="1000-3000">$1000-$3000</option> <option value="1-1000">$1-$1000</option> </select> </div> </form> </div> </div> </div> </div> </section> <!-- Find the perfect Employers Section End --> <!-- User profiles Section Start --> <section class="user profile-sec"> <div class="container"> <div class="row"> @foreach($data as $user) @if ($user->user_type === 'customer') <div class="col-lg-3"> <div class="user-profile"> <img src="{{ (!empty($user->profile_picture) && file_exists(public_path('uploads/profile/' . $user->profile_picture))) ? asset('public/uploads/profile/'.$user->profile_picture) : asset('public/theme/saintsaccessories/images/user_profile_picture.jpg') }}" alt=""> <h4>{{ $user->name }} <sup style="font-size:8px;">(Candidate)</sup> </h4> <a href="{{ url('user-profile/'.$user->id) }}">View Profile</a> </div> </div> @endif @endforeach {{--@foreach($data as $user) <div class="col-lg-3"> <div class="user-profile"> <img src="{{ (asset('public/uploads/profile/'.$user->profile_picture) !='')? asset('public/uploads/profile/'.$user->profile_picture) : asset('public/theme/saintsaccessories/images/user_profile_picture.jpg') }}" alt=""> <h4>{{ $user->name }} <sup style="font-size:8px;" > @if ($user->user_type === 'customer') (Candidate) @else ({{ $user->user_type }}) @endif</sup> </h4> <a href="{{ url('user-profile/'.$user->id) }}">View Profile</a> </div> </div> @endforeach--}} </div> </div> </section> <!-- User profiles Section Start --> @endsection @section('js-script') <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/> <script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script> <script> $(".test-slide").slick({ slidesToShow: 1, slidesToScroll: 1, autoplay: true, autoplaySpeed: 2000, centerMode: true, centerPadding: "350px", dots: false, arrows: false, }); </script> @endsection