Viewing file: d07e6c3fcff838b2953f0f42409684d4.php (4.1 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Step Details <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <style> img.customer-image { width: 100%; height: 100%; } </style> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo app('translator')->get('Step Details'); ?></h2> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="customers" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('Step'); ?></th> <th><?php echo app('translator')->get('Created At'); ?></th> <th><?php echo app('translator')->get('admin.table.action'); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <div class="modal fade" id="customerImageModal" tabindex="-1" role="dialog" aria-labelledby="contactModalTitle" aria-hidden="true"> <div class="modal-dialog custom-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="contactModalTitle"><?php echo app('translator')->get('Image'); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="customer-img-sec"> <img src="" class="customer-image" alt="" id=""> </div> </div> </div> </div> </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('js/readmore.min.js')); ?>"></script>
<script> "use strict"; $('#customers').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('customer.get.all.step.details')); ?>', columns: [ { "data": "step" }, { "data": "created_at" }, { "data": "action" }, ] });
$(document).on('click', '.customer-img-show', function (e) {
const image = $(this).attr('data-img');
$('.customer-image').attr('src', image);
$('#customerImageModal').modal('show'); }) </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/fitness.picotech.app/public_html/resources/views/customer/step_details/index.blade.php ENDPATH**/ ?>
|