<?php

$page_name='UM_DASHBOARD';

?>





<?php $__env->startSection('badcome'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('dynamic_css'); ?>
<style>
	@media (max-width: 768px)
	{
		.col {
			-ms-flex-preferred-size: 0;
			flex-basis:auto;
			-webkit-box-flex: 1;
			-ms-flex-positive: 1;
			flex-grow: 1;
			max-width: 100%;
		}
	}
    
    .card_hover .card {
       border: 0px solid white;
    }
    .card_hover .card {
       border-top: 3px solid white;
    }
</style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="container">
  
    <div class="row mb5 container_layout card_hover">
		

        
<!--    <div class="col-md-12 mobile_view">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item">
                        <a href="<?php echo e(route('adminhome')); ?>">
                            <i class="material-icons">home</i>
                        </a>
                    </li>
                    <li class="breadcrumb-item active"><a href="<?php echo e(route('employees')); ?>">Employees</a></li>
                </ol>
            </nav>
    </div>-->
		
    <div class="col-md-12 text-right" id="programs_div">
		<?php $__currentLoopData = $program_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $li): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
			<?php
				if($li['program_id']==1){
					$progam_style="orange";
				}elseif ($li['program_id']==2){
					$progam_style="blue";
				}elseif($li['program_id']==3){
					$progam_style="red";
				}elseif ($li['program_id']==4){
					$progam_style="green";
				}elseif ($li['program_id']==5){
					$progam_style="brown";
				}
			?>
				<span style="font-size: 12px" class="mr5"><i class="fa fa-circle" style="color: <?php echo e($progam_style); ?>;"></i> <?php echo e($li['program_name']); ?></span>
		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
	</div>
  <?php
	 $i=1;
  ?>
  <?php $__currentLoopData = $program_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $programe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
				<?php
				if($programe['program_id']==1){
					$progam_style="orange";
				}elseif($programe['program_id']==2){
					$progam_style="blue";
				}elseif($programe['program_id']==3){
					$progam_style="red";
				}elseif ($programe['program_id']==4){
					$progam_style="green";
				}elseif ($programe['program_id']==5){
					$progam_style="brown";
				}
			?>
	
        <div class=" <?php if($i>4): ?> <?php echo e('col-sm-3'); ?> <?php else: ?> <?php echo e('col-sm-3'); ?> <?php endif; ?> card_row">
			
            <div class="card animated zoomIn" style="border-color:<?php echo e($progam_style); ?>;">
                <div class="card-body" style="padding:5px 5px 15px 5px;"> 
					
                        <div class="text-center" style="padding: 25px 20px 0px 20px;">
                             <img src="<?php echo e(asset('media/icons/people.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                        </div>
					
                        <div class="text-center" style="width: 100%;padding: 5px;margin-top: 5px;font-size: 14px;font-variant: petite-caps;">
                            <?php echo e($programe['program_name']); ?>

                        </div>
					    <div class="text-center" style="width: 100%;padding: 5px;margin-top:0px;font-size: 12px;font-variant: petite-caps;">
                            <span style="width: 100%;">Total: <?php echo e($programe['total_employee']); ?></span><br>
							
							<span style="width: 100%;">In Service : <?php echo e($programe['active_employee']); ?></span>
                        </div>
                </div>
            </div>
        </div>

   <?php
    $i++;
  ?>
   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
    </div>
  
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>