Sindbad~EG File Manager

Current Path : /var/www/html/eva.sumar.com.py/storage/framework/views/
Upload File :
Current File : /var/www/html/eva.sumar.com.py/storage/framework/views/85120ce050ae347eeb72d00d0ab75b55f2dc66f8.php

<div>
    <?php
        use App\Models\Emoticon;
        use Illuminate\Support\Facades\DB;
    ?> 
    <style>
        .col{
            background-color: white;margin: 5px;color: rgb(37, 37, 90);
        }
        div.enlace{
            margin: 10px;
            padding: 5px;
            background: linear-gradient(90deg, rgba(255,30,0,0.3701855742296919) 0%, rgba(156,70,59,0.7315301120448179) 0%, rgba(51,74,128,0.8183648459383753) 100%);
            color:white;
            border-radius:50px;
        }
        div.enlace:hover{
            background: rgb(255,30,0);
            background: linear-gradient(90deg, rgba(255,30,0,1) 0%, rgba(223,73,53,1) 0%, rgba(255,247,0,1) 100%);
            cursor: pointer;
        }
        .emoticones:hover{
            transform: scale(1.3);
            cursor: pointer;
        }
        .activar{
            transform: scale(1.3);
            filter: drop-shadow(5px 5px 10px #444);
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <div class="row" style="padding:20px;">
        <div class="col-md-5">
            <br><h1 style="color:#fff;text-align:left;font-size: 30px;text-shadow: 2px 2px 2px #888888;"><img src="/images/cursos/<?php echo e($curso->logo); ?>" width="50px"> <b><?php echo e($curso->titulo); ?></b></h1><br />
            <?php if($importancia): ?>
                <div class="enlace" wire:click="importancia">
                    <img src="/imagenes/importancia.png" width="20px" style="display:inline;"> IMPORTANCIA
                </div>
            <?php endif; ?>
            <?php if($alcance): ?>
                <div class="enlace" wire:click="alcance">
                    <img src="/imagenes/alcance.png" width="20px" style="display:inline;"> ALCANCE
                </div>
            <?php endif; ?>
            <?php if($objetivo): ?>
                <div class="enlace" wire:click="objetivo">
                    <img src="/imagenes/objetivo.png" width="20px" style="display:inline;"> OBJETIVO
                </div>
            <?php endif; ?>
            <?php if($capsula): ?>
                <div class="enlace" wire:click="capsula">
                    <img src="/imagenes/cantidad-capsulas.png" width="20px" style="display:inline;"> CÁPSULAS
                </div>
            <?php endif; ?>
            <?php if($tutor): ?>
                <div class="enlace" wire:click="tutor">
                    <img src="/imagenes/tutor.png" width="20px" style="display:inline;"> TUTOR
                </div>
            <?php endif; ?>
            <?php if($recurso): ?>
                <div class="enlace" wire:click="recurso">
                    <img src="/imagenes/recurso-adicional.png" width="20px" style="display:inline;"> RECURSO ADICIONAL
                </div>
            <?php endif; ?>
            <div class="enlace" wire:click="apuntes">
                <img src="/imagenes/mis-apuntes.png" width="20px" style="display:inline;"> MIS APUNTES
            </div>
            <div class="enlace" wire:click="reflexion">
                <img src="/imagenes/reflexion.png" width="20px" style="display:inline;"> REFLEXIÓN
            </div>
            <?php if($podcast): ?>
                <div class="enlace" wire:click="podcast">
                    <img src="/imagenes/podcast.png" width="20px" style="display:inline;"> PODCAST
                </div>
            <?php endif; ?>
            <div class="enlace" wire:click="certificado">  
                <img src="/imagenes/mis-apuntes.png" width="20px" style="display:inline;"> CERTIFICADO
            </div>
        </div>
        <div class="col-md-7"><br>
            <?php if($viewimportancia): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">IMPORTANCIA</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $importancia ?>
                </div>
            <?php endif; ?>
            <?php if($viewalcance): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">ALCANCE</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $alcance ?>
                </div>
            <?php endif; ?>
            <?php if($viewobjetivo): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">OBJETIVO</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $objetivo ?>
                </div>
            <?php endif; ?>
            <div <?php echo e(($viewcapsula) ? 'style=display:inline;' : 'style=display:none;'); ?>>
                <div class="row">
                    <div class="col-md-6">
                        <div id="carouselExampleFade" class="carousel slide carousel-fade" data-interval="false" data-ride="carousel" data-pause="hover">
                            <div class="carousel-inner">
                                <?php $__currentLoopData = $capsulas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cap): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php $estado = 'emocion'; ?>
                                    <?php if($emo = Emoticon::where('curso_id',$curso_id)->where('usuario_id',Auth::user()->id)->where('capsula_id',$cap->id)->first()): ?> 
                                        <?php
                                            $estado = $emo->emocion;
                                        ?>
                                    <?php endif; ?>
                                    <?php 
                                        $megusta = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-gusta')->count();
                                        $meencanta = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-encanta')->count();
                                        $medivierte = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-divierta')->count();
                                        $measombra = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-asombra')->count();
                                        $meentristece = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-entristece')->count();
                                        $meenoja = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$cap->id)->where('emocion','me-enoja')->count();
                                    ?>
                                    <?php if($cap->capsula == $capsula): ?>
                                        <div class="carousel-item active">
                                    <?php else: ?>
                                        <div class="carousel-item">
                                    <?php endif; ?>
                                        <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;"><?php echo e($cap->titulo); ?></h3>
                                        <center><video controlslist="nodownload" style="width: 100%;" src="/videos/capsula/<?php echo e($cap->capsula); ?>" controls></video></center>
                                        <div style="background-color: white;padding: 10px;border-radius: 50px;width:100%;margin: 0 auto;" align="center">
                                            <div class="row">
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-gusta.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-gusta','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-gusta' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($megusta); ?>)</small></a>
                                                </div>
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-encanta.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-encanta','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-encanta' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($meencanta); ?>)</small></a>
                                                </div>
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-divierta.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-divierta','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-divierta' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($medivierte); ?>)</small></a>
                                                </div>
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-asombra.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-asombra','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-asombra' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($measombra); ?>)</small></a>
                                                </div>
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-entristece.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-entristece','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-entristece' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($meentristece); ?>)</small></a>
                                                </div>
                                                <div class="col-1">
                                                    <img src="/imagenes/reacciones/me-enoja.png"  wire:click="addemocion('<?php echo e($cap->id); ?>','me-enoja','<?php echo e($estado); ?>')" class="emoticones <?php echo e(($estado == 'me-enoja' ? 'activar':'')); ?>" alt="" width="20px">
                                                </div>
                                                <div class="col-1">
                                                    <a href="" data-toggle="modal" data-target="#emocionesModalScrollable" wire:click="envioid(<?php echo e($cap->id); ?>)"><small>(<?php echo e($meenoja); ?>)</small></a>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div><br>
                        <div class="row">
                            <div class="col-md-6" align="left">
                                <a href="#carouselExampleFade" role="button" data-slide="prev">
                                    <img src="/imagenes/imgsystem/arrow.gif" style="width:30%;-webkit-transform:rotate(180deg);-moz-transform: rotate(180deg);-ms-transform: rotate(180deg);-o-transform: rotate(180deg);transform: rotate(180deg);" alt="">
                                </a>
                            </div>
                            <div class="col-md-6" align="right">
                                <a href="#carouselExampleFade" role="button" data-slide="next">
                                    <img src="/imagenes/imgsystem/arrow.gif" style="width:30%;" alt="">
                                </a>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <form>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label><b style="color:white;;text-shadow: 2px 2px 2px #888888;">Apuntes:</b></label>
                                    <div wire:ignore>
                                        <textarea class="form-control summernote" style="background-color:white;" wire:model="apunte" rows="3"></textarea>
                                    </div>
                                    <?php $__errorArgs = ['apunte'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <?php if($apunteid): ?>
                                    <center><button wire:click.prevent="updatenota(<?php echo e($apunteid); ?>)" class="btn btn-success">Actualizar</button></center>
                                <?php else: ?>
                                    <center><button wire:click.prevent="guardarnota()" class="btn btn-success">Guardar</button></center>
                                <?php endif; ?>
                            </div>
                        </form>
                        <div class="col-md-12"><br>
                            <div class="card">
                                <div class="card-body">
                                    <small><?php echo e(count($apuntess)); ?> comentarios</small><hr>
                                    <?php $__currentLoopData = $apuntess; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $apu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="row">
                                            <div class="col-6">
                                                <em class="blockquote-footer"><b>editado el: </b><?php echo e($apu->updated_at); ?></em><hr>
                                            </div>
                                            <div class="col-6" align="right">
                                                <button wire:click="editapunte(<?php echo e($apu->id); ?>)" class="btn btn-sm btn-info"><i class="fa fa-edit"></i></button>
                                                <button type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#exampleModal<?php echo e($apu->id); ?>"><i class="fa fa-trash"></i></button>
                                    

                                                <!-- Modal -->
                                                <div class="modal fade" id="exampleModal<?php echo e($apu->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                                                    <div class="modal-dialog" role="document">
                                                        <div class="modal-content">
                                                            <div class="modal-header">
                                                                <h5 class="modal-title" id="exampleModalLabel">Eliminar apunte</h5>
                                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                                    <span aria-hidden="true">&times;</span>
                                                                </button>
                                                            </div>
                                                            <div class="modal-body">
                                                                <center><p>¿Realmente quiere eliminar el apunte?</p></center>
                                                            </div>
                                                            <div class="modal-footer">
                                                                <button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
                                                                <button type="button" wire:click="deleteapunte(<?php echo e($apu->id); ?>)" class="btn btn-danger" data-dismiss="modal">Eliminar</button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <?= $apu->apunte ?> <hr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        </div><br>
                    </div>
                </div>
            </div>
            <?php if($viewtutor): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">TUTOR</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $tutor ?>
                </div>
            <?php endif; ?>
            <?php if($viewrecurso): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">RECURSO ADICIONAL</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $recurso ?>
                </div>
            <?php endif; ?>
            <div <?php echo e(($viewcertificado) ? 'style=display:inline;' : 'style=display:none;'); ?>>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">CERTIFICADO</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <div class="row">
                        <div class="col-md-12" id="imprimible">
                            <style>
                                .contenedor{
                                    position: relative;
                                    display: inline-block;
                                    text-align: center;
                                }
                                .centrado{
                                    position: absolute;
                                    top: 44%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                }
                            </style>
                            <?php if($certificado != "Certificado no disponible"): ?>
                                <div class="contenedor" >
                                    <img src="/images/certificados/<?php echo e($certificado); ?>" width="90%" />
                                    <div class="centrado">
                                        <h3><?php echo e(Auth::user()->name); ?></h3>
                                    </div>
                                </div>
                            <?php else: ?>
                                <center>Certificado no disponible</center>
                            <?php endif; ?>
                        </div>
                        <div class="col-md-12" align="right"><br>
                            <?php if($certificado != "Certificado no disponible"): ?>
                                <button class="btn btn-warning" id="btnImprimirDiv">Imprimir</button>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>
            <div <?php echo e(($viewapuntes) ? 'style=display:inline;' : 'style=display:none;'); ?>>
                <form>
                    <div class="col-md-12">
                        <div class="form-group">
                            <label><b>Mis Apuntes:</b></label>
                            <div wire:ignore>
                                <textarea class="form-control summernote" style="background-color:white;" wire:model="apunte" rows="3"></textarea>
                            </div>
                            <?php $__errorArgs = ['apunte'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>
                        <?php if($apunteid): ?>
                            <center><button wire:click.prevent="updatenota(<?php echo e($apunteid); ?>)" class="btn btn-success">Actualizar</button></center>
                        <?php else: ?>
                            <center><button wire:click.prevent="guardarnota()" class="btn btn-success">Guardar</button></center>
                        <?php endif; ?>
                    </div>
                </form>
                <div class="col-md-12"><br>
                    <div class="card">
                        <div class="card-body">
                            <?php $__currentLoopData = $apuntess; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $apu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="row">
                                    <div class="col-6">
                                        <em class="blockquote-footer"><b>editado el: </b><?php echo e($apu->updated_at); ?></em><hr>
                                    </div>
                                    <div class="col-6" align="right">
                                        <button wire:click="editapunte(<?php echo e($apu->id); ?>)" class="btn btn-sm btn-info"><i class="fa fa-edit"></i></button>
                                        <button type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#exampleModal<?php echo e($apu->id); ?>"><i class="fa fa-trash"></i></button>
                               

                                        <!-- Modal -->
                                        <div class="modal fade" id="exampleModal<?php echo e($apu->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                                            <div class="modal-dialog" role="document">
                                                <div class="modal-content">
                                                    <div class="modal-header">
                                                        <h5 class="modal-title" id="exampleModalLabel">Eliminar apunte</h5>
                                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                            <span aria-hidden="true">&times;</span>
                                                        </button>
                                                    </div>
                                                    <div class="modal-body">
                                                        <center><p>¿Realmente quiere eliminar el apunte?</p></center>
                                                    </div>
                                                    <div class="modal-footer">
                                                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
                                                        <button type="button" wire:click="deleteapunte(<?php echo e($apu->id); ?>)" class="btn btn-danger" data-dismiss="modal">Eliminar</button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                 <?= $apu->apunte ?> <hr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div><br>
            </div>
            <?php if($viewreflexion): ?>
                <?php $__currentLoopData = $reflexion; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ref): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <br><h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;"><?php echo e($ref->for_nom); ?></h3><br><br>
                    <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                        <?= $ref->for_info ?> <br><hr>
                        <?php $completo = 0; ?>
                        <?php $__currentLoopData = $respuestas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($ref->id == $res->id): ?>
                                <?php $completo = 1; ?>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php if($completo == 0): ?>
                            <center><a href="/curso/<?php echo e($ref->id); ?>/formulario"><button class="btn btn-success">Realizar reflexión</button></a></center>
                        <?php else: ?>
                            <center><p>Intento realizado</p></center>
                            <?php $__currentLoopData = $feed; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($fe->formulario_id == $res->id): ?>
                                    <b>Feedback:</b>
                                    <p><?php echo e($fe->feedback); ?></p>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endif; ?>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
            <?php if($viewpodcast): ?>
                <h3 align="center" style="color:white;text-shadow: 2px 2px 2px #888888;">PODCAST</h3><br><br>
                <div style="background-color: white; padding: 10px; border-radius: 50px;whith: 100%;">
                    <?= $podcast ?>
                </div>
            <?php endif; ?>
        </div>
        <div>
            <br><br>
        </div>
    </div>

    <!-- Modal -->
    <?php
        $megusta = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-gusta')->count();
        $meencanta = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-encanta')->count();
        $medivierte = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-divierta')->count();
        $measombra = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-asombra')->count();
        $meentristece = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-entristece')->count();
        $meenoja = Emoticon::where('curso_id',$curso_id)->where('capsula_id',$capsula_id)->where('emocion','me-enoja')->count();
        $emociones = DB::table('emoticons as e')
            ->join('users as u','e.usuario_id','u.id')
            ->select('u.name','e.*')
            ->where('curso_id',$curso_id)->where('capsula_id',$capsula_id)
            ->where('emocion','LIKE','%'.$this->emocion.'%')->get();
    ?>
    <div class="modal fade" wire:ignore.self id="emocionesModalScrollable" tabindex="-1" role="dialog" aria-labelledby="emocionesModalScrollableTitle" aria-hidden="true">
        <div class="modal-dialog modal-dialog-scrollable" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="emocionesModalScrollableTitle">Reacciones</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-md-12">
                            <ol>
                                <?php $__currentLoopData = $emociones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $emoci): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <ul>
                                        <?php if($emoci->emocion == "me-gusta"): ?>
                                            <img src="/imagenes/reacciones/me-gusta.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                        <?php if($emoci->emocion == "me-encanta"): ?>
                                            <img src="/imagenes/reacciones/me-encanta.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                        <?php if($emoci->emocion == "me-divierta"): ?>
                                            <img src="/imagenes/reacciones/me-divierta.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                        <?php if($emoci->emocion == "me-asombra"): ?>
                                            <img src="/imagenes/reacciones/me-asombra.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                        <?php if($emoci->emocion == "me-entristece"): ?>
                                            <img src="/imagenes/reacciones/me-entristece.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                        <?php if($emoci->emocion == "me-enoja"): ?>
                                            <img src="/imagenes/reacciones/me-enoja.png" width="20px"> <?php echo e($emoci->name); ?>

                                        <?php endif; ?>
                                    </ul>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ol>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
                </div>
            </div>
        </div>
    </div>

    <?php $__env->startSection('js'); ?>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css">
        <script src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"></script>
        <script>
            $('.summernote').summernote({
                height: '100%',
                toolbar: [
                    ['style', ['style']],
                    ['font', ['bold', 'underline', 'clear']],
                    ['fontsize', ['fontsize']],
                    ['fontname', ['fontname']],
                    ['color', ['color']],
                    ['para', ['ul', 'ol', 'paragraph']],
                    ['table', ['table']],
                    ['insert', ['link', 'picture', 'video']],
                    ['view', ['fullscreen', 'codeview', 'help']],
                ],
                callbacks: {
                    onChange: function(contents, $editable) {
                        window.livewire.find('<?php echo e($_instance->id); ?>').set('apunte', contents);
                    }
                }
            });
            Livewire.on('apunte', apunte => {
                $('.summernote').summernote('code', apunte);
                console.log(apunte);
            });
        </script>
        <script>
            function imprimirElemento(elemento){
                var ventana = window.open('', 'PRINT', 'height=400,width=600');
                ventana.document.write('<html><head><title>' + document.title + '</title>');
                ventana.document.write('</head><body >');
                ventana.document.write(elemento.innerHTML);
                ventana.document.write('</body></html>');
                ventana.document.close();
                ventana.focus();
                ventana.print();
                return true;
            }

            $("#btnImprimirDiv").click(function() {
                var div = document.querySelector("#imprimible");
                imprimirElemento(div);
            });
        </script>
    <?php $__env->stopSection(); ?>
</div>
<?php /**PATH /var/www/html/eva.sumar.com.py/resources/views/livewire/frontcurso.blade.php ENDPATH**/ ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists