Viewing file: 985eed2557308c516e3348ff5d209596a16c81ea.php (17.16 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html> <?php $siteDirection=isset(json_decode(get_settings('local_setting'))->direction)?json_decode(get_settings('local_setting'))->direction:'ltr'; ?> <html lang="en" dir="<?php echo e($siteDirection); ?>"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge">
<title><?php echo $__env->yieldContent('title'); ?></title>
<!-- Font Awesome Icons --> <link rel="stylesheet" href="<?php echo e(asset('plugins/fontawesome-free/css/all.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/toastr/toastr.min.css')); ?>"> <!-- Theme style --> <link rel="stylesheet" href="<?php echo e(asset('css/adminlte.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/custom.css')); ?>"> <?php if(get_settings('app_favicon')): ?> <link rel="shortcut icon" href="<?php echo e(asset('uploads/'.get_settings('app_favicon'))); ?>" type="image/x-icon"> <?php endif; ?> <!-- Google Font: Source Sans Pro --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'> <link href="<?php echo e(asset('plugins/select2/css/select2.min.css')); ?>" rel="stylesheet" /> <style> .select2-container .select2-selection--single{ height: 37px !important; } .select2-container--default{ width: 100% !important; } .sms-credit{ padding: 7px 20px; border-radius: 5px; font-weight: 800; } .credit-section{ width: 290px; border: 1px solid #bdb5b5; border-radius: 5px; } .balance-section{ border-right: 3px solid black; padding-top: 22px; } .display-none{ display: none; } .basic-sidebar{ position: absolute; z-index: 9999; right: 0; height: -webkit-fill-available; top: 0; } .close-basic-sidebar{ font-size: 29px; font-weight: 900; background: red; padding: 0px 10px; } .responsive-toggle{ display: none; } .height-300{ height: 300px; } @media (max-width: 1100px) { .top-up-section{ display: none; } .responsive-toggle{ display: block; } .responsive-profile{ display: block; } .desktop-profile{ display: none; } } .notice-card{ background: #c1afaf2b; } .notice-modal-body{ min-height: 300px; overflow-y: scroll; } .c-pointer{ cursor: pointer; } .notice-row{ padding: 5px 20px; } .counter{ float: right; position: absolute; background: #dc4745; padding: 3px 8px 1px 7px; font-size: 11px; color: white; border-radius: 50%; right: 0px; z-index: 9999; margin-top: 7px; font-weight: 600; } </style>
<?php $themeData=json_decode(get_settings('theme_customize'))?json_decode(get_settings('theme_customize')):''; ?> <style> .select2-container .select2-selection--single{ height: 37px !important; } .lang-colour{ background-color: #e6f7ff; } .lang-colour i{ color: black; font-size: 24px; } .dark-mode { background-color: #454d55!important; color: #fff; } html[theme='dark-mode'] { filter: invert(1) hue-rotate(180deg); }
<?php if(isset($themeData->navbar_color)): ?> .main-header { background: <?php echo e($themeData->navbar_color); ?>; } <?php endif; ?> <?php if(isset($themeData->left_sidebar)): ?> .main-sidebar { background: <?php echo e($themeData->left_sidebar); ?>; } <?php endif; ?>
<?php if(isset($themeData->active_sidebar)): ?> .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active { background-color: <?php echo e($themeData->active_sidebar); ?>; } <?php endif; ?> </style>
<?php echo $__env->yieldContent('extra-css'); ?> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper">
<!-- Navbar --> <nav class="main-header navbar navbar-expand navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> </ul>
<!-- Right navbar links --> <ul class="navbar-nav ml-auto">
<li class="nav-item dropdown user-menu responsive-profile"> <?php if(auth('customer')->user()->profile_picture): ?> <a href="#" class="nav-link responsive-toggle"> <img src="<?php echo e(asset('uploads/'.auth('customer')->user()->profile_picture)); ?>" class="user-image img-circle elevation-2" alt="img"> </a> <?php endif; ?> </li> <li class="nav-item dropdown user-menu desktop-profile"> <a href="<?php echo e(route('customer.settings.index')); ?>" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-expanded="true"> <?php if(auth('customer')->user()->profile_picture): ?> <img src="<?php echo e(asset('uploads/'.auth('customer')->user()->profile_picture)); ?>" class="user-image img-circle elevation-2" alt="img"> <?php endif; ?> </a> <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right dropdown-profile"> <!-- User image --> <li class="user-header bg-primary"> <?php if(auth('customer')->user()->profile_picture): ?> <img src="<?php echo e(asset('uploads/'.auth('customer')->user()->profile_picture)); ?>" class="img-circle elevation-2" alt="<?php echo e(auth('customer')->user()->full_name); ?>"> <?php endif; ?> <p> <?php echo e(auth('customer')->user()->full_name); ?>
<small>Member since <?php echo e(date('M. Y')); ?></small> </p> </li> <!-- Menu Footer--> <li class="user-footer"> <a href="<?php echo e(route('customer.settings.index')); ?>" class="btn btn-default btn-flat"><?php echo e(trans('customer.profile')); ?></a> <a href="<?php echo e(route('customer.logout')); ?>" class="btn btn-default btn-flat float-right"><?php echo e(trans('customer.sign_out')); ?></a> </li> </ul> </li> </ul> </nav> <!-- /.navbar -->
<!-- Main Sidebar Container --> <aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Brand Logo --> <?php if(get_settings('app_logo')): ?> <a href="<?php echo e(route('customer.dashboard')); ?>" class="brand-link"> <img class="layout-logo" src="<?php echo e(asset('uploads/'.get_settings('app_logo'))); ?>" alt=""> <span class="brand-text font-weight-light"><?php echo e(get_settings('app_name')); ?></span> </a> <?php endif; ?> <!-- Sidebar --> <div class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel mt-3 mb-3 d-flex"> <div class="image"> <?php if(auth('customer')->user()->profile_picture): ?> <img src="<?php echo e(asset('uploads/'.auth('customer')->user()->profile_picture)); ?>" class="customer-profile img-circle elevation-2" alt="User Image"> <?php endif; ?> </div> <div class="info"> <a href="<?php echo e(route('customer.settings.index')); ?>" class="d-block"><?php echo e(auth('customer')->user()->full_name); ?></a> </div> </div>
<!-- Sidebar Menu --> <nav class="mt-2"> <?php echo $__env->make('layouts.includes.customer_sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </nav> <!-- /.sidebar-menu --> </div> <!-- /.sidebar --> </aside>
<aside class="basic-sidebar sidebar-dark-primary elevation-5 display-none"> <!-- Brand Logo --> <div> <a href="#" class="brand-link p-0"> <span class="close-basic-sidebar" aria-hidden="true">×</span> </a> </div>
<!-- Sidebar --> <div class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="d-flex"> <div class="info"> </div> </div>
<!-- Sidebar Menu --> <nav class="mt-4"> <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false"> <!-- Add icons to the links using the .nav-icon class with font-awesome or any other icon font library -->
<li class="nav-item "> <a href="<?php echo e(route('customer.settings.index')); ?>" class="nav-link p-0 <?php echo e(isSidebarActive('settings.index')); ?>"> <p> <?php echo e(trans('customer.profile')); ?>
</p> </a> </li> <li class="nav-item"> <a href="<?php echo e(route('customer.logout')); ?>" class="nav-link p-0 "> <p> <?php echo e(trans('customer.sign_out')); ?>
</p> </a> </li>
</ul> </nav> <!-- /.sidebar-menu --> </div> <!-- /.sidebar --> </aside>
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <?php echo $__env->yieldContent('content'); ?> </div> <!-- /.content-wrapper -->
<!-- /.control-sidebar -->
<!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="float-right"> <strong><?php echo e(trans('customer.copyright')); ?> © <?php echo e(date('Y')); ?> <a target="_blank" href="#"> <?php if(auth('customer')->user()->type=='normal'): ?> <?php echo e(get_settings('app_name')); ?>
<?php else: ?> <?php echo e(getCustomerSettings('app_name')); ?>
<?php endif; ?> </a>.</strong> <?php echo e(trans('customer.all_rights_reserved')); ?>
. </div>
</footer> </div> <!-- ./wrapper -->
<!-- Confirmation modal --> <div class="modal fade" id="modal-confirm"> <div class="modal-dialog"> <form id="modal-form"> <?php echo csrf_field(); ?> <div id="customInput"></div> <div class="modal-content"> <div class="modal-header p-2"> <h4 class="modal-title"><?php echo e(trans('customer.confirmation')); ?></h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body">
</div> <div class="modal-footer p-2"> <button id="modal-confirm-btn" type="submit" class="btn btn-primary btn-sm"><?php echo e(trans('customer.confirm')); ?></button> <button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"><?php echo e(trans('customer.cancel')); ?></button> </div> </div> <!-- /.modal-content --> </form> </div> <!-- /.modal-dialog --> </div> <!-- /.modal -->
<!-- REQUIRED SCRIPTS --> <script> "use strict"; </script> <!-- jQuery --> <script src="<?php echo e(asset('plugins/jquery/jquery.min.js')); ?>"></script> <!-- Bootstrap 4 --> <script src="<?php echo e(asset('plugins/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script> <!-- AdminLTE App --> <script src="<?php echo e(asset('js/adminlte.min.js')); ?>"></script> <script src="<?php echo e(asset('js/readmore.min.js')); ?>"></script> <script src="<?php echo e(asset('js/custom.js')); ?>?v=1.1"></script> <script src="<?php echo e(asset('plugins/select2/js/select2.full.js')); ?>"></script> <script> jQuery('button[type="submit"]').on('click', function (e) { var form = $(this).parents('form:first'); if (form) { $(this).attr('disabled', 'disabled').addClass('disabled') $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading'); form.submit(); } }); jQuery('#modal-confirm-btn').on('click', function (e) { var form = $(this).parents('form:first'); if (form.valid()) { $(this).attr('disabled', 'disabled').addClass('disabled') $(this).html(' <i class="fa fa-spinner fa-spin"></i> Loading'); form.submit(); } });
$(document).on('click', '.responsive-toggle', function (e){ $('.basic-sidebar').removeClass('display-none'); });
$(document).on('click', '.content-wrapper',function(e){ $(".basic-sidebar").addClass('display-none'); }); $(document).on('click', '.close-basic-sidebar',function(e){ $(".basic-sidebar").addClass('display-none'); }); </script>
<?php if(isset($themeData->type)): ?> <script> const type ='<?php echo e($themeData->type); ?>'; if(type=='dark'){ $('html').attr('theme', 'dark-mode') }else{ $('html').attr('theme', 'light-mode') } </script> <?php endif; ?> <?php if(isset($themeData->collapse_sidebar) && $themeData->collapse_sidebar=='true'): ?> <script> $('.fa-bars').trigger('click'); </script> <?php endif; ?>
<?php if(session()->has('success') || session()->has('fail') || count($errors)>0): ?> <?php if (isset($component)) { $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975 = $component; } ?> <?php $component = App\View\Components\Alert::resolve(['type' => session()->get('success')?'success':'danger','isErrors' => $errors,'message' => session()->get('success')??session()->get('fail')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('alert'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Alert::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($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975)): ?> <?php $component = $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975; ?> <?php unset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975); ?> <?php endif; ?> <?php endif; ?>
<script> $(function () { $('[data-toggle="tooltip"]').tooltip() }); </script>
<?php if(request()->get('settings_type') && request()->get('settings_type')=='local_setting_tab'): ?> <script> $(document).ready(function () { $('.local_setting_tab').trigger('click'); }); </script> <?php elseif(request()->get('settings_type') && request()->get('settings_type')=='cronjob'): ?> <script> $(document).ready(function () { $('.cronjob').trigger('click'); }); </script> <?php endif; ?>
<?php echo $__env->yieldContent('extra-scripts'); ?> </body> </html> <?php /**PATH /home/picotech/domains/picotext.picotech.app/public_html/resources/views/layouts/customer.blade.php ENDPATH**/ ?>
|