123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430 |
- <!DOCTYPE html>
- <html lang="en">
- <!-- For RTL verison -->
- <!-- <html lang="en" dir="rtl"> -->
- <head>
- @@include('./_head.html', {
- "path": ".",
- "title": "AdminLTE 4 | Dashboard 3"
- })
- <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
- </head>
- <body class="layout-fixed">
- <div class="wrapper">
- @@include('./dashboard/_topbar.html', {
- "path": "."
- })
- @@include('./dashboard/_sidenav.html', {
- "mainPage": "dashboard",
- "page": "index3",
- "path": "."
- })
- <!-- Main content -->
- <main class="content-wrapper">
- <div class="content-header">
- <div class="container-fluid">
- <div class="row mb-2">
- <div class="col-sm-6">
- <div class="fs-3">Dashboard v3</div>
- </div>
- <div class="col-sm-6">
- <ol class="breadcrumb float-sm-end">
- <li class="breadcrumb-item"><a href="#">Home</a></li>
- <li class="breadcrumb-item active" aria-current="page">Dashboard v3</li>
- </ol>
- </div>
- </div>
- </div>
- </div>
- <div class="content">
- <div class="container-fluid">
- <div class="row">
- <div class="col-lg-6">
- <div class="card">
- <div class="card-header border-0">
- <div class="d-flex justify-content-between">
- <h3 class="card-title">Online Store Visitors</h3>
- <a href="javascript:void(0);">View Report</a>
- </div>
- </div>
- <div class="card-body">
- <div class="d-flex">
- <p class="d-flex flex-column">
- <span class="fw-bold text-lg">820</span>
- <span>Visitors Over Time</span>
- </p>
- <p class="ms-auto d-flex flex-column text-end">
- <span class="text-success">
- <i class="fas fa-arrow-up"></i> 12.5%
- </span>
- <span class="text-muted">Since last week</span>
- </p>
- </div>
- <!-- /.d-flex -->
- <div class="position-relative mb-4">
- <canvas id="visitors-chart" height="200"></canvas>
- </div>
- <div class="d-flex flex-row justify-content-end">
- <span class="me-2">
- <i class="fas fa-square text-primary"></i> This Week
- </span>
- <span>
- <i class="fas fa-square text-gray"></i> Last Week
- </span>
- </div>
- </div>
- </div>
- <!-- /.card -->
- <div class="card">
- <div class="card-header border-0">
- <h3 class="card-title">Products</h3>
- <div class="card-tools">
- <a href="#" class="btn btn-tool btn-sm">
- <i class="fas fa-download"></i>
- </a>
- <a href="#" class="btn btn-tool btn-sm">
- <i class="fas fa-bars"></i>
- </a>
- </div>
- </div>
- <div class="card-body table-responsive p-0">
- <table class="table table-striped align-middle">
- <thead>
- <tr>
- <th>Product</th>
- <th>Price</th>
- <th>Sales</th>
- <th>More</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
- Some Product
- </td>
- <td>$13 USD</td>
- <td>
- <small class="text-success me-1">
- <i class="fas fa-arrow-up"></i>
- 12%
- </small>
- 12,000 Sold
- </td>
- <td>
- <a href="#" class="text-muted">
- <i class="fas fa-search"></i>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
- Another Product
- </td>
- <td>$29 USD</td>
- <td>
- <small class="text-warning me-1">
- <i class="fas fa-arrow-down"></i>
- 0.5%
- </small>
- 123,234 Sold
- </td>
- <td>
- <a href="#" class="text-muted">
- <i class="fas fa-search"></i>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
- Amazing Product
- </td>
- <td>$1,230 USD</td>
- <td>
- <small class="text-danger me-1">
- <i class="fas fa-arrow-down"></i>
- 3%
- </small>
- 198 Sold
- </td>
- <td>
- <a href="#" class="text-muted">
- <i class="fas fa-search"></i>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
- Perfect Item
- <span class="badge bg-danger">NEW</span>
- </td>
- <td>$199 USD</td>
- <td>
- <small class="text-success me-1">
- <i class="fas fa-arrow-up"></i>
- 63%
- </small>
- 87 Sold
- </td>
- <td>
- <a href="#" class="text-muted">
- <i class="fas fa-search"></i>
- </a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <!-- /.card -->
- </div>
- <!-- /.col-md-6 -->
- <div class="col-lg-6">
- <div class="card">
- <div class="card-header border-0">
- <div class="d-flex justify-content-between">
- <h3 class="card-title">Sales</h3>
- <a href="javascript:void(0);">View Report</a>
- </div>
- </div>
- <div class="card-body">
- <div class="d-flex">
- <p class="d-flex flex-column">
- <span class="fw-bold text-lg">$18,230.00</span>
- <span>Sales Over Time</span>
- </p>
- <p class="ms-auto d-flex flex-column text-end">
- <span class="text-success">
- <i class="fas fa-arrow-up"></i> 33.1%
- </span>
- <span class="text-muted">Since last month</span>
- </p>
- </div>
- <!-- /.d-flex -->
- <div class="position-relative mb-4">
- <canvas id="sales-chart" height="200"></canvas>
- </div>
- <div class="d-flex flex-row justify-content-end">
- <span class="me-2">
- <i class="fas fa-square text-primary"></i> This year
- </span>
- <span>
- <i class="fas fa-square text-gray"></i> Last year
- </span>
- </div>
- </div>
- </div>
- <!-- /.card -->
- <div class="card">
- <div class="card-header border-0">
- <h3 class="card-title">Online Store Overview</h3>
- <div class="card-tools">
- <a href="#" class="btn btn-sm btn-tool">
- <i class="fas fa-download"></i>
- </a>
- <a href="#" class="btn btn-sm btn-tool">
- <i class="fas fa-bars"></i>
- </a>
- </div>
- </div>
- <div class="card-body">
- <div class="d-flex justify-content-between align-items-center border-bottom mb-3">
- <p class="text-success fs-2">
- <i class="ion ion-ios-refresh-empty"></i>
- </p>
- <p class="d-flex flex-column text-end">
- <span class="fw-bold">
- <i class="ion ion-android-arrow-up text-success"></i> 12%
- </span>
- <span class="text-muted">CONVERSION RATE</span>
- </p>
- </div>
- <!-- /.d-flex -->
- <div class="d-flex justify-content-between align-items-center border-bottom mb-3">
- <p class="text-warning fs-2">
- <i class="ion ion-ios-cart-outline"></i>
- </p>
- <p class="d-flex flex-column text-end">
- <span class="fw-bold">
- <i class="ion ion-android-arrow-up text-warning"></i> 0.8%
- </span>
- <span class="text-muted">SALES RATE</span>
- </p>
- </div>
- <!-- /.d-flex -->
- <div class="d-flex justify-content-between align-items-center mb-0">
- <p class="text-danger fs-2">
- <i class="ion ion-ios-people-outline"></i>
- </p>
- <p class="d-flex flex-column text-end">
- <span class="fw-bold">
- <i class="ion ion-android-arrow-down text-danger"></i> 1%
- </span>
- <span class="text-muted">REGISTRATION RATE</span>
- </p>
- </div>
- <!-- /.d-flex -->
- </div>
- </div>
- </div>
- <!-- /.col-md-6 -->
- </div>
- <!-- /.row -->
- </div><!-- /.container-fluid -->
- </div>
- </main>
- <!-- /.content-wrapper -->
- @@include('./dashboard/_footer.html', {
- "path": "."
- })
- </div>
- <!-- ./wrapper -->
- @@include('./_scripts.html', {
- "path": "."
- })
- <!-- OPTIONAL SCRIPTS -->
- <!-- ChartJS -->
- <script src="https://cdn.jsdelivr.net/npm/chart.js@3.6.0/dist/chart.min.js" integrity="sha256-7lWo7cjrrponRJcS6bc8isfsPDwSKoaYfGIHgSheQkk=" crossorigin="anonymous"></script>
- <!-- AdminLTE dashboard3 demo (This is only for demo purposes) -->
- <script src="./assets/js/dashboard3.js"></script>
- <script>
- // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
- // IT'S ALL JUST JUNK FOR DEMO
- // ++++++++++++++++++++++++++++++++++++++++++
- /* global Chart:false */
- (function () {
- 'use strict'
- var ticksStyle = {
- fontColor: '#495057',
- fontStyle: 'bold'
- }
- var mode = 'index'
- var intersect = true
- var salesChartSelector = document.querySelector('#sales-chart')
- // eslint-disable-next-line no-unused-vars
- var salesChart = new Chart(salesChartSelector, {
- type: 'bar',
- data: {
- labels: ['JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'],
- datasets: [{
- label: 'My First Dataset',
- data: [65, 59, 80, 81, 56, 55, 40],
- backgroundColor: [
- 'rgba(255, 99, 132, 0.2)',
- 'rgba(255, 159, 64, 0.2)',
- 'rgba(255, 205, 86, 0.2)',
- 'rgba(75, 192, 192, 0.2)',
- 'rgba(54, 162, 235, 0.2)',
- 'rgba(153, 102, 255, 0.2)',
- 'rgba(201, 203, 207, 0.2)'
- ],
- borderColor: [
- 'rgb(255, 99, 132)',
- 'rgb(255, 159, 64)',
- 'rgb(255, 205, 86)',
- 'rgb(75, 192, 192)',
- 'rgb(54, 162, 235)',
- 'rgb(153, 102, 255)',
- 'rgb(201, 203, 207)'
- ],
- borderWidth: 1
- }]
- },
- options: {
- maintainAspectRatio: false,
- scales: {
- y: {
- beginAtZero: true
- }
- }
- }
- })
- var visitorsChartSelector = document.querySelector('#visitors-chart')
- var visitorsChart = new Chart(visitorsChartSelector, {
- data: {
- labels: ['18th', '20th', '22nd', '24th', '26th', '28th', '30th'],
- datasets: [{
- type: 'line',
- data: [100, 120, 170, 167, 180, 177, 160],
- backgroundColor: 'transparent',
- borderColor: '#007bff',
- pointBorderColor: '#007bff',
- pointBackgroundColor: '#007bff'
- // pointHoverBackgroundColor: '#007bff',
- // pointHoverBorderColor : '#007bff'
- },
- {
- type: 'line',
- data: [60, 80, 70, 67, 80, 77, 100],
- backgroundColor: 'tansparent',
- borderColor: '#ced4da',
- pointBorderColor: '#ced4da',
- pointBackgroundColor: '#ced4da'
- // pointHoverBackgroundColor: '#ced4da',
- // pointHoverBorderColor : '#ced4da'
- }]
- },
- options: {
- maintainAspectRatio: false,
- tooltip: {
- mode: mode,
- intersect: intersect
- },
- hover: {
- mode: mode,
- intersect: intersect
- },
- plugins: {
- legend: {
- display: false
- }
- },
- scales: {
- yAxes: {
- // display: false,
- gridLines: {
- display: true,
- lineWidth: '4px',
- color: 'rgba(0, 0, 0, .2)',
- zeroLineColor: 'transparent'
- },
- ticks: Object.assign({
- beginAtZero: true,
- suggestedMax: 200
- }, ticksStyle)
- },
- xAxes: {
- display: true,
- gridLines: {
- display: false
- },
- ticks: ticksStyle
- }
- }
- }
- })
- })()
- </script>
- </body>
- </html>
|