<?= $this->extend('Modules\Admin\Views\index'); ?>
<?= $this->section('content');?>
<div class="container-fluid">
<div class="row mb-md-3">
	<div class="col">
		<h4>Dashboard</h4>
		<!-- Breadcrumb !-->
		<nav aria-label="breadcrumb"><small>
			<ol class="breadcrumb mb-0">
				<li class="breadcrumb-item"><a href="<?= base_url('administrator') ?> ">Home</a></li>
				<li class="breadcrumb-item active" aria-current="page"><?= esc($bcrumb) ?> </li>
			</ol></small>
		</nav>
		<!-- End Breadcrumb !-->
	</div>
</div>
<!-- Menu Types ADD/EDIT/DELETE/Detailed List !-->
<div class="row">
    <div class="col">
		<!-- print success message !-->
		<?php if(session()->getTempdata('success')): ?>
			<div class="alert alert-success" role="alert"><?= session()->getTempdata('success');?></div>
		<?php endif;?>
		<!-- print failure message !-->
		<?php if(session()->getTempdata('error')): ?>
			<div class="alert alert-danger" role="alert"><?= session()->getTempdata('error');?></div>
		<?php endif;?>
        <div id="showMsg"></div>
</div></div>
<!-- Sliders Dashboard !-->
<div class="card card-body border border-0 col-lg-6">
    <h4 class="mb-3">Slider Dashboard</h4>
    <div class="row ">
        <div class="col mb-3">
            <a href="<?= base_url('administrator/sliders/categories');?>" title="Categories">
            <div class="card card-body align-items-center">
                <img src="<?= base_url('assets/images/icons/icon-48-category.png')?>" alt="Categories" width="48px" class="img-fluid">
                <span>Categories</span>
            </div>
            </a>
        </div>
        <div class="col mb-3">
            <a href="<?= base_url('administrator/sliders/all');?>" title="Sliders">
            <div class="card card-body align-items-center">
                <img src="<?= base_url('assets/images/icons/icon-48-slides.png')?>" alt="Sliders" width="48px" class="img-fluid">
                <span>Sliders</span>
            </div>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="col mb-3">
            <a href="<?= base_url('administrator/sliders/categories');?>" title="Categories">
            <div class="card card-body align-items-center">
                <img src="<?= base_url('assets/images/icons/icon-48-category-add.png')?>" alt="Add Category" width="48px" class="img-fluid">
                <span>Add Category</span>
            </div>
            </a>
        </div>
        <div class="col mb-3">
            <a href="<?= base_url('administrator/sliders/add');?>" title="Add Slider">
            <div class="card card-body align-items-center">
                <img src="<?= base_url('assets/images/icons/icon-48-slide-add.png')?>" alt="Add Slider" width="48px" class="img-fluid">
                <span>Add Slider</span>
            </div>
            </a>
        </div>
    </div>
</div>
<!-- Modals !-->

<!---- JS --->  
 
<?= $this->endSection();?>