관리-도구
편집 파일: db041bac94c614ab3c0244491d767699ab82fb30.php
<?php $user = App\User::all() ?> <?php use App\Http\Controllers\EmployeRoundtableRequestController; $spottedCandidates = EmployeRoundtableRequestController::show(); ?> <style> .best-company { background:#fff !important; padding: 30px 0px 49px 0px !important; } .best-cart h6::before,.best-cart h6::after,.shop.single h6::before, .shop.single h6::after {height: 0px !important;} .shop.single .ratting-main{} .shop.single .avg-ratting { margin-bottom: 20px; } .shop.single .avg-ratting h4 { font-size: 18px; margin: 0; } .shop.single .avg-ratting h4 span{ font-size:14px; } .shop.single .single-rating { margin-bottom: 20px; } .shop.single .single-rating:last-child{ margin:0; border:none; padding:0; } .shop.single .rating-author { float: left; margin-right: 10px; padding: 20px; padding-right: 10px; } .shop.single .rating-author img { width: 60px; border-radius: 100%; height: 60px; } .shop.single .rating-des { padding-left: 72px; background: #f9f8f8; padding: 17px 20px 17px 107px; } .shop.single .rating-des .ratings { margin: 0; } .shop.single .rating-des h6 { font-size: 14px; font-weight: 600; line-height: 18px; } .shop.single .ratting-main .single-rating ul{} .shop.single .ratting-main .single-rating ul li{ display:inline-block; } .shop.single .ratting-main .single-rating ul li i{ color:var(--primary-color); font-size:14px; } .shop.single .review-inner label { display: inline-block; margin: 0 5px 0 0; } .shop.single .review-inner .ratings { overflow: visible; display: inline-block; margin: 0; } .shop.single .review-inner .ratings ul{ display:inline-block; } .shop.single .ratting-main .single-rating ul { display: inline-block; margin-right: 5px; } .shop.single .ratings .rate-count { display: inline-block; color: #666; font-size: 13px; } .shop.single .comment-review { margin-bottom: 30px; } .shop.single .comment-review .add-review{ margin-top:30px; } .shop.single .comment-review .add-review h5{ font-size: 18px; font-weight: 600; margin-bottom: 7px; } .shop.single .comment-review .add-review p{ color:#333; } .shop.single .comment-review h4 { font-size: 15px; font-weight: 600; margin-bottom: 7px; margin-top:20px; } .shop.single .comment-review .review-inner{ margin-bottom:15px; display:block; } .shop.single .comment-review .rating li { display:inline-block; } .shop.single .comment-review .rating li i{ color:var(--primary-color); font-size: 14px; } .shop.single .rating-des p{ margin-top:5px; } .shop.single .avg-ratting h4 { font-size: 20px; color: #333; } .shop.single .avg-ratting{} .shop.single .form .form-group input { width: 100%; height: 45px; padding: 10px 20px; background: #fff; border: 1px solid #ddd; resize: none; border-radius: 0; color: #333; } .shop.single .form .form-group button { border: none; padding: 15px 50px; } .shop.single .form .form-group textarea { width: 100%; height:200px; border:1px solid #ddd; resize:none; border-radius:0; color:#333; padding: 10px 15px; } .shop.single .form .form-group label { color: #333; position: relative; } .shop.single .form .form-group label span { color: #ff2c18; display: inline-block; position: absolute; right: -12px; top: 4px; font-size: 16px; } .shop.single .review-panel{ margin-top:35px; } .reserveseatBtn{ cursor:pointer; color:blue !important; } a.update_jobs_btn { right: 215px !important; } #toast { visibility: hidden; min-width: 250px; margin-left: -125px; background-color: #333; color: #fff; text-align: center; border-radius: 2px; padding: 16px; position: fixed; z-index: 1; left: 50%; bottom: 30px; font-size: 17px; } /* Show the toast with animation */ #toast.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; animation: fadein 0.5s, fadeout 0.5s 2.5s; } @-webkit-keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} } @keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} } @-webkit-keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} } @keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} } /* .job_post {*/ /* position: relative;*/ /*}*/ .copyUrl a { position: absolute; right: 30px; color: black; top: 2px; border: 1px solid; box-shadow: inset 0 0 0px 0px black; padding: 7px 24px; text-transform: uppercase; border-radius: 30px; } .job_persons_list .d-flex { position: relative; } .copyUrl a:hover {box-shadow: inset 0 0 0px 2px black;} ul.ct-appliers { position: absolute; background: white; z-index: 999; height: 310px; top: 42px; left: 0px; border: 1px solid #333; padding: 19px; width: 560px; overflow: auto; cursor: auto; opacity: 0; visibility: hidden; transition: all .300s ease-in-out; } a.appliers-btn { right: 379px !important; } ul.ct-appliers li { padding: 0 0 31px 0; } a.appliers-btn:hover ul.ct-appliers { opacity: 1; visibility: visible; } </style> <?php use App\Models\Jobpost; ?> <?php $__env->startSection('content'); ?> <div id="toast"></div> <section class="user_hero_sec"> <div class="container"> <div class="user_profile_main"> <div class="user_bg_image"><img class="img_Fluid" src="<?php echo e((asset('public/uploads/companybanners/'.$data->companybannerimage) !='')? asset('public/uploads/companybanners/'.$data->company_banner_image) : asset('public/theme/saintsaccessories/images/user_bg_img.jpg')); ?>" alt=""></div> <div class="user_profile_image"><img src="<?php echo e((asset('public/uploads/companyprofiles/'.$data->companyprofileimage) !='')? asset('public/uploads/companyprofiles/'.$data->company_profile_image) : asset('public/theme/saintsaccessories/images/user_profile_picture.jpg')); ?>" alt=""></div> <div class="user_info"> <h2 class="title"><?php echo e($data->company_name); ?></h2> <h6 class="subtitle"><?php echo e($data->company_tagline); ?></h6> <ul class="about_user_location" > <li><?php echo e($data->company_industry); ?></li> <li><?php echo e($data->city); ?></li> <!--<li>2,803 followers</li>--> <li><a href="#"><?php echo e($data->no_of_employees); ?> employees</a></li> </ul> <div class="follow_btn"> <a href="<?php echo e(url('/company-details/{id}')); ?>"><i class='bx bx-plus'></i>Update Profile</a> </div> </div> <div class="about_other_info_about_user"> <!-- Nav tabs --> <div class="tab-container"> <div class="tab active" onclick="showTab('tab1')">Home</div> <div class="tab" onclick="showTab('tab2')">About</div> <div class="tab" onclick="showTab('tab3')">Jobs</div> <!--<div class="tab" onclick="showTab('tab4')">Roundtable Interview Signup Form</div>--> </div> </div> </div> </div> </section> <section class="about_tabs_info"> <div class="container"> <div class="about_com"> <!-- Tab panes --> <div class="tab-content active" id="tab1"> <div class="about_content"> <div> <h3>About</h3> <p><?php echo e(substr($data->company_details,0,strlen($data->company_details)/2)); ?></p> <section class="best-company"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="best-company-txt"> <h2>Spotlight Candidates</h2> <p>These are our Spotlight candidates </p> </div> </div> <div class="col-lg-12 pr-0"> <table class="table"> <thead class="thead-dark"> <tr> <th scope="col">Date</th> <th scope="col">Time</th> <th scope="col">Position</th> <th scope="col">Name of candidate/Link</th> <th scope="col">Candidate Skill Highlights</th> <th scope="col">Register</th> </tr> </thead> <tbody> <?php $__currentLoopData = $spottedCandidates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <th scope="row"><?php echo e($user->created_at->format('Y-m-d')); ?></th> <td>2PM</td> <td><?php echo e($user->position_field); ?></td> <td><?php echo e($user->full_name); ?></td> <td> <?php $__currentLoopData = json_decode($user->skills); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $skill): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($skill != ''): ?> <?php if($loop->iteration > 1): ?> <?php echo e($skill); ?>, <?php else: ?> <?php echo e($skill); ?> <?php endif; ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> <td><a onclick="showTab('tab4')" class="reserveseatBtn">Reserve a seat at the table</a></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </section> <div class="company-reviews-rating pb-3"> <h2 class="mb-5" style="font-size:52px;">Company Reviews and Ratings</h2> <div> <?php use App\Entity\Product\Product; $product = Product::where('slug',$data->company_name)->first(); ?> <div class="shop single"> <?php if(isset($product) && $product != null): ?> <div class="" id="reviews" > <div class="tab-single review-panel"> <div class="row"> <div class="col-12"> <div class="ratting-main"> <div class="avg-ratting"> <h5><span class="total-reviews"><?php echo e($product->reviews->count()); ?></span> <?php echo e(_lang('Reviews for '.$data->company_name)); ?> <!--$product->translation->name--> </h5> </div> <?php if(\Session::has('success')): ?> <?php endif; ?> <?php $__currentLoopData = $product->reviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $review): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <!-- Single Rating --> <div class="single-rating"> <div class="rating-author"> <img src="<?php echo e(profile_picture($review->user->profile_picture)); ?>" alt="<?php echo e(_lang('Profile Picture')); ?>"> </div> <div class="rating-des"> <h6><?php echo e($review->user->name); ?></h6> <div class="ratings"> <ul class="rating"> <?php echo xss_clean(show_rating($review->rating)); ?> </ul> <div class="rate-count">(<span><?php echo e($review->rating); ?></span>)</div> </div> <p><?php echo e($review->comment); ?></p> </div> </div> <!--/ End Single Rating --> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <!-- Review --> <div class="comment-review"> <div class="add-review"> <h5><?php echo e(_lang('Add A Review')); ?></h5> <?php if(! auth()->check()): ?> <p><?php echo e(_lang('You need to login for writing a review.')); ?> <a href="<?php echo e(url('sign_in')); ?>" class="btn-link"><?php echo e(_lang('Login to your account')); ?></a></p> <?php endif; ?> </div> </div> <!--/ End Review --> <!-- Form --> <form class="form reviews-form" method="post" action="<?php echo e(route('reviews.store')); ?>"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-12 col-12"> <div class="form-group"> <label><?php echo e(_lang('Your Rating')); ?><span>*</span></label> <select class="ratng-bar" name="rating" rquired> <option value="1"><?php echo e(_lang('1')); ?></option> <option value="2"><?php echo e(_lang('2')); ?></option> <option value="3"><?php echo e(_lang('3')); ?></option> <option value="4"><?php echo e(_lang('4')); ?></option> <option value="5"><?php echo e(_lang('5')); ?></option> </select> </div> </div> <div class="col-lg-12 col-12"> <div class="form-group"> <label><?php echo e(_lang('Write a review')); ?><span>*</span></label> <textarea name="comment" rows="6" required="true" <?php echo e(! auth()->check() ? 'disabled' : ''); ?>></textarea> <input type="hidden" name="product_id" value="<?php echo e($product->id); ?>" /> </div> </div> <div class="col-lg-12 col-12"> <div class="form-group button5"> <?php if(Auth::check()): ?> <?php if(Auth::user()->name != $data->company_name): ?> <button type="submit" class="theme-btn p-2" <?php echo e(! auth()->check() ? 'disabled' : ''); ?>><?php echo e(_lang('Submit')); ?></button> <?php endif; ?> <?php endif; ?> </div> </div> </div> </form> <!--/ End Form --> </div> </div> </div> </div> <?php endif; ?> </div> </div> </div> <a href="#tab2" onclick="showTab('tab2')" class="ftr_btn">Show all details </a> </div> </div> </div> <div class="tab-content" id="tab2"> <div class="about_content"> <div> <h3>Overview</h3> <p><?php echo e($data->company_details); ?></p> <h6 class="subtitle">Industry</h6> <p><?php echo e($data->company_industry); ?></p> <h6 class="subtitle">Company size</h6> <p><?php echo e($data->no_of_employees); ?> employees</p> <h6 class="subtitle">Founded</h6> <p>2021</p> <h6 class="subtitle">Specialties</h6> <p>Strategy and Planning, Business Modeling, Marketing Consulting, Application Development & Design, Web Development & Design, HTML Development, Social Media Marketing, 2D and 3D Animation, SEO & SMM Marketing, Paid Marketing, Ghost Writing, and Academic Writing </p> </div> </div> </div> <div class="tab-content " id="tab3"> <div class="job_post"> <div class="d-flex"> <span><i class='bx bxs-briefcase'></i></span> <div><h2>Are you hiring?</h2><p>Attract qualified applicants by posting and showcasing jobs on your page.</p></div> </div> <div class="follow_btn"> <a href="<?php echo e(url('/post-job?company='.Auth::user()->companyprofile->company_name)); ?>"><i class='bx bx-plus'></i>Post a Job</a> </div> </div> <div class="job_post"> <div class="job_persons_list w-100"> <h2>All Jobs</h2> <?php $allJobs = Jobpost::where('company_name', Auth::user()->companyprofile->company_name)->with('applications.user')->get(); ?> <?php $__currentLoopData = $allJobs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $job): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="d-flex mt-3 w-100" style="border-bottom:1px solid beige"> <div> <img src="<?php echo e((asset('public/uploads/companyprofiles/'.$data->companyprofileimage) !='')? asset('public/uploads/companyprofiles/'.$data->company_profile_image) : asset('public/theme/saintsaccessories/images/user_profile_picture.jpg')); ?>" alt=""> </div> <div> <a href="<?php echo e(url('/company_detail/'.$job->id)); ?>"> <h2><?php echo e($job->job_title); ?></h2> </a> <p><?php echo e($job->company_name); ?></p> <p><?php echo e($job->created_at->format('Y-m-d')); ?> - <?php echo e($job->job_post_expiry_date); ?></p> </div> <div class="copyUrl"> <a href="<?php echo e(url('/company_detail/'.$job->id)); ?>" onclick="copyURL(event)">Copy Job URL</a> <a class="update_jobs_btn" href="<?php echo e(url('/jobs/'.$job->id.'/edit')); ?>">UPDATE JOB</a> <a class="update_jobs_btn appliers-btn" href="">See Who Applied <ul class="ct-appliers" > <?php $__empty_1 = true; $__currentLoopData = $job->applications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $application): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <li> <h2>Applier Name <?php echo e($loop->iteration); ?> : <?php echo e($application->user->name); ?></h2> <h2>Job Designation <?php echo e($loop->iteration); ?> : <?php echo e($application->name); ?></h2> <h2>Applier Email <?php echo e($loop->iteration); ?> : <?php echo e($application->user->email); ?></h2> <h2>Applier Phone <?php echo e($loop->iteration); ?> : <?php echo e($application->user->phone); ?></h2> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <li><h2>No applications found</h2></li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </a> </div> </div> </div> </div> </div> </div> </div> </section> <?php $__env->startSection('js-script'); ?> <script> function copyURL(event) { event.preventDefault(); // Prevent the default anchor click behavior var url = event.target.href; // Get the href attribute of the clicked anchor var tempInput = document.createElement('input'); // Create a temporary input element tempInput.value = url; document.body.appendChild(tempInput); tempInput.select(); tempInput.setSelectionRange(0, 99999); // For mobile devices document.execCommand("copy"); // Execute the copy command document.body.removeChild(tempInput); // Remove the temporary input element showToast("URL copied successfully!"); // Show toast notification } function showToast(message) { var toast = document.getElementById("toast"); toast.textContent = message; // Set the text of the toast toast.className = "show"; // Show the toast setTimeout(function(){ toast.className = toast.className.replace("show", ""); }, 3000); // Hide the toast after 3 seconds } </script> <script> function showTab(tabId) { // Hide all tab contents var tabContents = document.getElementsByClassName("tab-content"); for (var i = 0; i < tabContents.length; i++) { tabContents[i].classList.remove("active"); } // Show the selected tab content var selectedTab = document.getElementById(tabId); selectedTab.classList.add("active"); // Highlight the active tab var tabs = document.getElementsByClassName("tab"); for (var j = 0; j < tabs.length; j++) { tabs[j].classList.remove("active"); } event.target.classList.add("active"); } </script> <?php $__env->stopSection(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('theme.saintsaccessories.websiteEcom', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eraas/public_html/resources/views/theme/saintsaccessories/employe_profile.blade.php ENDPATH**/ ?>