⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
storage
/
framework
/
views
/
View File Name :
52df7f95d2ae35308cec978402efbaca.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Manage Interview Schedule')); ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('css-page'); ?> <?php $__env->stopPush(); ?> <?php $setting = \App\Models\Utility::settings(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Dashboard')); ?></a></li> <li class="breadcrumb-item"><?php echo e(__('Interview Schedule')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-btn'); ?> <div class="float-end"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create interview schedule')): ?> <a href="#" data-url="<?php echo e(route('interview-schedule.create')); ?>" data-bs-toggle="tooltip" title="<?php echo e(__('Create')); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Create New Interview Schedule')); ?>" class="btn btn-sm btn-primary"> <i class="ti ti-plus"></i> </a> <?php endif; ?> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-8"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6"> <h5><?php echo e(__('Calendar')); ?></h5> </div> <div class="col-lg-6"> <?php if(isset($setting['google_calendar_enable']) && $setting['google_calendar_enable'] == 'on'): ?> <select class="form-control" name="calender_type" id="calender_type" onchange="get_data()"> <option value="goggle_calender"><?php echo e(__('Google Calender')); ?></option> <option value="local_calender" selected="true"><?php echo e(__('Local Calender')); ?></option> </select> <?php endif; ?> <input type="hidden" id="interview_calendar" value="<?php echo e(url('/')); ?>"> </div> </div> </div> <div class="card-body"> <div id='calendar' class='calendar'></div> </div> </div> </div> <div class="col-lg-4"> <div class="card"> <div class="card-body"> <h4 class="mb-4"><?php echo e(__('Schedule List')); ?></h4> <ul class="event-cards list-group list-group-flush mt-3 w-100"> <li class="list-group-item card mb-3"> <div class="row align-items-center justify-content-between"> <div class=" align-items-center"> <?php if(!$schedules->isEmpty()): ?> <?php $__currentLoopData = $schedules; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $schedule): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="card mb-3 border shadow-none"> <div class="px-3"> <div class="row align-items-center"> <div class="col ml-n2"> <h5 class="text-sm mb-0"> <a href="#!"><?php echo e(!empty($schedule->applications) ? !empty($schedule->applications->jobs) ? $schedule->applications->jobs->title : '' : ''); ?></a> </h5> <p class="card-text small text-muted"> <?php echo e(!empty($schedule->applications)?$schedule->applications->name:''); ?> </p> <p class="card-text small text-muted"> <?php echo e(\Auth::user()->dateFormat($schedule->date).' '. \Auth::user()->timeFormat($schedule->time)); ?> </p> </div> <div class="col-auto text-right"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit interview schedule')): ?> <div class="action-btn bg-primary ms-2"> <a href="#" data-url="<?php echo e(route('interview-schedule.edit',$schedule->id)); ?>" data-title="<?php echo e(__('Edit Interview Schedule')); ?>" data-ajax-popup="true" class="mx-3 btn btn-sm align-items-center" data-bs-toggle="tooltip" title="<?php echo e(__('Edit')); ?>" data-original-title="<?php echo e(__('Edit')); ?>"><i class="ti ti-pencil text-white"></i></a> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('delete interview schedule')): ?> <div class="action-btn bg-danger ms-2"> <?php echo Form::open(['method' => 'DELETE', 'route' => ['interview-schedule.destroy', $schedule->id],'id'=>'delete-form-'.$schedule->id]); ?> <a href="#" class="mx-3 btn btn-sm align-items-center bs-pass-para" data-bs-toggle="tooltip" title="<?php echo e(__('Delete')); ?>" data-original-title="<?php echo e(__('Delete')); ?>" data-confirm="<?php echo e(__('Are You Sure?').'|'.__('This action can not be undone. Do you want to continue?')); ?>" data-confirm-yes="document.getElementById('delete-form-<?php echo e($schedule->id); ?>').submit();"><i class="ti ti-trash text-white"></i></a> <?php echo Form::close(); ?> </div> <?php endif; ?> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <div class="text-center"> <?php echo e(__('No Interview Scheduled!')); ?> </div> <?php endif; ?> </div> </div> </li> </ul> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script-page'); ?> <script src="<?php echo e(asset('assets/js/plugins/main.min.js')); ?>"></script> <script type="text/javascript"> $(document).ready(function() { get_data(); }); function get_data() { var calender_type=$('#calender_type :selected').val(); $('#calendar').removeClass('local_calender'); $('#calendar').removeClass('goggle_calender'); if(calender_type==undefined){ $('#calendar').addClass('local_calender'); } $('#calendar').addClass(calender_type); $.ajax({ url: $("#interview_calendar").val()+"/interview-schedule/get_interview_data" , method:"POST", data: {"_token": "<?php echo e(csrf_token()); ?>",'calender_type':calender_type}, success: function(data) { // console.log(data); (function () { var etitle; var etype; var etypeclass; var calendar = new FullCalendar.Calendar(document.getElementById('calendar'), { headerToolbar: { left: 'prev,next today', center: 'title', right: 'timeGridDay,timeGridWeek,dayGridMonth' }, buttonText: { timeGridDay: "<?php echo e(__('Day')); ?>", timeGridWeek: "<?php echo e(__('Week')); ?>", dayGridMonth: "<?php echo e(__('Month')); ?>" }, slotLabelFormat: { hour: '2-digit', minute: '2-digit', hour12: false, }, themeSystem: 'bootstrap', // slotDuration: '00:10:00', allDaySlot:false, navLinks: true, droppable: true, selectable: true, selectMirror: true, editable: true, dayMaxEvents: true, handleWindowResize: true, height: 'auto', timeFormat: 'H(:mm)', events: data, }); calendar.render(); })(); } }); } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/resources/views/interviewSchedule/index.blade.php ENDPATH**/ ?>