142 lines
4.6 KiB
PHP
Executable File
142 lines
4.6 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
|
|
<html
|
|
lang="<?php echo e(app()->getLocale()); ?>"
|
|
dir="<?php echo e(in_array(app()->getLocale(), ['fa', 'ar']) ? 'rtl' : 'ltr'); ?>"
|
|
>
|
|
|
|
<head>
|
|
<title><?php echo e($title ?? ''); ?></title>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta
|
|
http-equiv="X-UA-Compatible"
|
|
content="IE=edge"
|
|
>
|
|
|
|
<meta
|
|
http-equiv="content-language"
|
|
content="<?php echo e(app()->getLocale()); ?>"
|
|
>
|
|
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1"
|
|
>
|
|
<meta
|
|
name="base-url"
|
|
content="<?php echo e(url()->to('/')); ?>"
|
|
>
|
|
|
|
<?php echo $__env->yieldPushContent('meta'); ?>
|
|
|
|
<?php echo e(vite()->set(['src/Resources/assets/css/app.css', 'src/Resources/assets/js/app.js'], 'webform')); ?>
|
|
|
|
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
|
|
<?php if($favicon = core()->getConfigData('general.design.admin_logo.favicon')): ?>
|
|
<link
|
|
type="image/x-icon"
|
|
href="<?php echo e(Storage::url($favicon)); ?>"
|
|
rel="shortcut icon"
|
|
sizes="16x16"
|
|
>
|
|
<?php else: ?>
|
|
<link
|
|
type="image/x-icon"
|
|
href="<?php echo e(vite()->asset('images/favicon.ico')); ?>"
|
|
rel="shortcut icon"
|
|
sizes="16x16"
|
|
/>
|
|
<?php endif; ?>
|
|
|
|
<?php echo $__env->yieldPushContent('styles'); ?>
|
|
|
|
<style>
|
|
<?php echo core()->getConfigData('general.content.custom_scripts.custom_css'); ?>
|
|
|
|
</style>
|
|
|
|
<?php echo view_render_event('webform.layout.head'); ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<?php echo view_render_event('webform.layout.body.before'); ?>
|
|
|
|
|
|
<div id="app">
|
|
<!-- Flash Message Blade Component -->
|
|
<?php if (isset($component)) { $__componentOriginal69131811cf2d2d203683a288ae04e33d = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal69131811cf2d2d203683a288ae04e33d = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'web_form::components.flash-group.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('web_form::flash-group'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
|
|
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes([]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal69131811cf2d2d203683a288ae04e33d)): ?>
|
|
<?php $attributes = $__attributesOriginal69131811cf2d2d203683a288ae04e33d; ?>
|
|
<?php unset($__attributesOriginal69131811cf2d2d203683a288ae04e33d); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal69131811cf2d2d203683a288ae04e33d)): ?>
|
|
<?php $component = $__componentOriginal69131811cf2d2d203683a288ae04e33d; ?>
|
|
<?php unset($__componentOriginal69131811cf2d2d203683a288ae04e33d); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('webform.layout.content.before'); ?>
|
|
|
|
|
|
<!-- Page Content Blade Component -->
|
|
<?php echo e($slot); ?>
|
|
|
|
|
|
<?php echo view_render_event('webform.layout.content.after'); ?>
|
|
|
|
</div>
|
|
|
|
<?php echo view_render_event('webform.layout.body.after'); ?>
|
|
|
|
|
|
<?php echo $__env->yieldPushContent('scripts'); ?>
|
|
|
|
<?php echo view_render_event('webform.layout.vue-app-mount.before'); ?>
|
|
|
|
|
|
<script>
|
|
/**
|
|
* Load event, the purpose of using the event is to mount the application
|
|
* after all of our Vue components which is present in blade file have
|
|
* been registered in the app. No matter what app.mount() should be
|
|
* called in the last.
|
|
*/
|
|
window.addEventListener("load", function(event) {
|
|
app.mount("#app");
|
|
});
|
|
</script>
|
|
|
|
<?php echo view_render_event('webform.layout.vue-app-mount.after'); ?>
|
|
|
|
|
|
<script type="text/javascript">
|
|
<?php echo core()->getConfigData('general.content.custom_scripts.custom_javascript'); ?>
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|
|
<?php /**PATH /var/www/html/packages/Webkul/WebForm/src/Resources/views/components/layouts/index.blade.php ENDPATH**/ ?>
|