<?php
$admin_common = session()->get('admin_common');
$modules = $admin_common->modules;
$reports = $admin_common->reports;
?>
<?php $__env->startSection('content'); ?>
    <!-- Dashboard Components -->

    <!-- Modules Start -->
    <div class="row">


        <div class="pull-right language-toggle">

        </div>
        <div class="col-md-12 col-sm-12 col-xs-12">

            <div>
                <!-- <section class="dash-tile abc">
                    <h1 class="mt0">
                        Modules
                    </h1>
                </section> -->
                <section class="abc">
                    <h1 class="mt0">
                    <button type="button" class="btn btn-success ccc">Modules</button>
                    </h1>
                </section>
            </div>
            <?php if($message = Session::get('error')): ?>
        <div class="alert alert-danger alert-block">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <strong><?php echo e($message); ?></strong>
        </div>
    <?php endif; ?>
        </div>


        <?php $__currentLoopData = $modules; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $module): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

            <a href="<?php echo asset($module['url']); ?>">
                <div class="col-md-3 col-sm-6 col-xs-12">
                    <section class="dash-tile bg-success modules">
                        <div class="tile-title">
                        </div>
                        <div class="tile-stats"><?php echo $module['title']; ?>

                        </div>
                        <div class="mb20"></div>
                        <div class="tile-footer">

                        </div>
                    </section>
                </div>
            </a>

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

    <!-- Modules end -->

    <!-- reports start -->
    <div class="row">


        <div class="col-md-12 col-sm-12 col-xs-12">
            <!-- <section class="dash-tile vvv">
                <h1 class="mt0">Reports</h1>
            </section> -->
            <section class="abc">
                    <h1 class="mt0">
                    <button type="button" class="btn btn-success ccc">Reports</button>
                    </h1>
                </section>
        </div>
        <?php $__currentLoopData = $reports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        
        <a href="<?php echo asset($report['url']); ?>">
                <div class="col-md-3 col-sm-6 col-xs-12">
                    <section class="dash-tile bg-warning modules">
                        <div class="tile-stats"><?php echo $report['title']; ?>

                        </div>
                        <br><br>
                    </section>
                </div>
            </a>

            <?php if(!($key+1 / 4)): ?>

    </div>
    <div class="row">
        <?php endif; ?>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <!-- reports end  -->

    <!-- Chart -->
    <section class="panel hidden-xs obody">
        <div class="panel-body">
            <div class="row">
                <div class="col-sm-12 mb25">
                </div>
                <div class="col-sm-4">
                    <h1 class="mt0">
                        
                    </h1>
                    
                    <!-- Chart here -->
























                    <!-- Chart here -->

                </div>
            </div>
        </div>
    </section>
    <!-- chart end -->

    <!-- Dashboard Components  end  -->


    <!-- build:js({.tmp,app}) scripts/app.min.js -->

    <script src="<?php echo e(asset('theme/vendor/jquery/dist/jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/bootstrap/dist/js/bootstrap.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/slimScroll/jquery.slimscroll.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/jquery.easing/jquery.easing.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/jquery_appear/jquery.appear.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/jquery.placeholder.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/fastclick/lib/fastclick.js')); ?>"></script>
    <!-- endbuild -->

    <!-- page level scripts -->
    <script src="<?php echo e(asset('theme/vendor/blockUI/jquery.blockUI.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/bower-jvectormap/jquery-jvectormap-1.2.2.min.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/data/maps/jquery-jvectormap-world-mill-en.js')); ?>"></script>
    <script src="<?php echo e(asset('theme/vendor/jquery.sparkline.js')); ?>"></script>

    <script src="<?php echo e(asset('theme/vendor/jquery-countTo/jquery.countTo.js')); ?>"></script>
   <!-- /page level scripts -->

    <!-- page script -->

    <!-- /page script -->

    <script>
        function lang_changed(){
            $('#lang').val('changed');
        }
    </script>


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

<?php echo $__env->make('layouts.default_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/demohatinco/public_html/medical2_backend/resources/views/layouts/default_dashboard.blade.php ENDPATH**/ ?>