-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.html
67 lines (65 loc) · 2.93 KB
/
dashboard.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Registro de transacciones">
<meta name="author" content="Lextrack">
<title>Gestor de transacciones</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="icon" href="img/icono.ico" />
<link rel="stylesheet" href="css/main.css"/>
</head>
<body>
<div class="container">
<div class="row mt-2">
<div class="col-12">
<a href="index.html" class="btn btn-secondary btn-sm">
<i class="bi bi-arrow-left"></i> Volver
</a>
<button id="downloadPNG" class="btn btn-sm btn-primary">
<i class="bi bi-file-earmark-image"></i> Descargar en PNG
</button>
<button id="downloadPDF" class="btn btn-sm btn-danger">
<i class="bi bi-file-earmark-pdf"></i> Descargar en PDF
</button>
</div>
</div>
<div class="h2 pb-2 mb-4 text-center border-bottom border-info mt-3 md-3">
Estadísticas
</div>
<div class="row mt-5">
<div class="col-md-12 text-center">
<h4 class="categoria-registros">Categoría con más registros</h4>
<p class="Textcategoria" id="mostRegisteredCategory"></p>
</div>
</div>
<div class="row mt-5">
<div class="col-md-12">
<canvas id="averageSpendingChart"></canvas>
</div>
</div>
<div class="row mt-5">
<div class="col-md-12">
<canvas id="mostExpensiveCategoryChart"></canvas>
</div>
</div>
<div class="row mt-5">
<div class="col-md-12">
<canvas id="leastExpensiveCategoryChart"></canvas>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chartjs-plugin-labels.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="js/dashboard.js"></script>
</body>
</html>