<?= $this->extend('Modules\Admin\Views\index'); ?>
<?= $this->section('content'); ?>
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            <div>
                <?php if(session()->getTempdata('error')):?>
                <div class="alert alert-danger">  <?= session()->getTempdata('error');?></div>
                <?php endif;?>
                <?php if(session()->getTempdata('success')):?>
                <div class="alert alert-success">  <?= session()->getTempdata('success');?></div>
                <?php endif;?>
                        <?php if(session()->getTempdata('warning')):?>
                <div class="alert alert-warning">  <?= session()->getTempdata('warning');?></div>
                <?php endif;?> 					
            </div>
            <?php if(isset($validation)): ?>
                <div class="alert alert-danger">
                    <?= $validation->listErrors()?>
                </div>
            <?php endif;?>
            <!-- End of Notification Messages !-->

    <div class="d-md-flex align-items-start  mb-3 mt-3">
        <div class="nav flex-column nav-pills me-3 col-lg-2 col-md-2 col-12 align-items-start" >
            <ul class="btabs nav nav-tabs" id="myTab">
                <!-- Account Settings !-->
                <li class="nav-item">
                    <a href="#v-pills-forests"  class="nav-link active" data-bs-toggle="tab">Forests</a>
                </li><!-- Forests!-->
                <li class="nav-item">
                    <a href="#v-pills-activity"  class="nav-link" data-bs-toggle="tab">Activities</a>
                </li><!-- Activities !-->
				<li class="nav-item">
                    <a href="#v-pills-methodo"  class="nav-link" data-bs-toggle="tab">Methodologies</a>
                </li><!-- Methologies !-->
                <li class="nav-item">
                    <a href="#v-pills-gases"  class="nav-link" data-bs-toggle="tab">Gases</a>
                </li><!-- Gases !-->
                <li class="nav-item">
                    <a href="#v-pills-pools" class="nav-link" data-bs-toggle="tab">Carbon Pools</a>
                </li><!-- Carbon pools !-->
				<li class="nav-item">
                    <a href="#v-pills-entity" class="nav-link" data-bs-toggle="tab">Entity Types</a>
                </li><!-- Entity Types !-->
                <li class="nav-item">
                    <a href="#v-pills-protype" class="nav-link" data-bs-toggle="tab">Project Types</a>
                </li><!-- Project Types !-->
                <li class="nav-item">
                    <a href="#v-pills-prostatus" class="nav-link" data-bs-toggle="tab">Project Status</a>
                </li><!-- Project Status !-->
            </ul>
        </div><!-- Tab Buttons !-->
        <div class="tab-content mb-3 col-lg-10 col-md-10 col-12" >
            <div id="v-pills-forests" class="tab-pane fade show active">
                <?= view('Modules\Redd\Views\settings\partials\forests-tab') ?>
            </div><!-- Forests !-->
            <div id="v-pills-activity" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\activity-tab') ?>
            </div><!-- Activities !-->
            <div id="v-pills-methodo" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\methodologies-tab') ?>
            </div><!-- Methodologies !-->
            <div id="v-pills-gases" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\gases-tab') ?>
            </div><!-- Gases !-->
			<div id="v-pills-pools" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\carbon-pools-tab') ?>
            </div><!-- Carbon Pools !-->
            <div id="v-pills-entity" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\entity-types-tab') ?>
            </div><!-- Entity Types !-->
            <div id="v-pills-protype" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\project-types-tab') ?>
            </div><!-- Project Types !-->
            <div id="v-pills-prostatus" class="tab-pane fade">
                <?= view('Modules\Redd\Views\settings\partials\project-status-tab') ?>
            </div><!-- Project Status !-->
         </div><!-- Tab Content !-->
    </div><!-- Tabs Btn & Content !-->
        </div><!-- col !-->
    </div><!-- Row !-->
</div><!-- container !-->

<!-- Modal !-->
<?= view('Modules\Redd\Views\\settings\\modals\\forest-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\activity-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\methodologies-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\gas-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\carbonpool-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\entity-type-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\project-type-modal') ?>
<?= view('Modules\Redd\Views\\settings\\modals\\project-status-modal') ?>
<script>
    $(document).ready(function () {
          $('#perm-list').DataTable();
      });

</script>
<script src="<?= base_url();?>assets/js/modules/redd-settings.js"></script>
<script src="<?= base_url();?>assets/js/countryselection.js"></script>

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