-
Notifications
You must be signed in to change notification settings - Fork 0
/
estadisticas.html
115 lines (106 loc) · 3.37 KB
/
estadisticas.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<script src="js/funciones.js"></script>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<!-- Jquery -->
<script src="libs/jquery.min.js"></script>
<!-- DataTables -->
<link rel="stylesheet" type="text/css" href="libs/datatables/jquery.dataTables.min.css" />
<script src="libs/datatables/jquery.dataTables.min.js"></script>
<!-- Faker -->
<script src="libs/faker.min.js"></script>
<title>..:: Te lo vendo ::..</title>
</head>
<body>
<header>
<div class="container">
<div class="container-logo">
<img class="logo" src="./images/logo.png" alt="" />
</div>
<div class="container-title">
<h1 class="title">
<span>TE</span><span>LO</span><span>VENDO</span>
</h1>
<h5 class="slogan">LO QUE BUSCAS Y AL MEJOR PRECIO</h5>
</div>
</div>
</header>
<nav class="navbar navbar-expand-sm bg-light">
<div class="container">
<!-- Links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.html">Inicio</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">Nosotros</a>
</li>
<li class="nav-item">
<a class="nav-link" href="sales.html">Ventas</a>
</li>
<li class="nav-item">
<a class="nav-link" href="estadisticas.html">Estadisticas</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contacto</a>
</li>
</ul>
</div>
</nav>
<main>
<div class="container">
<h2>Estadisticas...</h2>
<table id="datos" class="table table-striped mt-3">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
<th>Address</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</main>
<footer>
<div class="container">
<div style="text-align: center">Richard Collao</div>
<div style="text-align: center">Fullstack Java - 2022</div>
</div>
</footer>
<script>
document.addEventListener("DOMContentLoaded", function () {
// Llena la tabla con datos
populateTable();
// Implementa el plugin
$('#datos').DataTable({
"language": {
"lengthMenu": "Mostrar _MENU_ filas",
"zeroRecords": "No se encontraron resultados",
"info": "Mostrando datos del _START_ al _END_ de un total de _TOTAL_ registros",
"infoEmpty": "Mostrando datos del 0 al 0 de un total de 0 registros",
"infoFiltered": "(filtrado de un total de _MAX_ registros)",
"sSearch": "Buscar:",
"oPaginate": {
"sFirst": "Primero",
"sLast": "Último",
"sNext": "Siguiente",
"sPrevious": "Anterior"
},
"sProcessing": "Procesando...",
}
});
});
</script>
</body>
</html>