Viewing file: b621691388ca06ca6080ec4b886d1e46b6f635c5.php (6.16 KB) -rwxrwxr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.addon')); ?>
<?php $__env->startSection('css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?> <div class="row page-titles mx-0"> <div class="col-sm-6 p-md-0"> <div class="welcome-text"> <h4><?php echo e(trans('layout.addon')); ?></h4> <p class="mb-0"></p> </div> </div> <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#"><?php echo e(trans('layout.home')); ?></a></li> <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.addon')); ?></a></li> </ol> </div> </div> <!-- row -->
<div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo e(trans('layout.list')); ?></h4> <div class="pull-right"> <a href="<?php echo e(route('addon.import')); ?>" class="btn btn-sm btn-primary"><?php echo e(trans('layout.import')); ?></a> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-responsive-md"> <thead class="text-center"> <tr> <th><strong><?php echo e(trans('layout.name')); ?></strong></th> <th><strong><?php echo e(trans('layout.status')); ?></strong></th> <th><strong><?php echo e(trans('layout.action')); ?></strong></th> </tr> </thead> <tbody class="text-center"> <?php if($modules): ?> <?php $__currentLoopData = $modules; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $module): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($module['name']); ?></td> <td> <?php if($module['status']=='true'): ?> <span class="badge light badge-success"><?php echo e(trans('layout.enable')); ?></span> <?php else: ?> <span class="badge light badge-warning"><?php echo e(trans('layout.disable')); ?></span> <?php endif; ?> </td> <td> <?php if($module['status']=='true'): ?> <button class="btn btn-sm btn-danger" type="button" data-message="<?php echo e(trans('layout.message.are_you_sure_you_want_to_disable_this_module')); ?>" data-action='<?php echo e(route('addon.changeStatus')); ?>' data-input={"_method":"post","name":"<?php echo e($module['name']); ?>","status":"disable"} data-toggle="modal" data-target="#modal-confirm"><?php echo e(trans('layout.disable')); ?></button> <?php else: ?> <button class="btn btn-info btn-sm " type="button" data-message="<?php echo e(trans('layout.message.are_you_sure_you_want_to_enable_this_module')); ?>" data-action='<?php echo e(route('addon.changeStatus')); ?>' data-input={"_method":"post","name":"<?php echo e($module['name']); ?>","status":"enable"} data-toggle="modal" data-target="#modal-confirm"><?php echo e(trans('layout.enable')); ?></button> <?php endif; ?> </td> <td> <button class="btn btn-info btn-sm " type="button" data-message="<?php echo e(trans('layout.message.are_you_sure_you_want_to_uninstall_this_module')); ?>" data-action='<?php echo e(route('addon.uninstall')); ?>' data-input={"_method":"post","name":"<?php echo e($module['name']); ?>"} data-toggle="modal" data-target="#modal-confirm"><?php echo e(trans('layout.uninstall')); ?></button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/resources/views/addon/index.blade.php ENDPATH**/ ?>
|