-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathranking.html
108 lines (93 loc) · 4.76 KB
/
ranking.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
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="assets/icons/two-dices-alt.svg" />
<!-- Bootstrap CSS -->
<link href="/css/main.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css" />
<title>Kiriki Web App - Ranking</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="games.html">
<img src="assets/logo.svg" alt="Kiriki logo">
<img src="assets/kiriki-brand-light.svg" />
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="games.html" id="playNav"> Jugar!</a></li>
<li class="nav-item"><a class="nav-link active" href="ranking.html" id="rankingNav"> Ranking</a>
</li>
<li class="nav-item"><a class="btn btn-primary me-1" href="login.html" id="loginNav"> Iniciar
Sesión</a></li>
<li class="nav-item"><a class="btn btn-secondary" href="register.html" id="registerNav">
Registrarse</a></li>
<li class="nav-item"><a class="btn btn-outline-dark bg-warning" id="logoutNav"> Cerrar
Sesión</a>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="container bg-light flex-grow">
<h1 class="text-center pt-5">
<img class="turned-60" src="assets/icons/two-dices-alt.svg" width="48px" />
Ranking
<img class="turned-30" src="assets/icons/two-dices-alt.svg" width="48px" />
</h1>
<div class="p-2 mt-4">
<div class="row row-cols-1 row-cols-md-3 g-4 justify-content-center">
<div class="col text-center mb-5">
<div class="card border-3 bg-primary text-light" width="">
<div class="card-body">
<h3 class="card-title">
<i class="fas fa-crown text-warning"></i>
Top Jugadores
<i class="fas fa-crown text-warning"></i>
</h3>
</div>
<table class="card-table table table-light table-striped">
<thead>
<tr>
<th scope="col">Nombre</th>
<th scope="col">Partidas ganadas</th>
</tr>
</thead>
<tbody id="rank"></tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
-->
<!-- JQuery -->
<script src="js/jquery-3.6.0.min.js"></script>
<!-- Font Awesome Icons -->
<script src="https://kit.fontawesome.com/79f56e797f.js" crossorigin="anonymous"></script>
<!-- My JS -->
<script src="js/nav.js"></script>
<script src="js/ranking.js"></script>
</body>
</html>