-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuevoCliente.jsp
40 lines (39 loc) · 1.93 KB
/
nuevoCliente.jsp
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
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.Connection"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="https://fonts.googleapis.com/css?family=Faster+One" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="estilo.css">
<title>Add Cliente - Reserva tu hotel</title>
</head>
<body>
<div id="wrapper">
<header>
<h1 id="rotulo">HAZ TUS RESERVAS</h1>
<p id="web">ReservaHoteles.com</p>
</header>
<nav>
<span><a href="index.jsp">Página de Inicio</a></span>
</nav>
<section>
<form method="post" action="grabaCliente.jsp" class="formulario">
<h2 class="tituloFormulario">Añadir nuevo cliente</h2>
<div class="contenedorInputs">
<input class="inputSmall" type="text" name="nombreCliente" placeholder="Nombre cliente" required>
<input class="inputGrande" type="text" name="apellidosCliente" placeholder="Apellidos" required>
<input class="inputGrande" type="text" maxlength="9" name="DniCliente" placeholder="DNI" required>
<input class="inputSmall" type="text" name="direccionCliente" placeholder="Dirección" required><br/>
<input class="inputGrande" type="text" name="EmailCliente" placeholder="Email" required>
<input class="botonFormulario" type="submit" value="Añadir">
</div>
</form>
</section>
<footer>Lucía Flores Padilla - CRUD Reserva Hoteles ©</footer>
</div><!-- Cierra el wrapper -->
</body>
</html>