EVOLUTION-MANAGER
Edit File: feb4c1783b3e7e5d33fb6a4f8b764479a5e4b815.php
<?php $__env->startSection('titulo'); ?> Artículos <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <?php echo $__env->make('alerts.success', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('alerts.errors', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <a class="btn btn-primary" href="<?php echo e(URL::route('articulos.create')); ?>">Nuevo</a> <?php if(count($articulos)): ?> <div class="table-responsive"> <table id="tbbuzon1" class="table table-striped table-bordered table-hover display" > <thead> <tr> <th>ID:</th> <th>TITULO:</th> <th>TIPO DE ARTICULO:</th> <th>Nº DE DESTACADO:</th> <th>URL:</th> <th width="10%">Opciones</th> </tr> </thead> <tbody> <?php $__currentLoopData = $articulos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($tipo->id); ?></td> <td><?php echo e($tipo->titulo); ?></td> <td><?php echo e($tipo->tipo); ?></td> <td><?php echo e($tipo->destacado); ?></td> <td><?php echo e($tipo->url_direccion); ?></td> <td style="display: inline-flex; float: right;"> <?php echo Form::open(array('method' => 'GET', 'route' => array('articulos.edit', $tipo->id))); ?> <button type="submit" class="btn btn-success bnt-lg" data-toggle="tooltip" title="Editar"> <i class="fa fa-pencil-square-o"></i></button> <?php echo Form::close(); ?> <?php if($tipo->tipo_articulo_id!=12&&$tipo->tipo_articulo_id!=50&&$tipo->tipo_articulo_id!=11&&$tipo->tipo_articulo_id!=13): ?> <button type="submit" class="btn btn-danger bnt-lg" onclick="SeguroEliminar(<?php echo e($tipo->id); ?>)" data-toggle="tooltip" title="Eliminar"><i class="fa fa-trash"></i></button> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php else: ?> Aún no hay articulos en el sistema <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script> $(document).ready(function(){ $(".inline").colorbox(); // $(".add_usser").colorbox(); }); $(function () { $('[data-toggle="tooltip"]').tooltip('show') }) function SeguroEliminar(id) { $.colorbox({width:"auto",height:"auto", open:true, href:"seguro_eliminar/articulos/"+id}); } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>