Viewing file: dfd65ce8e9ca12246053c6c95631ca65.php (54.28 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('admin.template')); ?>
<?php $__env->startSection('extra-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <?php $template = json_decode(get_settings('template')); ?> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <form method="post" role="form" id="planForm" action="<?php echo e(route('admin.template.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('admin.section_banner'); ?> <i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip" title="Admin can customize frontend template according to his needs."></i> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('admin.form.title')); ?></label> <input value="<?php echo e(isset($template->banner_section_title)?$template->banner_section_title:''); ?>" type="text" name="banner_section_title" class="form-control" id="title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Sub Title')); ?></label> <input value="<?php echo e(isset($template->banner_section_sub_title)?$template->banner_section_sub_title:''); ?>" type="text" name="banner_section_sub_title" class="form-control" id="title" placeholder="<?php echo e(trans('Sub Title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Progress One')); ?></label> <input value="<?php echo e(isset($template->banner_section_progress_one)?$template->banner_section_progress_one:''); ?>" type="number" name="banner_section_progress_one" class="form-control" id="title" placeholder="<?php echo e(trans('Progress One')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Progress Two')); ?></label> <input value="<?php echo e(isset($template->banner_section_progress_two)?$template->banner_section_progress_two:''); ?>" type="number" name="banner_section_progress_two" class="form-control" id="title" placeholder="<?php echo e(trans('Progress Two')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Progress One Description'); ?></label> <textarea name="banner_section_progress_one_des" id="description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->banner_section_progress_one_des)?$template->banner_section_progress_one_des:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Progress Two Description'); ?></label> <textarea name="banner_section_progress_two_des" id="description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->banner_section_progress_two_des)?$template->banner_section_progress_two_des:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('admin.page.description'); ?></label> <textarea name="banner_section_description" id="description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->banner_section_description)?$template->banner_section_description:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span> </label> <input name="banner_section_bg_image" type="file" class="form-control p-2" id="profile">
</div> </div> </div> </div> </div>
<div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section About US'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="section_four_title"><?php echo e(trans('admin.form.title')); ?></label> <input value="<?php echo e(isset($template->section_four_title)?$template->section_four_title:''); ?>" type="text" name="section_four_title" class="form-control" id="section_four_title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('admin.page.description'); ?></label> <textarea name="section_four_description" id="section_four_description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->section_four_description)?$template->section_four_description:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Progress One')); ?></label> <input value="<?php echo e(isset($template->section_four_progress_one)?$template->section_four_progress_one:''); ?>" type="number" name="section_four_progress_one" class="form-control" id="title" placeholder="<?php echo e(trans('Progress One')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Progress Two')); ?></label> <input value="<?php echo e(isset($template->section_four_progress_two)?$template->section_four_progress_two:''); ?>" type="number" name="section_four_progress_two" class="form-control" id="title" placeholder="<?php echo e(trans('Progress Two')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Progress One Description'); ?></label> <textarea name="section_four_progress_one_des" id="description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->section_four_progress_one_des)?$template->section_four_progress_one_des:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Progress Two Description'); ?></label> <textarea name="section_four_progress_two_des" id="description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($template->section_four_progress_two_des)?$template->section_four_progress_two_des:''); ?></textarea> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span></label> <input name="section_four_bg_image" type="file" class="form-control p-2" id="profile"> </div> </div>
</div> </div> </div>
<div class="custom_body d-none"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section One'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('First Title')); ?></label> <input value="<?php echo e(isset($template->section_one_first_title)?$template->section_one_first_title:''); ?>" type="text" name="section_one_first_title" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('First Title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Second Title')); ?></label> <input value="<?php echo e(isset($template->section_one_second_title)?$template->section_one_second_title:''); ?>" type="text" name="section_one_second_title" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Second Title')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span></label>
<input name="section_one_bg_image" type="file" class="form-control p-2" id="profile">
</div> </div> </div> </div> </div>
<div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section Goals'); ?></div> </div> <div class="card-body"> <div class="row mb-2"> <div class="col-lg-6"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Title')); ?></label> <input value="<?php echo e(isset($template->section_goal_title)?$template->section_goal_title:''); ?>" type="text" name="section_goal_title" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title')); ?></label> <input value="<?php echo e(isset($template->section_goal_sub_title)?$template->section_goal_sub_title:''); ?>" type="text" name="section_goal_sub_title" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Title')); ?>"> </div> </div>
</div> <div class="row"> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title One')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_one)?$template->section_two_sub_title_one:''); ?>" type="text" name="section_two_sub_title_one" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title Two')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_two)?$template->section_two_sub_title_two:''); ?>" type="text" name="section_two_sub_title_two" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Title One')); ?></label> <input value="<?php echo e(isset($template->section_two_title)?$template->section_two_title:''); ?>" type="text" name="section_two_title" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Title One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image ONe'); ?></label> <input name="section_two_bg_image_one" type="file" class="form-control p-2" id="profile">
</div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title One')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_one_two)?$template->section_two_sub_title_one_two:''); ?>" type="text" name="section_two_sub_title_one_two" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title Two')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_two_two)?$template->section_two_sub_title_two_two:''); ?>" type="text" name="section_two_sub_title_two_two" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Title Two')); ?></label> <input value="<?php echo e(isset($template->section_two_title_two)?$template->section_two_title_two:''); ?>" type="text" name="section_two_title_two" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Title Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image Two'); ?></label> <input name="section_two_bg_image_two" type="file" class="form-control p-2" id="profile"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title One')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_one_three)?$template->section_two_sub_title_one_three:''); ?>" type="text" name="section_two_sub_title_one_three" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Sub Title Two')); ?></label> <input value="<?php echo e(isset($template->section_two_sub_title_two_three)?$template->section_two_sub_title_two_three:''); ?>" type="text" name="section_two_sub_title_two_three" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Sub Title Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Title Three')); ?></label> <input value="<?php echo e(isset($template->section_two_title_three)?$template->section_two_title_three:''); ?>" type="text" name="section_two_title_three" class="form-control" id="about_us_title" placeholder="<?php echo e(trans('Title Three')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image Three'); ?></label> <input name="section_two_bg_image_three" type="file" class="form-control p-2" id="profile"> </div> </div> </div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section Video'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('Enter Video Link')); ?>(Embed)</label> <input value="<?php echo e(isset($template->video_link)?$template->video_link:''); ?>" type="text" name="video_link" class="form-control" id="section_three_title" placeholder="<?php echo e(trans('Enter Video Link')); ?>"> </div> </div> </div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section Five'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="section_five_title"><?php echo e(trans('Title One')); ?></label> <input value="<?php echo e(isset($template->section_five_title_one)?$template->section_five_title_one:''); ?>" type="text" name="section_five_title_one" class="form-control" id="section_five_title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription One'); ?></label> <textarea name="section_five_description_one" id="section_five_description_one" class="form-control" placeholder="<?php echo e(trans('Desccription One')); ?>"><?php echo e(isset($template->section_five_description_one)?$template->section_five_description_one:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="section_five_title"><?php echo e(trans('Title Two')); ?></label> <input value="<?php echo e(isset($template->section_five_title_two)?$template->section_five_title_two:''); ?>" type="text" name="section_five_title_two" class="form-control" id="section_five_title_two" placeholder="<?php echo e(trans('Title Two')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription Two'); ?></label> <textarea name="section_five_description_two" id="section_five_description_two" class="form-control" placeholder="<?php echo e(trans('Desccription Two')); ?>"><?php echo e(isset($template->section_five_description_two)?$template->section_five_description_two:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="section_five_title"><?php echo e(trans('Title Three')); ?></label> <input value="<?php echo e(isset($template->section_five_title_three)?$template->section_five_title_three:''); ?>" type="text" name="section_five_title_three" class="form-control" id="section_five_title_three" placeholder="<?php echo e(trans('Title Three')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription Three'); ?></label> <textarea name="section_five_description_three" id="section_five_description_three" class="form-control" placeholder="<?php echo e(trans('Desccription Three')); ?>"><?php echo e(isset($template->section_five_description_three)?$template->section_five_description_three:''); ?></textarea> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="section_five_title"><?php echo e(trans('Title Four')); ?></label> <input value="<?php echo e(isset($template->section_five_title_four)?$template->section_five_title_four:''); ?>" type="text" name="section_five_title_four" class="form-control" id="section_five_title" placeholder="<?php echo e(trans('Title Four')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription Four'); ?></label> <textarea name="section_five_description_four" id="section_five_description_four" class="form-control" placeholder="<?php echo e(trans('Desccription Four')); ?>"><?php echo e(isset($template->section_five_description_four)?$template->section_five_description_four:''); ?></textarea> </div> </div>
</div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section Reviews'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="section_six_title"><?php echo e(trans('Title')); ?></label> <input value="<?php echo e(isset($template->section_six_title)?$template->section_six_title:''); ?>" type="text" name="section_six_title" class="form-control" id="section_six_title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription'); ?></label> <textarea name="section_six_description" id="section_six_description" class="form-control" placeholder="<?php echo e(trans('Desccription')); ?>"><?php echo e(isset($template->section_six_description)?$template->section_six_description:''); ?></textarea> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_one"><?php echo e(trans('Customer Name One')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_name_one)?$template->section_six_customer_name_one:''); ?>" type="text" name="section_six_customer_name_one" class="form-control" id="section_six_customer_name_one" placeholder="<?php echo e(trans('Customer Name One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_age"><?php echo e(trans('Customer Age One')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_age_one)?$template->section_six_customer_age_one:''); ?>" type="text" name="section_six_customer_age_one" class="form-control" id="section_six_customer_name_age_one" placeholder="<?php echo e(trans('Customer Age One')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription One'); ?></label> <textarea name="section_six_customer_description_one" id="section_six_customer_description_one" class="form-control" placeholder="<?php echo e(trans('Desccription One')); ?>"><?php echo e(isset($template->section_six_customer_description_one)?$template->section_six_customer_description_one:''); ?></textarea> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image One'); ?></label> <input name="section_six_customer_img_one" type="file" class="form-control p-2" id="profile"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_two"><?php echo e(trans('Customer Name Two')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_name_two)?$template->section_six_customer_name_two:''); ?>" type="text" name="section_six_customer_name_two" class="form-control" id="section_six_customer_name_two" placeholder="<?php echo e(trans('Customer Name Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_age"><?php echo e(trans('Customer Age Two')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_age_two)?$template->section_six_customer_age_two:''); ?>" type="text" name="section_six_customer_age_two" class="form-control" id="section_six_customer_name_age_two" placeholder="<?php echo e(trans('Customer Age Two')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription Two'); ?></label> <textarea name="section_six_customer_description_two" id="section_six_customer_description_two" class="form-control" placeholder="<?php echo e(trans('Desccription Two')); ?>"><?php echo e(isset($template->section_six_customer_description_two)?$template->section_six_customer_description_two:''); ?></textarea> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image Two'); ?></label> <input name="section_six_customer_img_two" type="file" class="custom-file-input" id="profile"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_three"><?php echo e(trans('Customer Name Three')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_name_three)?$template->section_six_customer_name_three:''); ?>" type="text" name="section_six_customer_name_three" class="form-control" id="section_six_customer_name_three" placeholder="<?php echo e(trans('Customer Name')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="section_six_customer_name_age"><?php echo e(trans('Customer Age Three')); ?></label> <input value="<?php echo e(isset($template->section_six_customer_age_three)?$template->section_six_customer_age_three:''); ?>" type="text" name="section_six_customer_age_three" class="form-control" id="section_six_customer_name_age_three" placeholder="<?php echo e(trans('Customer Age Three')); ?>"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('Desccription Three'); ?></label> <textarea name="section_six_customer_description_three" id="section_six_customer_description_three" class="form-control" placeholder="<?php echo e(trans('Desccription Three')); ?>"><?php echo e(isset($template->section_six_customer_description_three)?$template->section_six_customer_description_three:''); ?></textarea> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('Image Three'); ?></label> <input name="section_six_customer_img_three" type="file" class="form-control p-2" id="profile"> </div> </div> </div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Section Plans'); ?> <i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip" title="Admin can customize frontend template according to his needs."></i> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Title One')); ?></label> <input value="<?php echo e(isset($template->section_seven_title_one)?$template->section_seven_title_one:''); ?>" type="text" name="section_seven_title_one" class="form-control" id="title" placeholder="<?php echo e(trans('Title One')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('Title Two')); ?></label> <input value="<?php echo e(isset($template->section_seven_title_two)?$template->section_seven_title_two:''); ?>" type="text" name="section_seven_title_two" class="form-control" id="title" placeholder="<?php echo e(trans('Title Two')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span> </label> <input name="section_seven_bg_image" type="file" class="form-control p-2" > </div> </div> </div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Faq Image'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="title"><?php echo e(trans('admin.form.title')); ?></label> <input value="<?php echo e(isset($template->faq_title)?$template->faq_title:''); ?>" type="text" name="faq_title" class="form-control" id="title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span></label> <input name="faq_bg_image" type="file" class="form-control p-2"> </div> </div>
</div> </div> </div>
<div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Contact Us'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label for="contact_us_title"><?php echo e(trans('admin.form.title')); ?></label> <input value="<?php echo e(isset($template->contact_us_title)?$template->contact_us_title:''); ?>" type="text" name="contact_us_title" class="form-control" id="contact_us_title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="contact_us_sub_title"><?php echo e(trans('Sub Title')); ?></label> <input value="<?php echo e(isset($template->contact_us_sub_title)?$template->contact_us_sub_title:''); ?>" type="text" name="contact_us_sub_title" class="form-control" id="contact_us_sub_title" placeholder="<?php echo e(trans('Sub Title')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="profile"><?php echo app('translator')->get('admin.background_image'); ?> <span class="text-danger">(<?php echo app('translator')->get('admin.expecting_image_size'); ?>: 400px by 343px)</span></label> <input name="contact_us_bg_image" type="file" class="form-control p-2"> </div> </div> </div> </div> </div> <div class="custom_body"> <div class="card-header"> <div class="card-title font-title"><?php echo app('translator')->get('Social Links'); ?></div> </div> <div class="card-body"> <div class="row"> <div class="col-md-4"> <input type="text" class="form-control" value="<?php echo e(isset($template->social_link_skype)?$template->social_link_skype:''); ?>" name="social_link_skype" placeholder="Enter Skype Url"> </div> <div class="col-md-4"> <input type="text" class="form-control" value="<?php echo e(isset($template->social_link_facebook)?$template->social_link_facebook:''); ?>" name="social_link_facebook" placeholder="Enter Facebook Url"> </div> <div class="col-md-4"> <input type="text" class="form-control" value="<?php echo e(isset($template->social_link_twitter)?$template->social_link_twitter:''); ?>" name="social_link_twitter" placeholder="Enter Twitter Url"> </div>
<div class="col-md-4"> <input type="text" class="form-control mt-3" value="<?php echo e(isset($template->social_link_youtube)?$template->social_link_youtube:''); ?>" name="social_link_youtube" placeholder="Enter Youtube Url"> </div> <div class="col-md-4"> <input type="text" class="form-control mt-3" value="<?php echo e(isset($template->social_link_linkedin)?$template->social_link_linkedin:''); ?>" name="social_link_linkedin" placeholder="Enter LinkedIn Url"> </div> <div class="col-md-4"> <input type="text" class="form-control mt-3" value="<?php echo e(isset($template->social_link_pinterest)?$template->social_link_pinterest:''); ?>" name="social_link_pinterest" placeholder="Enter Pinterest Url"> </div>
</div> </div> </div>
<!-- /.card-body --> <div class="card-footer"> <button type="submit" class="btn btn-primary"><?php echo app('translator')->get('admin.form.button.submit'); ?></button> </div> </form> </div>
</div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/jquery-validation/jquery.validate.min.js')); ?>"></script> <script !src=""> "use strict"; $('#planForm').validate({ rules: { question: { required: true }, answer: { required: true }, status: { required: true }, }, messages: { question: { required:"Please provide plan title"}, answer: { required:"Please provide sms limit"}, status: { required:"Please select a status"} }, errorElement: 'span', errorPlacement: function (error, element) { error.addClass('invalid-feedback'); element.closest('.form-group').append(error); }, highlight: function (element, errorClass, validClass) { $(element).addClass('is-invalid'); }, unhighlight: function (element, errorClass, validClass) { $(element).removeClass('is-invalid'); } });
let rowNumber = 1;
$(document).on('click', '#plus', function (e){ rowNumber++ $('#add_row').prepend(`<div class="row" id="delete_row_${rowNumber}"> <div class="col-lg-11"> <div class="form-group"> <label for="about_us_title"><?php echo e(trans('admin.form.title')); ?></label> <input value="" type="text" name="sec_four_title[]" class="form-control" id="sec_four_title" placeholder="<?php echo e(trans('admin.form.title')); ?>"> </div> </div> <div class="col-lg-1 add-btn"> <div class="form-group"> <button type="button" data-number="${rowNumber}" class="faq_row btn-sm btn-danger mb-2 d-block float-right"><i class="fa fa-trash c-pointer" ></i></button> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label for="description"><?php echo app('translator')->get('admin.page.description'); ?></label> <textarea name="sec_four_description[]" id="sec_four_description" class="form-control" placeholder="<?php echo e(trans('admin.page.description')); ?>"><?php echo e(isset($page) && $page->description?$page->description:old('description')); ?></textarea> </div> </div> </div>`); });
$(document).on('click', '.faq_row', function (e){ const number =$(this).attr('data-number');
$('#delete_row_'+ number).remove(); });
$(document).on('click', '.delete_image', function(e){ const key = $(this).attr('data-key'); const image = $(this).attr('data-image');
$.ajax({ type:'GET', url:'<?php echo e(route('admin.partner.image.delete')); ?>', data:{ image:image, key:key },
success: function (res){
if(res.status=='success'){ $('#deleteImage_'+ key).remove(); $(document).Toasts('create', { autohide: true, delay: 10000, class: 'bg-success', title: 'Notification', body: res.message, }); } } }); }) </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/fitness.picotech.app/public_html/resources/views/admin/template/index.blade.php ENDPATH**/ ?>
|