Viewing file: c49088fa1804e0d528c6ddf3fbb62b91.php (8.15 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.welcome_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.welcome_section')); ?> </h2> </div> <form method="post" role="form" id="welcomesectionForm" action="<?php echo e(route('admin.theme.welcome.section.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="card-body"> <?php $welcome_section=json_decode(get_settings('welcome_section')); ?> <div class="form-group"> <label for="title"><?php echo e(trans('admin.title')); ?></label> <input value="<?php echo e(isset($welcome_section)?$welcome_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($welcome_section)?$welcome_section->imageone:''); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_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($welcome_section)?$welcome_section->description:''); ?></textarea> </div> <div class="row"> <div class="col-12 mb-2"> <h5>Counter Section</h5> </div> </div> <div class="section"> <div class="row"> <div class="col-lg-4 col-md-4 col-4"> <div class="form-group"> <label for="title"><?php echo e(trans('admin.section_one')); ?></label> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_one_founded:''); ?>" type="text" name="section_one_founded" class="form-control" id="founded" placeholder="<?php echo e(trans('admin.founded')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_one_count:''); ?>" type="text" name="section_one_count" class="form-control mt-2" id="count" placeholder="<?php echo e(trans('admin.count')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_one_experience:''); ?>" type="text" name="section_one_experience" class="form-control mt-2" id="experience" placeholder="<?php echo e(trans('admin.experience')); ?>"> </div> </div> <div class="col-lg-4 col-md-4 col-4"> <div class="form-group"> <label for="title"><?php echo e(trans('admin.section_two')); ?></label> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_two_founded:''); ?>" type="text" name="section_two_founded" class="form-control" id="founded" placeholder="<?php echo e(trans('admin.founded')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_two_count:''); ?>" type="text" name="section_two_count" class="form-control mt-2" id="count" placeholder="<?php echo e(trans('admin.count')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_two_experience:''); ?>" type="text" name="section_two_experience" class="form-control mt-2" id="experience" placeholder="<?php echo e(trans('admin.experience')); ?>"> </div> </div> <div class="col-lg-4 col-md-4 col-4"> <div class="form-group"> <label for="title"><?php echo e(trans('admin.section_three')); ?></label> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_three_founded:''); ?>" type="text" name="section_three_founded" class="form-control" id="founded" placeholder="<?php echo e(trans('admin.founded')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_three_count:''); ?>" type="text" name="section_three_count" class="form-control mt-2" id="count" placeholder="<?php echo e(trans('admin.count')); ?>"> <input value="<?php echo e(isset($welcome_section)?$welcome_section->section_three_experience:''); ?>" type="text" name="section_three_experience" class="form-control mt-2" id="experience" placeholder="<?php echo e(trans('admin.experience')); ?>"> </div> </div> </div> </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:\usa\portfolio-usa\resources\views/admin/welcome_section/create.blade.php ENDPATH**/ ?>
|