⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
cd20b7c76ff779a541303ae45cceba82.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Manage Task Stages')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-action'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div id="task-stages-settings" class="row"> <div class="col-sm-3"> <?php echo $__env->make('taskly::layouts.system_setup', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <div class="col-md-9"> <div class="card task-stages" data-value="<?php echo e(json_encode($stages)); ?>"> <div class="card-header"> <div class="row"> <div class="col-11"> <h5 class=""> <?php echo e(__('Task Stages')); ?> </h5> <small class=""><?php echo e(__('System will consider the last stage as a completed / done project or task status.')); ?></small> </div> <div class="col-1 text-end"> <?php if (app('laratrust')->hasPermission('taskstage manage')) : ?> <button data-repeater-create type="button" class="btn-submit btn btn-sm btn-primary btn-icon " data-bs-toggle="tooltip" title="<?php echo e(__('Add')); ?>"> <i class="ti ti-plus"></i> </button> <?php endif; // app('laratrust')->permission ?> </div> </div> </div> <div class="card-body"> <form method="post" action="<?php echo e(route('stages.store')); ?>"> <?php echo csrf_field(); ?> <table class="table table-hover" data-repeater-list="stages"> <thead> <th> <div data-toggle="tooltip" data-placement="left" data-title="<?php echo e(__('Drag Stage to Change Order')); ?>" data-original-title="" title=""> <i class="fas fa-crosshairs"></i> </div> </th> <th><?php echo e(__('Color')); ?></th> <th><?php echo e(__('Name')); ?></th> <?php if (app('laratrust')->hasPermission('taskstage delete')) : ?> <th class="text-right"><?php echo e(__('Action')); ?></th> <?php endif; // app('laratrust')->permission ?> </thead> <tbody> <tr data-repeater-item> <td><i class="fas fa-crosshairs sort-handler"></i></td> <td> <input type="color" name="color"> </td> <td> <input type="hidden" name="id" id="id" /> <input type="text" name="name" class="form-control mb-0" placeholder="Enter Name" <?php if(!auth()->user()->isAbleTo('taskstage edit')): ?> readonly <?php endif; ?> required /> </td> <?php if (app('laratrust')->hasPermission('taskstage delete')) : ?> <td class="text-right "> <a data-repeater-delete class=" action-btn btn-danger btn btn-sm d-inline-flex align-items-center" data-toggle="tooltip" title="<?php echo e(__('Delete')); ?>"><i class="ti ti-trash text-white"></i></a> </td> <?php endif; // app('laratrust')->permission ?> </tr> </tbody> </table> <?php if (app('laratrust')->hasPermission('taskstage manage')) : ?> <?php endif; // app('laratrust')->permission ?> <div class="row"> <div class="text-sm col-6 pt-2"> <?php echo e(__('Note : You can easily change order of Task stage using drag & drop.')); ?> </div> <div class="col-6 text-end pt-2"> <button class="btn-submit btn btn-primary" type="submit"><?php echo e(__('Save Changes')); ?></button> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script src="<?php echo e(asset('packages/workdo/Taskly/src/Resources/assets/js/jquery-ui.min.js')); ?>"></script> <script src="<?php echo e(asset('packages/workdo/Taskly/src/Resources/assets/js/repeater.js')); ?>"></script> <script src="<?php echo e(asset('packages/workdo/Taskly/src/Resources/assets/js/colorPick.js')); ?>"></script> <script src="<?php echo e(asset('assets/js/pages/wow.min.js')); ?>"></script> <script> var scrollSpy = new bootstrap.ScrollSpy(document.body, { target: '#useradd-sidenav', offset: 300 }) </script> <script> $(document).ready(function () { var $dragAndDrop = $("body .task-stages tbody").sortable({ handle: '.sort-handler' }); var $repeater = $('.task-stages').repeater({ initEmpty: true, defaultValues: {}, show: function () { $(this).slideDown(); }, hide: function (deleteElement) { if (confirm('<?php echo e(__('Are you sure ?')); ?>')) { $(this).slideUp(deleteElement); } }, ready: function (setIndexes) { $dragAndDrop.on('drop', setIndexes); }, isFirstItemUndeletable: true }); var value = $(".task-stages").attr('data-value'); if (typeof value != 'undefined' && value.length != 0) { value = JSON.parse(value); $repeater.setList(value); } var type = window.location.hash.substr(1); $('.list-group-item').removeClass('active'); $('.list-group-item').removeClass('text-primary'); if (type != '') { $('a[href="#' + type + '"]').addClass('active').removeClass('text-primary'); } else { $('.list-group-item:eq(0)').addClass('active').removeClass('text-primary'); } }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Taskly/src/Providers/../Resources/views/stages/task_stage.blade.php ENDPATH**/ ?>