-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (93 loc) · 4.59 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
100
101
102
103
104
<!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 href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
<title>POKEMON FAVORITO | SCP</title>
</head>
<body onload="cargarDatos()">
<div class="container">
<div class="row">
<div class="col-lg-1"></div>
<div class="col-lg-10">
<br/>
<button class="btn btn-success float-right" id="agregar" data-bs-toggle="modal" data-bs-target="#addUser">Agregar</button>
<br/><br/>
<legend>Listado de Pokemones Favoritos</legend>
<div class="table-responsive">
<table class="table table-striped table-hovered tabla-usuario align-middle">
<thead class="thead-dark">
<th>#</th>
<th>Nombre Jugador</th>
<th>Apellidos</th>
<th>Pokemon Favorito</th>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="col-lg-1"></div>
</div>
<!-- MODALS -->
<div class="modal fade" id="addUser" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<form method="POST" action="#" id="formUser">
<div class="modal-header">
<h5 class="modal-title" id="titulo">Registro de jugador</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<input type="hidden" id="iduser">
<div class="col-lg-12">
<div class="form-group">
<label>Nombre(s)</label>
<input type="text" class="form-control campo" id="nombre" onkeyup="" pattern="^[a-zA-ZáéíóúÁÉÍÓÚÑñüÜ ]+" title="Sólo letras"/>
<small id="desc-nombre" class="text-danger form-text"></small>
</div>
</div>
<br>
<div class="col-lg-12">
<div class="form-group">
<label>Apellido Paterno</label>
<input type="text" class="form-control campo" id="apellidopaterno" onkeyup="" pattern="^[a-zA-ZáéíóúÁÉÍÓÚÑñüÜ ]+" title="Sólo letras"/>
<small id="desc-apellidos" class="text-danger form-text"></small>
</div>
</div>
<br>
<div class="col-lg-12">
<div class="form-group">
<label>Apellido Materno</label>
<input type="text" class="form-control campo" id="apellidomaterno" onkeyup="" pattern="^[a-zA-ZáéíóúÁÉÍÓÚÑñüÜ ]+" title="Sólo letras"/>
<small id="desc-apellidos" class="text-danger form-text"></small>
</div>
</div>
<br>
<div class="col-lg-12">
<div class="form-group">
<label>Pokemon Favorito:</label>
<select class="form-select fecha" id="pkmfovorito" onchange="">
</select>
<small id="desc-apellidos" class="text-danger form-text"></small>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
<button type="submit" class="btn btn-primary" id="btnGuardar">Guardar</button>
<button type="submit" class="btn btn-primary" id="btnAgregar">Agregar</button>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
<script src="assets/dist/js/main.js"></script>
</body>
</html>