EVOLUTION-MANAGER
Edit File: 3ca42caa7ba93bd728948796b538a241a585eca7.php
<?php $__env->startSection('titulo'); ?> SOCIALIZACIONES <?php $__env->stopSection(); ?> <?php $__env->startSection('style'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/frontend/css/sweetalert2.min.css')); ?>"> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/plugins/accordions/assets/global/css/themesTabs.style.css')); ?>" id="accordions_themes.Tabs.style-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/plugins/taqyeem-buttons/assets/style.css')); ?>" id="taqyeem-buttons-style-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/plugins/js_composer/assets/css/js_composer.min.css')); ?>" id="js_composer_front-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/themes/jannah/assets/css/taqyeem.css')); ?>" id="taqyeem-styles-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/themes/jannah/assets/css/style.css')); ?>" id="tie-css-styles-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/themes/jannah/assets/css/ilightbox/dark-skin/skin.css')); ?>" id="tie-css-ilightbox-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/themes/jannah-child/style.css')); ?>" id="tie-theme-child-css-css" media="all" rel="stylesheet" type="text/css"/> <script src="<?php echo e(asset('public/frontend/transparencia/wp-includes/js/jquery/jquery.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('public/frontend/transparencia/wp-includes/js/jquery/jquery-migrate.min.js')); ?>" type="text/javascript"> </script> <link href="http://fonts.googleapis.com/css?family=Actor%3Aregular" id="vc_google_fonts_actorregular-css" media="all" rel="stylesheet" type="text/css"/> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/plugins/js_composer/assets/css/js_composer_tta.min.css')); ?>" id="vc_tta_style-css" media="all" rel="stylesheet" type="text/css"/> <style> .swal_long{ width: 1000px !important; } .label_custom{ width: 100%; text-align: left; font-size: 16px; color: #256867dd; } .texarea_custom{ margin-top: 0; height: 65px; padding: 8px; font-size: 14px; margin: 0px 0px 10px 0px; border: 1px solid #2568677b; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <a class="btn btn-primary" href="<?php echo e(asset('administracion/socializaciones/crear')); ?>"><i class="fa fa-plus"></i> Nuevo</a> <hr style="margin-top: 10px;"> <div class="table-responsive"> <table id="tbbuzon1" class="table table-striped table-bordered table-hover display" > <thead> <tr> <th>Título</th> <th>Texto</th> <th>Texto Botón</th> <th>Imagen</th> <th>Enlace</th> <th>Acción</th> </tr> </thead> <tbody> <?php $__currentLoopData = $socializaciones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $elemento): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($elemento->titulo); ?></td> <td><?php echo e($elemento->texto); ?></td> <td><?php echo e($elemento->texto_boton); ?></td> <td><a class="btn btn-xs btn-info" target="_bank" href="<?php echo e(url($elemento->imagen)); ?>">Ver</a></td> <td><a class="btn btn-xs btn-primary" target="_bank" href="<?php echo e($elemento->enlace); ?>">Abrir</a></td> <td><button class="btn btn-xs btn-danger" onclick="AlertaEliminar('<?php echo e($elemento->id); ?>')">Eliminar</button></td> <form id="form_eliminar_<?php echo e($elemento->id); ?>" action="<?php echo e(asset('administracion/socializaciones/eliminar/'.$elemento->id)); ?>" method="POST"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> </form> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <script src="<?php echo e(asset('admin/frontend/js/sweetalert2.min.js')); ?>"></script> <script> function AlertaEliminar(id){ swal({ title: 'Estas seguro?', text: "No podrás recuperar lo eliminado!", type: 'warning', showCancelButton: true, confirmButtonColor: '#0CC27E', cancelButtonColor: '#FF586B', confirmButtonText: 'Si, Eliminar!', cancelButtonText: 'No, Cancelar!', confirmButtonClass: 'btn btn-success mr-5', cancelButtonClass: 'btn btn-danger', buttonsStyling: false }).then(function () { swal({ title: 'Eliminando...', allowOutsideClick: false, allowEscapeKey: false }); swal.showLoading(); //ejecutar $("#form_eliminar_"+id).submit(); }, function (dismiss) { if (dismiss === 'cancel') { swal('Cancelado','Has cancelado la eliminación','error'); } }); } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>