<!doctype html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Favicons -->
    <link href="<?= base_url() ?>assets/favicon.png" rel="icon">
    <link href="<?= base_url() ?>assets/apple-touch-icon.png" rel="apple-touch-icon">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="<?= base_url() ?>assets/backend/vendor/bootstrap/css/bootstrap.min.css">
    <link href="<?= base_url() ?>assets/backend/vendor/fonts/circular-std/style.css" rel="stylesheet">
    <link rel="stylesheet" href="<?= base_url() ?>assets/backend/libs/css/style.css">
    <link rel="stylesheet" href="<?= base_url() ?>assets/backend/vendor/fonts/fontawesome/css/fontawesome-all.css">
    <?= $this->renderSection('css'); ?>
    <?= $this->renderSection('styles'); ?>
    <title><?= $this->renderSection('title'); ?></title>
</head>

<body>

    <div class="dashboard-main-wrapper">

        <div class="dashboard-header">
            <?php include('nav.php'); ?>
        </div>

        <div class="nav-left-sidebar sidebar-dark">
            <?php include('left_menu.php'); ?>
        </div>

        <div class="dashboard-wrapper">
            <div class="dashboard-ecommerce">
                <?= $this->renderSection('content'); ?>
            </div>

            <div class="footer">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                            Dashboards by <a href="https://tektek.co.tz">TekTek Solutions</a>.
                        </div>

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

        </div>

    </div>

    <script src="<?= base_url() ?>assets/common/js/jquery.min.js"></script>
    <script src="<?= base_url() ?>assets/backend/vendor/bootstrap/js/bootstrap.bundle.js"></script>
    <script src="<?= base_url() ?>assets/backend/vendor/slimscroll/jquery.slimscroll.js"></script>
    <script src="<?= base_url() ?>assets/backend/libs/js/main-js.js"></script>
    <?= $this->renderSection('js'); ?>

    <script>
        $("#alert")
            .delay(1000)
            .fadeTo(2000, 500)
            .slideUp(500, function() {
                $(this).slideUp(500);
            });
    </script>

    <?= $this->renderSection('scripts'); ?>
</body>

</html>