123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <!doctype html>
- <?php if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1): ?>
- <html dir="rtl" lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
- <?php else: ?>
- <html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
- <?php endif; ?>
- <head>
- <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
- <meta name="app-url" content="<?php echo e(getBaseURL()); ?>">
- <meta name="file-base-url" content="<?php echo e(getFileBaseURL()); ?>">
- <!-- Required meta tags -->
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <!-- Favicon -->
- <link rel="icon" href="<?php echo e(uploaded_asset(get_setting('site_icon'))); ?>">
- <title><?php echo e(get_setting('website_name').' | '.get_setting('site_motto')); ?></title>
- <!-- google font -->
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700">
- <!-- aiz core css -->
- <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/vendors.css')); ?>">
- <?php if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1): ?>
- <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/bootstrap-rtl.min.css')); ?>">
- <?php endif; ?>
- <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/aiz-core.css')); ?>">
- <style>
- body {
- font-size: 12px;
- }
- </style>
- <script>
- var AIZ = AIZ || {};
- AIZ.local = {
- nothing_selected: '<?php echo translate('Nothing selected', null, true); ?>',
- nothing_found: '<?php echo translate('Nothing found', null, true); ?>',
- choose_file: '<?php echo e(translate('Choose file')); ?>',
- file_selected: '<?php echo e(translate('File selected')); ?>',
- files_selected: '<?php echo e(translate('Files selected')); ?>',
- add_more_files: '<?php echo e(translate('Add more files')); ?>',
- adding_more_files: '<?php echo e(translate('Adding more files')); ?>',
- drop_files_here_paste_or: '<?php echo e(translate('Drop files here, paste or')); ?>',
- browse: '<?php echo e(translate('Browse')); ?>',
- upload_complete: '<?php echo e(translate('Upload complete')); ?>',
- upload_paused: '<?php echo e(translate('Upload paused')); ?>',
- resume_upload: '<?php echo e(translate('Resume upload')); ?>',
- pause_upload: '<?php echo e(translate('Pause upload')); ?>',
- retry_upload: '<?php echo e(translate('Retry upload')); ?>',
- cancel_upload: '<?php echo e(translate('Cancel upload')); ?>',
- uploading: '<?php echo e(translate('Uploading')); ?>',
- processing: '<?php echo e(translate('Processing')); ?>',
- complete: '<?php echo e(translate('Complete')); ?>',
- file: '<?php echo e(translate('File')); ?>',
- files: '<?php echo e(translate('Files')); ?>',
- }
- </script>
- </head>
- <body class="">
- <div class="aiz-main-wrapper">
- <?php echo $__env->make('backend.inc.admin_sidenav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
- <div class="aiz-content-wrapper">
- <?php echo $__env->make('backend.inc.admin_nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
- <div class="aiz-main-content">
- <div class="px-15px px-lg-25px">
- <?php echo $__env->yieldContent('content'); ?>
- </div>
- <div class="bg-white text-center py-3 px-15px px-lg-25px mt-auto">
- <p class="mb-0">© <?php echo e(get_setting('site_name')); ?> </p>
- </div>
- </div><!-- .aiz-main-content -->
- </div><!-- .aiz-content-wrapper -->
- </div><!-- .aiz-main-wrapper -->
- <?php echo $__env->yieldContent('modal'); ?>
- <script src="<?php echo e(static_asset('assets/js/vendors.js')); ?>" ></script>
- <script src="<?php echo e(static_asset('assets/js/aiz-core.js')); ?>" ></script>
- <?php echo $__env->yieldContent('script'); ?>
- <script type="text/javascript">
- <?php $__currentLoopData = session('flash_notification', collect())->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
- AIZ.plugins.notify('<?php echo e($message['level']); ?>', '<?php echo e($message['message']); ?>');
- <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
- if ($('#lang-change').length > 0) {
- $('#lang-change .dropdown-menu a').each(function() {
- $(this).on('click', function(e){
- e.preventDefault();
- var $this = $(this);
- var locale = $this.data('flag');
- $.post('<?php echo e(route('language.change')); ?>',{_token:'<?php echo e(csrf_token()); ?>', locale:locale}, function(data){
- location.reload();
- });
- });
- });
- }
- function menuSearch(){
- var filter, item;
- filter = $("#menu-search").val().toUpperCase();
- items = $("#main-menu").find("a");
- items = items.filter(function(i,item){
- if($(item).find(".aiz-side-nav-text")[0].innerText.toUpperCase().indexOf(filter) > -1 && $(item).attr('href') !== '#'){
- return item;
- }
- });
- if(filter !== ''){
- $("#main-menu").addClass('d-none');
- $("#search-menu").html('')
- if(items.length > 0){
- for (i = 0; i < items.length; i++) {
- const text = $(items[i]).find(".aiz-side-nav-text")[0].innerText;
- const link = $(items[i]).attr('href');
- $("#search-menu").append(`<li class="aiz-side-nav-item"><a href="${link}" class="aiz-side-nav-link"><i class="las la-ellipsis-h aiz-side-nav-icon"></i><span>${text}</span></a></li`);
- }
- }else{
- $("#search-menu").html(`<li class="aiz-side-nav-item"><span class="text-center text-muted d-block"><?php echo e(translate('Nothing Found')); ?></span></li>`);
- }
- }else{
- $("#main-menu").removeClass('d-none');
- $("#search-menu").html('')
- }
- }
- </script>
- </body>
- </html>
- <?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/backend/layouts/app.blade.php ENDPATH**/ ?>
|