Viewing file: bbb70b3a16af51ab7fd4be9c3c3d43e7.php (4.93 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.home_section')); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <link href="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.css" rel="stylesheet"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-10 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('admin.home_section')); ?> </h2> </div> <form method="post" role="form" id="welcomesectionForm" action="<?php echo e(route('admin.theme.home.section.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="card-body"> <?php $home_section=json_decode(get_settings('home_section')); ?> <div class="form-group"> <label for="title"><?php echo e(trans('Welcome Text')); ?></label> <input value="<?php echo e(isset($home_section->title)?$home_section->welcome_text:''); ?>" type="text" name="welcome_text" class="form-control" id="title" placeholder="<?php echo e(trans('Welcome Text')); ?>"> </div> <div class="form-group"> <label for="title"><?php echo e(trans('Your Name')); ?></label> <input value="<?php echo e(isset($home_section->user_name)?$home_section->user_name:''); ?>" type="text" name="user_name" class="form-control" id="title" placeholder="<?php echo e(trans('Your Name')); ?>"> </div> <div class="form-group"> <label for="title"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($home_section->title)?$home_section->title:''); ?>" type="text" name="title" class="form-control" id="title" placeholder="<?php echo e(trans('admin.title')); ?>"> </div> <div class="form-group"> <label for="image"><?php echo e(trans('admin.image')); ?></label> <input type="hidden" name="pre_image" value="<?php echo e(isset($home_section->imageone)?$home_section->imageone:''); ?>"> <input value="<?php echo e(isset($home_section->imageone)?$home_section->imageone:''); ?>" type="file" name="image" class="form-control" id="image" placeholder="<?php echo e(trans('admin.image')); ?>"> </div> <div class="form-group"> <label for="description"><?php echo app('translator')->get('admin.description'); ?></label> <textarea name="description" id="description" class="form-control" placeholder="<?php echo e(trans('admin.description')); ?>"><?php echo e(isset($home_section->description)?$home_section->description:''); ?></textarea> </div>
</div> <div class="card-footer text-right"> <button type="submit" class="btn btn-primary"><?php echo e(trans('admin.submit')); ?></button> </div> </form> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script> <script src="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.js"></script> <script> $(document).ready(function() { $('.description').summernote(); }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\protfolio backend 6-2-24\portfolio\resources\views/admin/home_section/create.blade.php ENDPATH**/ ?>
|