Edit File: 6e8894dc87dd2a381405af6d3ae0bf7e68b345a2.php
<?php $__env->startSection('css'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/charts/apexcharts.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row align-center"> <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $color = $colores[array_rand($colores)] ?> <a href="<?php echo e($menu['url']); ?>" class="col-xl-2 col-md-4 col-sm-6"> <div class="card text-center"> <div class="card-content"> <div class="card-body"> <div class="avatar bg-rgba-<?php echo e($color); ?> p-50 m-0 mb-1"> <div class="avatar-content"> <i class="feather <?php echo $menu['icon']; ?> text-<?php echo $color; ?> font-medium-5"></i> </div> </div> <h2 class="text-bold-700"><?php echo e($menu['count']); ?></h2> <p class="mb-0 line-ellipsis" style="color: #6e6a6a"><?php echo e($menu['name']); ?></p> </div> </div> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="row hight-card"> <div class="col-lg-12 col-md-12 col-12"> <div class="card"> <div class="card-header d-flex justify-content-between align-items-end"> <h4 class="card-title"><?php echo e(__('routes.countries_cities')); ?></h4> </div> <div class="card-content"> <div class="card-body pb-0"> <div id="revenue-chart"></div> </div> </div> </div> </div> <div class="col-lg-12 col-md-12 col-12"> <div class="card"> <div class="card-header d-flex justify-content-between align-items-end"> <h4 class="card-title"><?php echo e(__('admin.Project_cases')); ?></h4> </div> <div class="card-content"> <div id="columns-chart"></div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script src="<?php echo e(asset('admin/app-assets/vendors/js/charts/apexcharts.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/charts_functions.js')); ?>"></script> <script> var revenueChartoptions = { chart: { height: 270, toolbar: { show: false }, type: 'line', }, stroke: { curve: 'smooth', dashArray: [0, 8], width: [4, 2], }, grid: { borderColor: '#e7e7e7', }, legend: { show: false, }, colors: ['#f29292', '#b9c3cd'], fill: { type: 'gradient', gradient: { shade: 'dark', inverseColors: false, gradientToColors: ['#7367F0', '#b9c3cd'], shadeIntensity: 1, type: 'horizontal', opacityFrom: 1, opacityTo: 1, stops: [0, 100, 100, 100] }, }, markers: { size: 0, hover: { size: 5 } }, xaxis: { labels: { style: { colors: '#b9c3cd', } }, axisTicks: { show: false, }, categories: ['1', '2', '3', '4', '5', '6', '7', '8' ,'9','10','11','12'], axisBorder: { show: false, }, tickPlacement: 'on', }, yaxis: { tickAmount: 5, labels: { style: { color: '#b9c3cd', }, formatter: function (val) { return val > 999 ? (val / 1000).toFixed(1) + 'k' : val; } } }, tooltip: { x: { show: false } }, series: [{ name: "<?php echo e(__('routes.cities.index')); ?>", data: <?php echo json_encode($countryArray, 15, 512) ?> } , { name: "<?php echo e(__('routes.countries.index')); ?>", data: <?php echo json_encode($cityArray, 15, 512) ?> } ], } var revenueChart = new ApexCharts(document.querySelector("#revenue-chart"),revenueChartoptions).render(); var options = { series: [{ name: 'Net Profit', data: [44, 55, 57, 56, 61, 58, 63, 60, 66] }, { name: 'Revenue', data: [76, 85, 101, 98, 87, 105, 91, 114, 94] }, { name: 'Free Cash Flow', data: [35, 41, 36, 26, 45, 48, 52, 53, 41] }], chart: { type: 'bar', height: 350 }, plotOptions: { bar: { horizontal: false, columnWidth: '55%', endingShape: 'rounded' }, }, dataLabels: { enabled: false }, stroke: { show: true, width: 2, colors: ['transparent'] }, xaxis: { categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct'], }, yaxis: { title: { text: '$ (thousands)' } }, fill: { opacity: 1 }, tooltip: { y: { formatter: function (val) { return "$ " + val + " thousands" } } } }; var chart = new ApexCharts(document.querySelector("#columns-chart"), options); chart.render(); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/thunderw/public_html/resources/views/admin/dashboard/index.blade.php ENDPATH**/ ?>
Back to File Manager