<?php echo $__env->make('/partials/modalBulletinPromo', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->startSection('contenu'); ?>
    <section
        style="background-image: url('/img/bgclasse.png'); background-attachment: fixed; background-repeat: no-repeat; background-size: cover; min-height: 93.2vh"
        class="section p-0 mt-0 columns mx-0 mb-0 is-centered">
        <section class="section container column is-two-thirds">
            <section class="section is-link is-light pb-4">
                <h1 class="title is-1 is-size-3-touch has-text-centered has-text-white"><?php echo e($classe->libelle); ?>

                    (<?php echo e(request('promo')); ?>)</h1>
                <h1 class="subtitle is-6 has-text-centered has-text-white"><?php echo e($classe->type); ?></h1>
            </section>
            <div class="tile is-ancestor has-text-centered">
                <div class="tile is-parent">
                    <article class="tile is-child box">
                        <p class="title is-4">Effectif</p>
                        <p class="subtitle"><?php echo e(count($eleves)); ?></p>
                    </article>
                </div>
            </div>
            <nav class="panel is-info has-background-light">
                <p class="panel-heading">
                    Liste des élèves
                </p>
                <div
                    class="has-text-centered is-flex is-justify-content-center is-justify-content-space-around is-flex-wrap-wrap">
                    <div class="panel-block columns mx-0 is-centered my-1">
                        <button class="button is-rounded is-info" onclick="openForm('modalBulletinPromo')">
                            <span class="icon">
                                <i class="fas fa-clipboard"></i>
                            </span>
                            <span>Bulletins</span>
                        </button>
                    </div>
                </div>
                <?php if(count($eleves) == 0): ?>
                    <p class="title is-6 has-text-centered py-4">Aucun élève à afficher dans cette promo</p>
                <?php else: ?>
                    <?php $__currentLoopData = $eleves; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $eleve): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="columns mx-0 px-2 is-flex is-flex-wrap-nowrap">
                            <div class="column is-narrow">
                                <a href="#" class="panel-block">
                                    <span class="panel-icon">
                                        <i class="fas fa-user-graduate" aria-hidden="true"></i>
                                    </span>
                                    <?php echo e($eleve->prenom); ?> <?php echo e($eleve->nom); ?>

                                </a>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </nav>
        </section>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dide1435/luqman.upschool-sn.com/resources/views/classPromo.blade.php ENDPATH**/ ?>