624 lines
41 KiB
PHP
624 lines
41 KiB
PHP
<?php $__env->startSection('content'); ?>
|
|
<?php if (isset($component)) { $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.breadcumb','data' => ['title' => $title]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('dashboard.breadcumb'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
|
|
<?php $attributes = $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
|
|
<?php unset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
|
|
<?php $component = $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
|
|
<?php unset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
|
|
<?php endif; ?>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="card-title mb-0">Website Information</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<!-- Nav tabs -->
|
|
<ul class="nav nav-tabs nav-border-top nav-border-top-primary mb-3" role="tablist">
|
|
<li class="nav-item">
|
|
<a class="nav-link active" data-bs-toggle="tab" href="#general-tab" role="tab"
|
|
aria-selected="false">
|
|
General Content
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#assets-tab" role="tab"
|
|
aria-selected="false">
|
|
Assets
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#address-tab" role="tab"
|
|
aria-selected="false">
|
|
Address
|
|
</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#social-tab" role="tab"
|
|
aria-selected="false">
|
|
Social Links
|
|
</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#seo-tab" role="tab"
|
|
aria-selected="true">
|
|
SEO
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#banner-tab" role="tab"
|
|
aria-selected="true">
|
|
Default Banner
|
|
</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#recaptcha-tab" role="tab"
|
|
aria-selected="true">
|
|
Recaptcha
|
|
</a>
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-bs-toggle="tab" href="#other-tab" role="tab"
|
|
aria-selected="true">
|
|
Other
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<!-- Tab panes -->
|
|
<?php echo e(html()->form('POST', route('setting.store'))->open()); ?>
|
|
|
|
<div class="tab-content text-muted">
|
|
<div class="tab-pane active" id="general-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Title')->class('form-label')->for('title')); ?>
|
|
|
|
<?php echo e(html()->text('title')->class('form-control')->value(setting('title'))->placeholder('Enter Title')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Footer - About Us')->class('form-label')->for('description')); ?>
|
|
|
|
<?php echo e(html()->textarea('description')->class('form-control')->value(setting('description'))->placeholder('Enter Description')->rows(5)); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Footer - Copyright')->class('form-label')->for('copyright')); ?>
|
|
|
|
<?php echo e(html()->text('copyright')->class('form-control')->value(setting('copyright'))->placeholder('Enter Copyright Text')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Phone')->class('form-label')->for('phone')); ?>
|
|
|
|
<?php echo e(html()->text('phone')->class('form-control')->value(setting('phone'))->placeholder('Enter Phone')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Mobile')->class('form-label')->for('mobile')); ?>
|
|
|
|
<?php echo e(html()->text('mobile')->class('form-control')->value(setting('mobile'))->placeholder('Enter Mobile')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Email')->class('form-label')->for('email')); ?>
|
|
|
|
<?php echo e(html()->email('email')->class('form-control')->value(setting('email'))->placeholder('Enter Email')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Office - Working Days')->class('form-label')->for('working_days')); ?>
|
|
|
|
<?php echo e(html()->text('working_days')->class('form-control')->value(setting('working_days'))->placeholder('Enter Working Days')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Office - Working Hours')->class('form-label')->for('working_hours')); ?>
|
|
|
|
<?php echo e(html()->text('working_hours')->class('form-control')->value(setting('working_hours'))->placeholder('Enter Working Hours')); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<div class="tab-pane" id="assets-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Logo')->class('form-label')->for('logo')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? setting('logo') : null),'id' => 'logo','name' => 'logo','editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'multiple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Logo - White')->class('form-label')->for('logo_white')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? setting('logo_white') : null),'id' => 'logo_white','name' => 'logo_white','editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'multiple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Fav Icon')->class('form-label')->for('favicon')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? setting('favicon') : null),'id' => 'favicon','name' => 'favicon','editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'mulitple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<div class="tab-pane" id="address-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-3">
|
|
<?php echo e(html()->label('Website URL')->class('form-label')->for('website_url')); ?>
|
|
|
|
<?php echo e(html()->text('website_url')->class('form-control')->value(setting('website_url'))->placeholder('Enter Website URL')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
<?php echo e(html()->label('Zip Code')->class('form-label')->for('zipcode')); ?>
|
|
|
|
<?php echo e(html()->text('zipcode')->class('form-control')->value(setting('zipcode'))->placeholder('Enter Zip Code')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<?php echo e(html()->label('Location')->class('form-label')->for('location')); ?>
|
|
|
|
<?php echo e(html()->text('location')->class('form-control')->value(setting('location'))->placeholder('Enter Office Location')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Google Map Iframe')->class('form-label')->for('map')); ?>
|
|
|
|
<?php echo html()->textarea('map')->class('form-control')->value(setting('map'))->placeholder('Enter Google Map Iframe')->rows(5); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<div class="tab-pane" id="seo-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Meta Title')->class('form-label')->for('meta_title')); ?>
|
|
|
|
<?php echo e(html()->text('meta_title')->class('form-control')->value(setting('meta_title'))->placeholder('Enter Meta Title')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Meta Keywords')->class('form-label')->for('meta_keywords')); ?>
|
|
|
|
<?php echo e(html()->textarea('meta_keywords')->class('form-control')->value(setting('meta_keywords'))->placeholder('Enter Meta Keywords')->rows(3)); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-12">
|
|
<?php echo e(html()->label('Meta Description')->class('form-label')->for('meta_description')); ?>
|
|
|
|
<?php echo e(html()->textarea('meta_description')->class('form-control')->value(setting('meta_description'))->placeholder('Enter Meta Description')->rows(5)); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="banner-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Banner')->class('form-label')->for('banner')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? setting('banner') : null),'id' => 'banner','name' => 'banner','editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'multiple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="recaptcha-tab" role="tabpanel">
|
|
<div class="row d-flex flex-column gy-3">
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Recaptcha Site Key')->class('form-label')->for('recaptcha_site_key')); ?>
|
|
|
|
<?php echo e(html()->text('recaptcha_site_key')->class('form-control')->value(setting('recaptcha_site_key'))->placeholder('Enter Recaptcha Site Key')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Recaptcha Secret Key')->class('form-label')->for('recaptcha_secret_key')); ?>
|
|
|
|
<?php echo e(html()->text('recaptcha_secret_key')->class('form-control')->value(setting('recaptcha_secret_key'))->placeholder('Enter Recaptcha Secret Key')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
<?php echo e(html()->checkbox('enable_reCaptcha')->class('form-check-input me-1')->value(1)->checked(setting('enable_reCaptcha') == 1)); ?>
|
|
|
|
<?php echo e(html()->label('Enable reCAPTCHA')->class('form-label')); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="social-tab" role="tabpanel">
|
|
<div class="row gy-3">
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Facebook')->class('form-label')->for('facebook')); ?>
|
|
|
|
<?php echo e(html()->text('facebook')->class('form-control')->value(setting('facebook'))->placeholder('Enter Facebook Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Youtube')->class('form-label')->for('youtube')); ?>
|
|
|
|
<?php echo e(html()->text('youtube')->class('form-control')->value(setting('youtube'))->placeholder('Enter Youtube Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Instagram')->class('form-label')->for('instagram')); ?>
|
|
|
|
<?php echo e(html()->text('instagram')->class('form-control')->value(setting('instagram'))->placeholder('Enter Instagram Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Twitter')->class('form-label')->for('twitter')); ?>
|
|
|
|
<?php echo e(html()->text('twitter')->class('form-control')->value(setting('twitter'))->placeholder('Enter Twitter Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Linkedin')->class('form-label')->for('linkedin')); ?>
|
|
|
|
<?php echo e(html()->text('linkedin')->class('form-control')->value(setting('linkedin'))->placeholder('Enter Linkedin Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Whatsapp')->class('form-label')->for('whatsapp')); ?>
|
|
|
|
<?php echo e(html()->text('whatsapp')->class('form-control')->value(setting('whatsapp'))->placeholder('Enter Whatsapp Link')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Tiktok')->class('form-label')->for('tiktok')); ?>
|
|
|
|
<?php echo e(html()->text('tiktok')->class('form-control')->value(setting('tiktok'))->placeholder('Enter Tiktok Link')); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tab-pane" id="other-tab" role="tabpanel">
|
|
<div class="row d-flex flex-column gy-3">
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('President')->class('form-label')->for('president')); ?>
|
|
|
|
<?php echo e(html()->text('president')->class('form-control')->value(setting('president'))->placeholder('Enter President Name')); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Preloader')->class('form-label')->for('preloader_check')); ?>
|
|
|
|
<?php echo e(html()->select('preloader_check', ['1' => 'Enable', '0' => 'Disable'])->class('form-select choices-select')->value(setting('color'))); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Theme')->class('form-label')->for('color')); ?>
|
|
|
|
<?php echo e(html()->input($type = 'color', $name = 'color')->class('form-control')->value(setting('color'))); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Other Image')->class('form-label')->for('other_image')); ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4a95833b519aeb799c35637497d32ce2 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4a95833b519aeb799c35637497d32ce2 = $attributes; } ?>
|
|
<?php $component = App\View\Components\ImageInput::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('image-input'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\App\View\Components\ImageInput::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable ? setting('other_image') : null),'id' => 'other_image','name' => 'other_image','editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'multiple' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $attributes = $__attributesOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__attributesOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4a95833b519aeb799c35637497d32ce2)): ?>
|
|
<?php $component = $__componentOriginal4a95833b519aeb799c35637497d32ce2; ?>
|
|
<?php unset($__componentOriginal4a95833b519aeb799c35637497d32ce2); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
<?php echo e(html()->label('Chatbot')->class('form-label')->for('chatbot_check')); ?>
|
|
|
|
<?php echo e(html()->select('chatbot_check', ['1' => 'Enable', '0' => 'Disable'], 0)->class('form-select choices-select')->value(setting('chatbot_check'))); ?>
|
|
|
|
</div>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal4472fe0a558b38a919fed94c8472a9fd = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form-buttons','data' => ['editable' => $editable,'label' => 'Update','href' => ''.e(route('setting.index')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('form-buttons'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['editable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($editable),'label' => 'Update','href' => ''.e(route('setting.index')).'']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $attributes = $__attributesOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__attributesOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd)): ?>
|
|
<?php $component = $__componentOriginal4472fe0a558b38a919fed94c8472a9fd; ?>
|
|
<?php unset($__componentOriginal4472fe0a558b38a919fed94c8472a9fd); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo e(html()->form()->close()); ?>
|
|
|
|
</div><!-- end card-body -->
|
|
</div><!-- end card -->
|
|
</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:\installed\xampp\htdocs\bib\Consultancy-CCMS\Modules/CCMS\resources/views/setting/index.blade.php ENDPATH**/ ?>
|