-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (78 loc) · 3.36 KB
/
index.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
<!DOCTYPE html>
<html data-bs-theme="dark">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chess Leaderboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/6.6.6/css/flag-icons.min.css" rel="stylesheet"
crossorigin="anonymous" />
<link rel="stylesheet" type="text/css" media="screen" href="index.css" />
</head>
<body>
<div class="container-fluid p-2">
<div class="row">
<div class="col">
<div class="form-floating">
<select class="form-select" data-cy="selector" id="tipo-leaderboard" aria-label="Tipo de leaderboard"></select>
<label for="tipo-leaderboard">Tipo de leaderboard</label>
</div>
</div>
<div class="col-8"></div>
</div>
</div>
<div class="table-responsive">
<table class="table table-sm table-hover" data-cy="tabla">
<thead>
<tr>
<th scope="col" style="width: 16px">#</th>
<th scope="col" style="width: 16px"></th>
<th scope="col">Nombre</th>
<th scope="col" id ="rating">Rating (Chess.com)</th>
<th scope="col" class="leaderboard-con-rating">Total de partidas</th>
<th scope="col" class="leaderboard-con-rating">Porcentaje ganadas</th>
</tr>
</thead>
<tbody class="table-group-divider table-striped" id="cuerpo-tabla"></tbody>
</table>
</div>
<div class="modal fade" id="perfil" tabindex="-1" aria-labelledby="nombre-perfil" aria-hidden="true">
<div class="modal-dialog" data-cy="perfil">
<div class="modal-content">
<div class="modal-header">
<div class="d-flex align-items-center" id="cargando-perfil">
<div class="spinner-grow m-3" role="status" aria-hidden="true"></div>
</div>
<h1 class="modal-title fs-5" id="nombre-perfil" data-cy="nombre-perfil">
</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col-4">
<img src="" id="imagen-perfil" class="img-fluid img-thumbnail d-none" />
</div>
<div class="col">
<div class="row fs-5" id="titulo-perfil"></div>
<div class="row" id="usuario-perfil"></div>
<div class="row">
<a href="" id="enlace-perfil" data-cy="enlace-perfil" target="_blank" class="p-0"></a>
</div>
<div class="row" id="seguidores-perfil"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
<script type="module" src="src/index.js"></script>
</body>
</html>