

<?php $__env->startSection('content'); ?>
    <?php if(isset($error)) { ?>
    <div class="row justify-content-center ins-seven">
        <div class="col-md-6">
            <div class="alert alert-danger">
                <strong><?php echo e($error); ?></strong>
            </div>
        </div>
    </div>
    <?php } ?>
    <div class="row justify-content-center ins-two">
        <div class="col-md-6">
            <div class="card">
                <div class="card-body">
                    <div class="panel panel-default ins-three" data-collapsed="0">
                        <!-- panel body -->
                        <div class="panel-body ins-four">
                            <p class="ins-four">
                                <strong><?php echo e(__('Your database is successfully connected')); ?></strong>. <?php echo e(__('All you need to do now is hit the ')); ?>

                                <strong><?php echo e(__("'Install'")); ?></strong> <?php echo e(__('button')); ?>.
                                <?php echo e(__('The auto installer will run a sql file, will do all the tiresome works and set up your application automatically.')); ?>'
                            </p>
                            <br>
                            <div class="row">
                                <div class="col-md-12">
                                    <button type="button" id="install_button" class="btn btn-primary">
                                        <?php echo e(__('Install')); ?>

                                    </button>
                                    <div id="loader" class="ins-seven mt-2">
                                        <?php echo e(__('Importing database....')); ?>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        "use strict";

        $(document).ready(function() {
            $('#loader').hide();
            $('#install_button').on('click', function() {
                $('#loader').fadeIn();
                setTimeout(
                    function() {
                        window.location.href = "<?php echo e(route('confirm_install')); ?>";
                    }, 5000);
            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('install.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\MAMP\htdocs\1.11academy-laravel\1.11\Academy-LMS\resources\views/install/install.blade.php ENDPATH**/ ?>