index3.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <!-- For RTL verison -->
  4. <!-- <html lang="en" dir="rtl"> -->
  5. <head>
  6. @@include('./_head.html', {
  7. "path": ".",
  8. "title": "AdminLTE 4 | Dashboard 3"
  9. })
  10. <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  11. </head>
  12. <body class="layout-fixed">
  13. <div class="wrapper">
  14. @@include('./dashboard/_topbar.html', {
  15. "path": "."
  16. })
  17. @@include('./dashboard/_sidenav.html', {
  18. "mainPage": "dashboard",
  19. "page": "index3",
  20. "path": "."
  21. })
  22. <!-- Main content -->
  23. <main class="content-wrapper">
  24. <div class="content-header">
  25. <div class="container-fluid">
  26. <div class="row mb-2">
  27. <div class="col-sm-6">
  28. <div class="fs-3">Dashboard v3</div>
  29. </div>
  30. <div class="col-sm-6">
  31. <ol class="breadcrumb float-sm-end">
  32. <li class="breadcrumb-item"><a href="#">Home</a></li>
  33. <li class="breadcrumb-item active" aria-current="page">Dashboard v3</li>
  34. </ol>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="content">
  40. <div class="container-fluid">
  41. <div class="row">
  42. <div class="col-lg-6">
  43. <div class="card">
  44. <div class="card-header border-0">
  45. <div class="d-flex justify-content-between">
  46. <h3 class="card-title">Online Store Visitors</h3>
  47. <a href="javascript:void(0);">View Report</a>
  48. </div>
  49. </div>
  50. <div class="card-body">
  51. <div class="d-flex">
  52. <p class="d-flex flex-column">
  53. <span class="fw-bold text-lg">820</span>
  54. <span>Visitors Over Time</span>
  55. </p>
  56. <p class="ms-auto d-flex flex-column text-end">
  57. <span class="text-success">
  58. <i class="fas fa-arrow-up"></i> 12.5%
  59. </span>
  60. <span class="text-muted">Since last week</span>
  61. </p>
  62. </div>
  63. <!-- /.d-flex -->
  64. <div class="position-relative mb-4">
  65. <canvas id="visitors-chart" height="200"></canvas>
  66. </div>
  67. <div class="d-flex flex-row justify-content-end">
  68. <span class="me-2">
  69. <i class="fas fa-square text-primary"></i> This Week
  70. </span>
  71. <span>
  72. <i class="fas fa-square text-gray"></i> Last Week
  73. </span>
  74. </div>
  75. </div>
  76. </div>
  77. <!-- /.card -->
  78. <div class="card">
  79. <div class="card-header border-0">
  80. <h3 class="card-title">Products</h3>
  81. <div class="card-tools">
  82. <a href="#" class="btn btn-tool btn-sm">
  83. <i class="fas fa-download"></i>
  84. </a>
  85. <a href="#" class="btn btn-tool btn-sm">
  86. <i class="fas fa-bars"></i>
  87. </a>
  88. </div>
  89. </div>
  90. <div class="card-body table-responsive p-0">
  91. <table class="table table-striped align-middle">
  92. <thead>
  93. <tr>
  94. <th>Product</th>
  95. <th>Price</th>
  96. <th>Sales</th>
  97. <th>More</th>
  98. </tr>
  99. </thead>
  100. <tbody>
  101. <tr>
  102. <td>
  103. <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
  104. Some Product
  105. </td>
  106. <td>$13 USD</td>
  107. <td>
  108. <small class="text-success me-1">
  109. <i class="fas fa-arrow-up"></i>
  110. 12%
  111. </small>
  112. 12,000 Sold
  113. </td>
  114. <td>
  115. <a href="#" class="text-muted">
  116. <i class="fas fa-search"></i>
  117. </a>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td>
  122. <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
  123. Another Product
  124. </td>
  125. <td>$29 USD</td>
  126. <td>
  127. <small class="text-warning me-1">
  128. <i class="fas fa-arrow-down"></i>
  129. 0.5%
  130. </small>
  131. 123,234 Sold
  132. </td>
  133. <td>
  134. <a href="#" class="text-muted">
  135. <i class="fas fa-search"></i>
  136. </a>
  137. </td>
  138. </tr>
  139. <tr>
  140. <td>
  141. <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
  142. Amazing Product
  143. </td>
  144. <td>$1,230 USD</td>
  145. <td>
  146. <small class="text-danger me-1">
  147. <i class="fas fa-arrow-down"></i>
  148. 3%
  149. </small>
  150. 198 Sold
  151. </td>
  152. <td>
  153. <a href="#" class="text-muted">
  154. <i class="fas fa-search"></i>
  155. </a>
  156. </td>
  157. </tr>
  158. <tr>
  159. <td>
  160. <img src="./assets/img/default-150x150.png" alt="Product 1" class="img-circle img-size-32 me-2">
  161. Perfect Item
  162. <span class="badge bg-danger">NEW</span>
  163. </td>
  164. <td>$199 USD</td>
  165. <td>
  166. <small class="text-success me-1">
  167. <i class="fas fa-arrow-up"></i>
  168. 63%
  169. </small>
  170. 87 Sold
  171. </td>
  172. <td>
  173. <a href="#" class="text-muted">
  174. <i class="fas fa-search"></i>
  175. </a>
  176. </td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. </div>
  181. </div>
  182. <!-- /.card -->
  183. </div>
  184. <!-- /.col-md-6 -->
  185. <div class="col-lg-6">
  186. <div class="card">
  187. <div class="card-header border-0">
  188. <div class="d-flex justify-content-between">
  189. <h3 class="card-title">Sales</h3>
  190. <a href="javascript:void(0);">View Report</a>
  191. </div>
  192. </div>
  193. <div class="card-body">
  194. <div class="d-flex">
  195. <p class="d-flex flex-column">
  196. <span class="fw-bold text-lg">$18,230.00</span>
  197. <span>Sales Over Time</span>
  198. </p>
  199. <p class="ms-auto d-flex flex-column text-end">
  200. <span class="text-success">
  201. <i class="fas fa-arrow-up"></i> 33.1%
  202. </span>
  203. <span class="text-muted">Since last month</span>
  204. </p>
  205. </div>
  206. <!-- /.d-flex -->
  207. <div class="position-relative mb-4">
  208. <canvas id="sales-chart" height="200"></canvas>
  209. </div>
  210. <div class="d-flex flex-row justify-content-end">
  211. <span class="me-2">
  212. <i class="fas fa-square text-primary"></i> This year
  213. </span>
  214. <span>
  215. <i class="fas fa-square text-gray"></i> Last year
  216. </span>
  217. </div>
  218. </div>
  219. </div>
  220. <!-- /.card -->
  221. <div class="card">
  222. <div class="card-header border-0">
  223. <h3 class="card-title">Online Store Overview</h3>
  224. <div class="card-tools">
  225. <a href="#" class="btn btn-sm btn-tool">
  226. <i class="fas fa-download"></i>
  227. </a>
  228. <a href="#" class="btn btn-sm btn-tool">
  229. <i class="fas fa-bars"></i>
  230. </a>
  231. </div>
  232. </div>
  233. <div class="card-body">
  234. <div class="d-flex justify-content-between align-items-center border-bottom mb-3">
  235. <p class="text-success fs-2">
  236. <i class="ion ion-ios-refresh-empty"></i>
  237. </p>
  238. <p class="d-flex flex-column text-end">
  239. <span class="fw-bold">
  240. <i class="ion ion-android-arrow-up text-success"></i> 12%
  241. </span>
  242. <span class="text-muted">CONVERSION RATE</span>
  243. </p>
  244. </div>
  245. <!-- /.d-flex -->
  246. <div class="d-flex justify-content-between align-items-center border-bottom mb-3">
  247. <p class="text-warning fs-2">
  248. <i class="ion ion-ios-cart-outline"></i>
  249. </p>
  250. <p class="d-flex flex-column text-end">
  251. <span class="fw-bold">
  252. <i class="ion ion-android-arrow-up text-warning"></i> 0.8%
  253. </span>
  254. <span class="text-muted">SALES RATE</span>
  255. </p>
  256. </div>
  257. <!-- /.d-flex -->
  258. <div class="d-flex justify-content-between align-items-center mb-0">
  259. <p class="text-danger fs-2">
  260. <i class="ion ion-ios-people-outline"></i>
  261. </p>
  262. <p class="d-flex flex-column text-end">
  263. <span class="fw-bold">
  264. <i class="ion ion-android-arrow-down text-danger"></i> 1%
  265. </span>
  266. <span class="text-muted">REGISTRATION RATE</span>
  267. </p>
  268. </div>
  269. <!-- /.d-flex -->
  270. </div>
  271. </div>
  272. </div>
  273. <!-- /.col-md-6 -->
  274. </div>
  275. <!-- /.row -->
  276. </div><!-- /.container-fluid -->
  277. </div>
  278. </main>
  279. <!-- /.content-wrapper -->
  280. @@include('./dashboard/_footer.html', {
  281. "path": "."
  282. })
  283. </div>
  284. <!-- ./wrapper -->
  285. @@include('./_scripts.html', {
  286. "path": "."
  287. })
  288. <!-- OPTIONAL SCRIPTS -->
  289. <!-- ChartJS -->
  290. <script src="https://cdn.jsdelivr.net/npm/chart.js@3.6.0/dist/chart.min.js" integrity="sha256-7lWo7cjrrponRJcS6bc8isfsPDwSKoaYfGIHgSheQkk=" crossorigin="anonymous"></script>
  291. <!-- AdminLTE dashboard3 demo (This is only for demo purposes) -->
  292. <script src="./assets/js/dashboard3.js"></script>
  293. <script>
  294. // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
  295. // IT'S ALL JUST JUNK FOR DEMO
  296. // ++++++++++++++++++++++++++++++++++++++++++
  297. /* global Chart:false */
  298. (function () {
  299. 'use strict'
  300. var ticksStyle = {
  301. fontColor: '#495057',
  302. fontStyle: 'bold'
  303. }
  304. var mode = 'index'
  305. var intersect = true
  306. var salesChartSelector = document.querySelector('#sales-chart')
  307. // eslint-disable-next-line no-unused-vars
  308. var salesChart = new Chart(salesChartSelector, {
  309. type: 'bar',
  310. data: {
  311. labels: ['JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'],
  312. datasets: [{
  313. label: 'My First Dataset',
  314. data: [65, 59, 80, 81, 56, 55, 40],
  315. backgroundColor: [
  316. 'rgba(255, 99, 132, 0.2)',
  317. 'rgba(255, 159, 64, 0.2)',
  318. 'rgba(255, 205, 86, 0.2)',
  319. 'rgba(75, 192, 192, 0.2)',
  320. 'rgba(54, 162, 235, 0.2)',
  321. 'rgba(153, 102, 255, 0.2)',
  322. 'rgba(201, 203, 207, 0.2)'
  323. ],
  324. borderColor: [
  325. 'rgb(255, 99, 132)',
  326. 'rgb(255, 159, 64)',
  327. 'rgb(255, 205, 86)',
  328. 'rgb(75, 192, 192)',
  329. 'rgb(54, 162, 235)',
  330. 'rgb(153, 102, 255)',
  331. 'rgb(201, 203, 207)'
  332. ],
  333. borderWidth: 1
  334. }]
  335. },
  336. options: {
  337. maintainAspectRatio: false,
  338. scales: {
  339. y: {
  340. beginAtZero: true
  341. }
  342. }
  343. }
  344. })
  345. var visitorsChartSelector = document.querySelector('#visitors-chart')
  346. var visitorsChart = new Chart(visitorsChartSelector, {
  347. data: {
  348. labels: ['18th', '20th', '22nd', '24th', '26th', '28th', '30th'],
  349. datasets: [{
  350. type: 'line',
  351. data: [100, 120, 170, 167, 180, 177, 160],
  352. backgroundColor: 'transparent',
  353. borderColor: '#007bff',
  354. pointBorderColor: '#007bff',
  355. pointBackgroundColor: '#007bff'
  356. // pointHoverBackgroundColor: '#007bff',
  357. // pointHoverBorderColor : '#007bff'
  358. },
  359. {
  360. type: 'line',
  361. data: [60, 80, 70, 67, 80, 77, 100],
  362. backgroundColor: 'tansparent',
  363. borderColor: '#ced4da',
  364. pointBorderColor: '#ced4da',
  365. pointBackgroundColor: '#ced4da'
  366. // pointHoverBackgroundColor: '#ced4da',
  367. // pointHoverBorderColor : '#ced4da'
  368. }]
  369. },
  370. options: {
  371. maintainAspectRatio: false,
  372. tooltip: {
  373. mode: mode,
  374. intersect: intersect
  375. },
  376. hover: {
  377. mode: mode,
  378. intersect: intersect
  379. },
  380. plugins: {
  381. legend: {
  382. display: false
  383. }
  384. },
  385. scales: {
  386. yAxes: {
  387. // display: false,
  388. gridLines: {
  389. display: true,
  390. lineWidth: '4px',
  391. color: 'rgba(0, 0, 0, .2)',
  392. zeroLineColor: 'transparent'
  393. },
  394. ticks: Object.assign({
  395. beginAtZero: true,
  396. suggestedMax: 200
  397. }, ticksStyle)
  398. },
  399. xAxes: {
  400. display: true,
  401. gridLines: {
  402. display: false
  403. },
  404. ticks: ticksStyle
  405. }
  406. }
  407. }
  408. })
  409. })()
  410. </script>
  411. </body>
  412. </html>