%PDF- %PDF-
Direktori : /var/www/html/sljcon/storage/framework/views/ |
Current File : /var/www/html/sljcon/storage/framework/views/8b14e0c1b231f324d1e7a073090e99cb2b732fdd.php |
<?php $__env->startSection('content'); ?> <div class="container"> <div class="row"> <div class="col-md-12 m_top_30"> <a href="<?php echo e(route('admin.project.newOrEdit','new')); ?>" class="btn btn-success pull-right"> <i class="fa fa-plus"></i> New </a> </div> </div> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">Project Name</th> <th scope="col">Action</th> </tr> </thead> <tbody> <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$project): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td scope="row"><?php echo e(++$key); ?></td> <td><?php echo e($project->name); ?></td> <td> <div class="btn-group" role="group" aria-label="Basic example"> <a href="<?php echo e(route('admin.project.newOrEdit',$project->id)); ?>" type="button" class="btn btn-warning"><i class="fa fa-edit"></i></a> <a type="button" class="btn btn-success" href="<?php echo e(route('project.details', $project->slug)); ?>" target="_blank"><i class="fa fa-search"></i></a> <a type="button" class="btn btn-info" href="<?php echo e(route('admin.project.gallery',$project->id)); ?>"><i class="fa fa-edit">Gallery</i></a> <a href="<?php echo e(route('admin.project.section',$project->id)); ?>" type="button" class="btn btn-info"><i class="fa fa-edit">Section</i></a> <a type="button" class="btn btn-danger" href="#" onclick="if (confirm('Are you sure you want to delete this project?')) $('#deleteProject_<?php echo e($project->id); ?>').submit(); return false;"> <i class="fa fa-trash"></i> </a> <form action="<?php echo e(route('admin.project.delete')); ?>" method="post" id="deleteProject_<?php echo e($project->id); ?>"> <?php echo e(csrf_field()); ?> <?php echo e(method_field('DELETE')); ?> <input type="hidden" name="id" value="<?php echo e($project->id); ?>"> </form> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php echo e($projects->links()); ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>