-
Notifications
You must be signed in to change notification settings - Fork 14
/
formulario.html
108 lines (95 loc) · 4.42 KB
/
formulario.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>
<head>
<title>Formulario</title>
<!-- Hojas css -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Font awesome -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
</head>
<body>
<!-- Barra de navegación -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="index.html"><i class="fas fa-laptop-code"></i> IGF/PRN</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Inicio</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tabla.html">Tabla</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="formulario.html">Formulario</a>
</li>
</ul>
</div>
</nav>
<!-- Contenido de la página -->
<div class="container">
<h1>Formulario</h1>
<small class="text-danger">* Obligatorio</small>
<form id="formEstudiante" action="" method="GET">
<div class="form-row">
<!-- Nombre -->
<div class="form-group col-md-6">
<label for="nombre">Nombre: <span class="text-danger">*</span></label>
<input type="text" class="form-control" placeholder="Nombre" id="nombre" name="nombre">
</div>
<!-- Apellido -->
<div class="form-group col-md-6">
<label for="apellido">Apellido: <span class="text-danger">*</span></label>
<input type="text" class="form-control" placeholder="Apellido" id="apellido" name="apellido">
</div>
</div>
<div class="form-row">
<!-- Carrera -->
<div class="form-group col-md-6">
<label for="carrera">Carrera: <span class="text-danger">*</span></label><br>
<select class="form-control" name="carrera" id="carrera">
<option value="" disabled selected>Seleccione una carrera</option>
<option value="ingSistemas">Ing. Sistemas Informáticos</option>
<option value="ingIndustrial">Ing. Industrial</option>
<option value="ingElectrica">Ing. Eléctrica</option>
</select>
</div>
<!-- Sexo -->
<div class="form-group col-md-6">
<label for="sexo">Sexo: <span class="text-danger">*</span></label>
<div>
<!-- Radiobutton masculino -->
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="M" name="sexo" value="M" checked>
<label class="form-check-label" for="M">Masculino</label>
</div>
<!-- Radiobutton femenino -->
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="F" name="sexo" value="F">
<label class="form-check-label" for="F">Femenino</label>
</div>
</div>
</div>
</div>
<div class="float-right">
<!-- Botón de limpiar -->
<button id="btnLimpiar" class="btn btn-outline-dark" type="button">Limpiar</button>
<!-- Botón de submit -->
<button class="btn btn-dark" type="submit">Enviar</button>
</div>
</form>
</div>
<!-- Scripts js -->
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Script formulario -->
<script src="js/formulario.js"></script>
</body>
</html>