1936a63b687e1bc42a319f457ee4ab671c271e04.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!doctype html>
  2. <?php if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1): ?>
  3. <html dir="rtl" lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
  4. <?php else: ?>
  5. <html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
  6. <?php endif; ?>
  7. <head>
  8. <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
  9. <meta name="app-url" content="<?php echo e(getBaseURL()); ?>">
  10. <meta name="file-base-url" content="<?php echo e(getFileBaseURL()); ?>">
  11. <!-- Required meta tags -->
  12. <meta charset="utf-8">
  13. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  14. <!-- Favicon -->
  15. <link rel="icon" href="<?php echo e(uploaded_asset(get_setting('site_icon'))); ?>">
  16. <title><?php echo e(get_setting('website_name').' | '.get_setting('site_motto')); ?></title>
  17. <!-- google font -->
  18. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700">
  19. <!-- aiz core css -->
  20. <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/vendors.css')); ?>">
  21. <?php if(\App\Models\Language::where('code', Session::get('locale', Config::get('app.locale')))->first()->rtl == 1): ?>
  22. <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/bootstrap-rtl.min.css')); ?>">
  23. <?php endif; ?>
  24. <link rel="stylesheet" href="<?php echo e(static_asset('assets/css/aiz-seller.css')); ?>">
  25. <style>
  26. body {
  27. font-size: 12px;
  28. }
  29. </style>
  30. <script>
  31. var AIZ = AIZ || {};
  32. AIZ.local = {
  33. nothing_selected: '<?php echo translate('Nothing selected', null, true); ?>',
  34. nothing_found: '<?php echo translate('Nothing found', null, true); ?>',
  35. choose_file: '<?php echo e(translate('Choose file')); ?>',
  36. file_selected: '<?php echo e(translate('File selected')); ?>',
  37. files_selected: '<?php echo e(translate('Files selected')); ?>',
  38. add_more_files: '<?php echo e(translate('Add more files')); ?>',
  39. adding_more_files: '<?php echo e(translate('Adding more files')); ?>',
  40. drop_files_here_paste_or: '<?php echo e(translate('Drop files here, paste or')); ?>',
  41. browse: '<?php echo e(translate('Browse')); ?>',
  42. upload_complete: '<?php echo e(translate('Upload complete')); ?>',
  43. upload_paused: '<?php echo e(translate('Upload paused')); ?>',
  44. resume_upload: '<?php echo e(translate('Resume upload')); ?>',
  45. pause_upload: '<?php echo e(translate('Pause upload')); ?>',
  46. retry_upload: '<?php echo e(translate('Retry upload')); ?>',
  47. cancel_upload: '<?php echo e(translate('Cancel upload')); ?>',
  48. uploading: '<?php echo e(translate('Uploading')); ?>',
  49. processing: '<?php echo e(translate('Processing')); ?>',
  50. complete: '<?php echo e(translate('Complete')); ?>',
  51. file: '<?php echo e(translate('File')); ?>',
  52. files: '<?php echo e(translate('Files')); ?>',
  53. }
  54. </script>
  55. </head>
  56. <body class="">
  57. <div class="aiz-main-wrapper">
  58. <?php echo $__env->make('seller.inc.seller_sidenav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  59. <div class="aiz-content-wrapper">
  60. <?php echo $__env->make('seller.inc.seller_nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  61. <div class="aiz-main-content">
  62. <div class="px-15px px-lg-25px">
  63. <?php echo $__env->yieldContent('panel_content'); ?>
  64. </div>
  65. <div class="bg-white text-center py-3 px-15px px-lg-25px mt-auto border-sm-top">
  66. <!--<p class="mb-0">&copy; <?php echo e(get_setting('site_name')); ?> </p>-->
  67. </div>
  68. </div><!-- .aiz-main-content -->
  69. </div><!-- .aiz-content-wrapper -->
  70. </div><!-- .aiz-main-wrapper -->
  71. <?php echo $__env->yieldContent('modal'); ?>
  72. <script src="<?php echo e(static_asset('assets/js/vendors.js')); ?>" ></script>
  73. <script src="<?php echo e(static_asset('assets/js/aiz-core.js')); ?>" ></script>
  74. <?php echo $__env->yieldContent('script'); ?>
  75. <script type="text/javascript">
  76. <?php $__currentLoopData = session('flash_notification', collect())->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  77. AIZ.plugins.notify('<?php echo e($message['level']); ?>', '<?php echo e($message['message']); ?>');
  78. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  79. if ($('#lang-change').length > 0) {
  80. $('#lang-change .dropdown-menu a').each(function() {
  81. $(this).on('click', function(e){
  82. e.preventDefault();
  83. var $this = $(this);
  84. var locale = $this.data('flag');
  85. $.post('<?php echo e(route('language.change')); ?>',{_token:'<?php echo e(csrf_token()); ?>', locale:locale}, function(data){
  86. location.reload();
  87. });
  88. });
  89. });
  90. }
  91. function menuSearch(){
  92. var filter, item;
  93. filter = $("#menu-search").val().toUpperCase();
  94. items = $("#main-menu").find("a");
  95. items = items.filter(function(i,item){
  96. if($(item).find(".aiz-side-nav-text")[0].innerText.toUpperCase().indexOf(filter) > -1 && $(item).attr('href') !== '#'){
  97. return item;
  98. }
  99. });
  100. if(filter !== ''){
  101. $("#main-menu").addClass('d-none');
  102. $("#search-menu").html('')
  103. if(items.length > 0){
  104. for (i = 0; i < items.length; i++) {
  105. const text = $(items[i]).find(".aiz-side-nav-text")[0].innerText;
  106. const link = $(items[i]).attr('href');
  107. $("#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`);
  108. }
  109. }else{
  110. $("#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>`);
  111. }
  112. }else{
  113. $("#main-menu").removeClass('d-none');
  114. $("#search-menu").html('')
  115. }
  116. }
  117. </script>
  118. </body>
  119. </html>
  120. <?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/seller/layouts/app.blade.php ENDPATH**/ ?>