-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (96 loc) · 5.24 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
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="es">
<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">
<title>OCUN</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="./globals.css">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!--Modal para ajustes de la partida -->
<div class="modal fade" id="settingsModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel">Ajustes de la partida</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<!--Html del input para el grupo y el número de participantes-->
<div class="form-floating mb-3">
<input type="text" class="form-control" id="nameGroupInput" placeholder="Nombre del grupo">
<label for="nameGroupInput">Nombre del equipo:</label>
</div>
<h6>Número de jugadores:</h6>
<div class="wrapper-group-selection">
<button class="btn-menu btn-selection">1</button>
<button class="btn-menu btn-selection">2</button>
<button class="btn-menu btn-selection">3</button>
<button class="btn-menu btn-selection">4</button>
</div>
<select id="typeTest" class="form-select mb-3" aria-label="Default select example">
<option selected>Tipo de prueba</option>
<option value="Amateur">Basica</option>
<option value="Avanzado">Avanzada</option>
</select>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
<button id="btn-settings" type="button" class="btn btn-primary"
data-bs-dismiss="modal">Guardar</button>
</div>
</div>
</div>
</div>
<!--Modal para configuración del servidor -->
<div class="modal fade" id="serverModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel1">Dirección del servidor</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<!--Html del input para el grupo y el número de participantes-->
<div class="form-floating mb-3">
<input type="text" class="form-control" id="serverInput" placeholder="URL:">
<label for="serverInput">URL:</label>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
<button id="btn-url" type="button" class="btn btn-primary"
data-bs-dismiss="modal">Guardar</button>
</div>
</div>
</div>
</div>
<!--Html del menu principal-->
<main id="main-body">
<div id="main-container">
<img id="title-game" src="./assets/OCUN identificadorMesa de trabajo 33.png"
alt="olimpiadas de cerveza universidad nacional">
<div class="button-container">
<button id="btn-start" class="btn-menu"><img src="./img/play.svg" alt=""></button>
<button class="btn-menu" data-bs-toggle="modal" data-bs-target="#settingsModal"><img src="./img/settings.svg" alt=""></button>
<button id="btn-table" class="btn-menu" ><img src="./img/scores.svg" alt=""></button>
<button class="btn-menu" data-bs-toggle="modal" data-bs-target="#serverModal"><img src="./img/serverm.svg" alt=""></button>
</div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="./js/util/storage.js"></script>
<script src="./js/util/http.js"></script>
<script src="./index.js"></script>
<script src="./index-data-controller.js"></script>
</body>
</html>