Viewing file: 76e83b7cae10a01d767149469458f0ea.php (8.99 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Dashboard <?php $__env->stopSection(); ?> <?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <style> .custom-sm-box{ background-image: linear-gradient(to right, #22196c, #22196c, #352893, #7f74e0); padding: 10px 14px; border-radius: 10px; color: white; } .custom-border{ background-color: #007bff !important; border-color: #007bff !important; border-radius: 20px !important; } .current-plan{ padding: 5px 12px; background: #2c2828; color: white; border-radius: 50px; font-weight: 800; }
.custom-border-left{ border-left: 1px solid white; } .small-box { margin-bottom: 13px !important; padding: 4px !important; background-color: white !important; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- Content Header (Page header) --> <div class="content-header custom-content-header"> <h5><?php echo e(trans('customer.dashboard')); ?></h5> <p class="m-0 section-heading-text"> <i class="fas fa-tachometer-alt mr-1 op-07"></i> <span class="panel-name op-07"> <?php echo e(trans('customer.customer_panel')); ?>
</span> <i class="fa fa-angle-double-right ml-1 mr-1" aria-hidden="true"></i> <span class="header-active"><?php echo e(trans('customer.dashboard')); ?></span> </p> </div> <!-- /.content-header -->
<!-- Main content --> <div class="content"> <div class="container-fluid"> <div class="row p-2"> <div class="col-md-4"> <div class="row custom-sm-box pl-0 pr-0"> <div class="col-md-5 m-auto text-center"> <h4 class="welcome-to-text"> <strong class="text-white"><?php echo e(trans('customer.welcome')); ?></strong> </h4> <p> <?php echo e(auth('customer')->user()->full_name); ?>
</p> </div> <div class="col-md-7 custom-border-left text-left">
<div class="plan-details-sec mt-4 text-center"> <h5 class="mb-3 your-current-plan">Your Current Plan</h5> <span class="current-plan"> <small><?php echo e(ucfirst($customer_plan->plan->title??'')); ?></small> </span> <div> <a class="btn btn-primary mt-3 mb-1 btn-sm custom-border" href="<?php echo e(route('customer.billing.index')); ?>"> <i class="fas fa-bolt text-warning upgrade-bolt-icon"></i> <small><b><?php echo e(trans('customer.upgrade_now')); ?></b></small> </a> </div> </div> </div> </div> </div>
<div class="col-md-8"> <div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 word-limit-count-box"> <!-- small box --> <div class="small-box word-box"> <div class="inner"> <h6 class="d-available-text"> <i class="fa fa-sticky-note word-gen-icon customer-d-total-word mr-2"></i> <?php echo e(trans('Word Generated')); ?></h6> <h6 class="d-available"> <b><?php echo e($customer_plan->available_word); ?></b> / <small><?php echo e($customer_plan->word_limit); ?></small> </h6> </div> </div> </div>
<div class="col-lg-6 col-md-6 col-sm-12 image-limit-count-box"> <!-- small box --> <div class="small-box word-box"> <div class="inner"> <h6 class="d-available-text"> <i class="fas fa-file-image img-gen-icon customer-d-total-img mr-2" aria-hidden="true"></i> <?php echo e(trans('Image Created')); ?></h6> <h6 class="d-available"> <b><?php echo e($customer_plan->available_image); ?></b>/ <small><?php echo e($customer_plan->image_limit); ?></small> </h6> </div> </div> </div> <div class="col-lg-6 col-md-6 col-sm-12 code-limit-count-box"> <!-- small box --> <div class="small-box word-box"> <div class="inner"> <h6 class="d-available-text"> <i class="fa fa-code code-gen-icon customer-d-total-code mr-2" aria-hidden="true"></i> <?php echo e(trans('Code Generated')); ?></h6> <h6 class="d-available"> <b><?php echo e($customer_plan->available_code); ?></b>/ <small><?php echo e($customer_plan->code_limit); ?></small> </h6> </div> </div> </div>
</div> </div>
</div>
<div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h3 class="card-title">Latest Documents</h3> <a href="<?php echo e(route('customer.write.document.index')); ?>" class="btn btn-dark btn-sm float-right">See All</a> </div>
<div class="card-body table-responsive"> <table id="documents" class="table table-striped table-bordered" style="width:100%"> <thead> <tr> <th><?php echo app('translator')->get('admin.table.name'); ?></th> <th><?php echo app('translator')->get('admin.table.title'); ?></th> <th><?php echo app('translator')->get('admin.table.document'); ?></th> <th><?php echo app('translator')->get('admin.table.download'); ?></th> </tr> </tr> </thead> </table> </div>
</div>
</div> </div>
<!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script> <script> $(document).ready(function () { $('#latest-documents').DataTable(); });
$('#documents').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('customer.write.document.get.data',['limit'=>'10'])); ?>', columns: [ { "data": "name" }, { "data": "title" }, { "data": "document" }, { "data": "download" }, ], fnInitComplete: function(oSettings, json) { $(".show-more").css('overflow', 'hidden').readmore({collapsedHeight: 60,moreLink: '<a href="#">More</a>',lessLink: '<a href="#">Less</a>'}); } }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pcolfjqt/ai.picotech.app/resources/views/customer/dashboard.blade.php ENDPATH**/ ?>
|