<?php $__env->startSection('head'); ?>
<?php echo $__env->make('layouts.main.headersection',[
   'title'=> __('Module List'),
   'buttons'=>[
      [
         'name'=>__('Upload new module'),
         'url'=>route('admin.modules.create'),
      ]
   ]
   ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
	<?php $__currentLoopData = $modules_nodes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $modules_node): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	<div class="col-xl-4 col-md-6">
         <div class="card  border-0">
            <!-- Card body -->
            <div class="card-body">
               <div class="row">
                  <div class="col">
                     <h5 class="card-title text-uppercase text-muted mb-0 text-dark"><?php echo e($modules_node->name ?? ''); ?></h5>
                     <div class="mt-3 mb-0">
                     	<?php if($modules_node->description != null): ?>
                        <span class="pt-2 text-dark" ><?php echo e(__('Description :')); ?> 
                          <?php echo e($modules_node->description ?? ''); ?>                       
                        </span>	  <br>
                        <?php endif; ?>
                        <span class="pt-2 text-dark"><?php echo e(__('Type :')); ?> 
                          <?php echo e($modules_node->module_type ?? ''); ?>                       
                        </span>	  
                        <br>
                         <span class="pt-2 "><?php echo e(__('Status:')); ?> 
                        	<span class="<?php echo e($modules_node->status == false ? 'text-danger' : 'text-success'); ?>">
                        	 <?php echo e($modules_node->status == true ? __('Active') : __('Disabled')); ?>

                        	 </span>
                        </span> 	
                        
                     </div>
                  </div>
                  <?php if($modules_node->status_updatable || $modules_node->module_key != null): ?>
                  <div class="col-auto">
                     <button type="button" class="btn btn-sm btn-neutral mr-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                     <i class="fas fa-ellipsis-h"></i>
                     </button>
                     <div class="dropdown-menu dropdown-menu-right">
                        <?php if($modules_node->status_updatable): ?>
                        <a class="dropdown-item has-icon action-confirm" href="#" data-action="<?php echo e(route('admin.modules.edit',$modules_node->modules_core_name)); ?>"><i class="fas fa-sync"></i><?php echo e($modules_node->status == true ? __('Disable It') : __('Enable It')); ?></a>                 
                        <?php endif; ?>
                        
                        <?php if($modules_node->module_key != null): ?>
                        <a class="dropdown-item has-icon " href="<?php echo e(route('admin.modules.versionview',$modules_node->modules_core_name)); ?>" ><i class="fi fi-rs-download"></i><?php echo e(__('Check Update')); ?></a>                      
                        <?php endif; ?>
                     </div>
                  </div>
                  <?php endif; ?>
               </div>
               <p class="mt-3 mb-0 text-sm">
                  
                  <span class="text-dark"><?php echo e(__('Version:')); ?> <span class="text-primary">V<?php echo e($modules_node->version ?? ''); ?>  </span></span>
                  
                 
               </p>
            </div>
         </div>
      </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Volumes/my-works/laravel/wasender-modules/resources/views/admin/modules/index.blade.php ENDPATH**/ ?>