Viewing file: 4fce4f46dbaadac9a429abc4ec00fcf6b51dd309.php (5.99 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="tab-pane fade" id="v-pills-layout" role="tabpanel" aria-labelledby="v-pills-layout-tab">
<div class="row">
<div class="col-sm-12 <?php echo e(languageDirection() == 'ltr' ? 'pe-0' : 'ps-0'); ?>">
<div class="table-responsive">
<table class="table table-bordered table-hover table-main">
<thead class="text-dark border-top-gray bg-light-gray">
<tr>
<th><?php echo e(__('Name')); ?></th>
<th width="250"><?php echo e(__('Primary Color')); ?></th>
<th><?php echo e(__('Action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $layouts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<?php echo e(ucFirst(str_replace('_', ' ', $data))); ?>
<form></form>
</td>
<td>
<?php
$primaryColor = $themeOption->where('name', $data . '_template_primary_color');
$color = '#FCCA19';
if ($primaryColor->count()) {
$color = $primaryColor->first()->value;
}
?>
<div>
<input type="text"
class="form-control demo layout-primary-color inputFieldDesign"
data-control="hue" name="<?php echo e($data); ?>_template_primary_color"
value="<?php echo e($color); ?>">
</div>
</td>
<td width="300" class="flex justify-content-center">
<div class="header-btns-lg">
<?php if($data != 'default'): ?>
<span class="header-btn btn-primary font-bold" id="layout-edit"
data-bs-toggle="modal" data-bs-target="#edit-layout"
data-layout="<?php echo e(ucFirst(str_replace('_', ' ', $data))); ?>">
<i
class="feather icon-edit neg-transition-scale-svg <?php echo e(languageDirection() == 'ltr' ? 'me-2' : 'ms-2'); ?>"></i><?php echo e(__('Edit')); ?>
</span>
<form method="post"
action="<?php echo e(route('theme.layout.delete', ['layout' => $data])); ?>"
id="delete-layout-<?php echo e($data); ?>" accept-charset="UTF-8"
class="display_inline">
<?php echo csrf_field(); ?>
<span class="header-btn delete-button" data-bs-toggle="modal"
data-label="Delete" data-delete="layout"
data-bs-target="#confirmDelete" data-id="<?php echo e($data); ?>"
title="<?php echo e(__('Delete Layout')); ?>"
data-title="<?php echo e(__('Delete :x', ['x' => __('Layout')])); ?>"
data-message="<?php echo e(__('Are you sure to delete this?')); ?>">
<i
class="feather icon-trash-2 <?php echo e(languageDirection() == 'ltr' ? 'me-2' : 'ms-2'); ?>"></i><?php echo e(__('Delete')); ?>
</span>
</form>
<?php endif; ?>
<?php if($data != $layout): ?>
<span class="header-btn folding font-bold btn-primary" id="layout-setting"
data-val="<?php echo e($data); ?>">
<i
class="feather icon-settings <?php echo e(languageDirection() == 'ltr' ? 'me-2' : 'ms-2'); ?>"></i><?php echo e(__('Setting')); ?>
</span>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<tr>
<td colspan="10" class="pt-3">
<button type="button" data-bs-toggle="modal" data-bs-target="#add-layout"
class="btn custom-btn-submit"><?php echo e(__('Add New Layout')); ?></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/Modules/CMS/Resources/views/partials/themes/page/layout.blade.php ENDPATH**/ ?>
|