<?php $__env->startSection('content'); ?>
<div class="container">
    <div>
            <b-card-group columns>
                <b-card
                class="statisticsCard"
                no-body
                border-variant="success">
                <a href="<?php echo e(route('backups')); ?>">
                    <b-card-header header-text-variant="white" header-bg-variant="success">
                        <i class="fas fa-chart-bar"></i> Failed Backups
                    </b-card-header>
                </a>
                <b-card-body>
                    <b-card-text class="mt-2">
                        <div class="d-flex justify-content-between">
                            <div>
                                <a class="d-flex align-items-center flex-column justify-content-between" href="<?php echo e(route('backups').'#/remaining'); ?>">
                                    <strong>Open</strong>
                                    <h4 class="mt-4"><?php echo e($backupCounts['remaining']); ?></h4>
                                </a>
                            </div>
                            <div>
                                <a class="d-flex align-items-center flex-column justify-content-between" href="<?php echo e(route('backups').'#/resolved'); ?>">
                                    <span class="d-flex flex-column align-items-center">
                                        <strong>Resolved</strong>
                                        <small>In the last 30 days</small>
                                    </span>
                                    <h4 style="margin-top: 0.3rem;"><?php echo e($backupCounts['resolved']); ?></h4>
                                </a>
                            </div>
                            <div>
                                <a class="d-flex align-items-center flex-column justify-content-between" href="<?php echo e(route('backups').'#/inprogress'); ?>">
                                    <strong>In Progress</strong>
                                    <h4 class="mt-4"><?php echo e($backupCounts['inprogress']); ?></h4>
                                </a>
                            </div>
                        </div>
                    </b-card-text>
                </b-card-body>
            </b-card>

   <client-ongoing-tasks></client-ongoing-tasks>

    <b-card
    no-body
    border-variant="primary">
    <b-card-header header-text-variant="white" header-bg-variant="primary">
        <i class="fas fa-users"></i> Logged in users
    </b-card-header>
    <b-card-body>
        <b-card-text>
            <ul class="list-unstyled mb-0">
                <?php $__currentLoopData = $loggedUsers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="mb-2 d-flex align-items-center"> <b-avatar variant="primary" text="<?php echo e(substr($user->firstname,0,1).substr($user->lastname,0,1)); ?>" class="mr-3"></b-avatar>
                    <span><?php echo e($user->firstname.' '.$user->lastname); ?></span></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </b-card-text>
        </b-card-body>
    </b-card>
</b-card-group>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app',['title' => 'Dashboard','icon' => 'fa-tachometer-alt'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/HAcp/resources/views/dashboard.blade.php ENDPATH**/ ?>