<?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 mt-0 columns mx-0 mb-0 is-centered">
        <section class="section container column is-two-thirds">
            <section class="section is-link is-light p-0">
                <h1 class="title is-1 is-size-3-touch has-text-centered has-text-white"><?php echo e($classe->libelle); ?></h1>
                <h1 class="subtitle is-6 has-text-centered has-text-white"><?php echo e($classe->type); ?></h1>
            </section>
            <nav class="panel is-info has-background-light mt-2">
                <p class="panel-heading">
                    <?php $__currentLoopData = $matieres; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $matiere): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($matiere->id == $evaluation->matiere_id): ?>
                            Evaluation <?php echo e($matiere->libelle); ?> du <?php echo e(date('d/m/Y', strtotime($evaluation->date))); ?>

                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <br>
                    <?php if($classe->type == 'Secondaire'): ?>
                        Trimestre/Semestre <?php echo e($evaluation->semestre); ?>

                    <?php else: ?>
                        Trimestre <?php echo e($evaluation->semestre); ?>

                    <?php endif; ?>
                </p>
                <div class="content">
                    <?php $__currentLoopData = $eleves->sortBy('nom'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $eleve): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="panel-block is-flex is-justify-content-space-between">
                            <div class="has-text-dark">
                                <span class="panel-icon mt-1">
                                    <i class="fas fa-user-graduate" aria-hidden="true"></i>
                                </span>
                                <?php echo e($eleve->prenom); ?> <?php echo e($eleve->nom); ?>

                            </div>
                            <?php $__currentLoopData = $notes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $note): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($note->eleve_id == $eleve->id): ?>
                                    <div>
                                        <input id="<?php echo e($eleve->id); ?>" min="0" max="20" type="number"
                                            class="input is-info is-rounded note_eleve" title="Entre 0 et 20"
                                            name="note<?php echo e($eleve->id); ?>" placeholder="00" value="<?php echo e($note->valeur); ?>"
                                            disabled required>
                                    </div>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <span hidden><?php echo e($existe = 0); ?></span>
                            <?php $__currentLoopData = $notes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $note): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($note->eleve_id == $eleve->id): ?>
                                    <span hidden><?php echo e($existe++); ?></span>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php if($existe == 0): ?>
                                <div>
                                    <input id="<?php echo e($eleve->id); ?>" min="0" max="20" type="number"
                                        class="input is-info is-rounded note_eleve" title="Entre 0 et 20"
                                        name="note<?php echo e($eleve->id); ?>" placeholder="00" disabled required>
                                </div>
                            <?php endif; ?>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </nav>
        </section>
    </section>
    <?php echo $__env->make('/partials/evaluationJs', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?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/detailsEvaluation.blade.php ENDPATH**/ ?>