-
Notifications
You must be signed in to change notification settings - Fork 0
/
formularioDocumentacion.php
99 lines (87 loc) · 3.93 KB
/
formularioDocumentacion.php
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>
<head>
<link rel="stylesheet" href="css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="css/estilo.css" rel="stylesheet">
<title>
Formulario
</title>
</head>
<body>
<nav class="navbar navbar-toggleable-md navbar-light bg-faded barras">
<div class="col ">
<a class="navbar-brand" href="index.php" style="color:#fff">Inicio</a>
<i class="fas fa-cogs fa-2x" style="float:right; margin-left: 15px"></i>
<i class="fas fa-user fa-2x" style="float:right"></i>
<i class="fas fa-bars fa-2x btn-toolbar" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample"style="float:left; margin-right: 50px;"></i>
</div>
<div class="col collapse-xs navbar-collapse" id="navbarSupportedContent">
<div class="navbar-nav mr-auto">
</div>
</div>
</nav>
<center><h2>Alta Documentación</h2></center>
<form class="container" style="margin-top: 15px; background:#D4D5D7" method="POST" action="procesoAltaDocumentacion.php">
<div class="form-row">
<div class="form-group col-md-6">
<div class="form-group">
<label for="exampleFormControlSelect1">Material: </label>
<select class="form-control" name="material" id="material">
<option value="1">Libro</option>
<option value="2">Revista</option>
<option value="3">CD</option>
<option value="4">DVD</option>
<option value="5">Blue-Ray Disc</option>
</select>
</div>
</div>
<div class="form-group col-md-6">
<label for="inputPassword4">Titulo:</label>
<input type="text" class="form-control" required name="titulo" id="titulo" autofocus>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputAddress">ISBN:</label>
<input type="text" class="form-control" required id="isbn" name="isbn">
</div>
<div class="form-group col-md-6">
<label for="inputAddress2">Año:</label>
<input type="text" class="form-control" name="anio" id="anio">
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputCity">Edición:</label>
<input type="text" class="form-control" required name="edicion" id="edicion">
</div>
<div class="form-group col-md-6">
<label for="inputCity">Editorial:</label>
<input type="text" class="form-control" required name="editorial" id="editorial">
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label>Nombre autor:</label>
<input id="nombreAutor" name="nombreAutor[]" required type="text" class="form-control">
</div>
<div class="form-group col-md-6">
<label>Apellido autor:</label>
<input id="apellidoAutor" name="apellidoAutor[]" required type="text" class="form-control">
</div>
</div>
<a href="#" id="add_Autor" class="btn btn-primary badge badge-light" style="color:black" id="add_email"> +Añadir otro autor</a>
<div class="form-row">
<div class="form-group col-md-3">
<label >Cantidad: </label>
<input type="number" class="form-control" required name="cantidad" id="cantidad" min="1" placeholder="1">
</div>
</div>
<button class="btn btn-success btn-block" style="margin-top: 15px"role="button" method="POST" type="submit">Listo!</button>
</form>
<script src="js/jquery.min.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="./js/formularioDocumentacion.js"></script>
</body>
</html>