관리-도구
편집 파일: a26ff0c47b932d33856723b04fdd36e8.php
<?php $__env->startSection('content'); ?> <div class="main-panel"> <div class="content-wrapper"> <div class="d-flex justify-content-between mb-3"> <h3>About Page Sections</h3> </div> <p>Click a card to update its content</p> <div class="row"> <style> .a{ text-decoration: none; } </style> <?php if($gallery): ?> <div class="col-md-4 my-3"> <a href="#" data-toggle="modal" data-target="#updateModal" style="text-decoration:none;"> <div class="card h-100"> <img src="<?php echo e(asset('storage/' . $gallery->image)); ?>" alt="About Image" class="img-fluid" style="max-height: 200px;"> <div class="card-body"> <h5 class="card-title text-capitalize"><?php echo e($gallery->title); ?></h5> <h6 class="card-title text-capitalize"><?php echo e($gallery->designation); ?></h6> <p class="card-text text-dark"><?php echo $gallery->description; ?></p> </div> </div> </a> </div> <!-- Update Modal --> <div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="modalTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="modalTitle">Update</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form method="POST" action="<?php echo e(route('admin-founder.update', $gallery->id)); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="form-group"> <label>Current Image</label><br> <img src="<?php echo e(asset('storage/' . $gallery->image)); ?>" alt="Current Image" class="img-fluid mb-2" style="max-height: 200px;"> <input type="file" name="image" class="form-control"> <small class="text-muted">Recommended: 1:1 ratio</small> </div> <div class="form-group"> <label>Title</label> <input type="text" name="title" class="form-control" value="<?php echo e($gallery->title); ?>"> </div> <div class="form-group"> <label>Designation</label> <input type="text" name="designation" class="form-control" value="<?php echo e($gallery->designation); ?>"> </div> <div class="form-group"> <label>Description</label> <textarea name="description" class="form-control" rows="5"><?php echo $gallery->description; ?></textarea> </div> <div class="text-center"> <button type="submit" class="btn btn-primary w-50">Update</button> </div> </form> </div> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\ICT LARAVEL\Laravel\bonfire\resources\views/admin/folder.blade.php ENDPATH**/ ?>