From d38572eb78c3e277ee283d2a629c392dd0f634e7 Mon Sep 17 00:00:00 2001 From: Federico Martinez <fedmartinez02@gmail.com> Date: Mon, 16 Sep 2024 23:24:35 -0300 Subject: [PATCH] agregar cosas al index estatico --- index.html | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 6c6fa78..0467a9a 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,53 @@ <!DOCTYPE html> <html> - <body> - <h2>Holaaaaa</h2> - </body> +<head> + <style> + body, html { + height: 100%; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f0f0; + flex-direction: column; + gap: 10px; + } + + #crearUsuarioForm, #buscarUsuarioForm { + display: flex; + gap: 5px; + justify-content: center; + align-items: center; + flex-direction: column; + padding-bottom: 10px; + } + + #crearUsuarioFields { + display: flex; + align-items: flex-start; + flex-direction: column; + gap: 5px; + } + </style> +<meta charset="UTF-8"> +<title>Inicio</title> +</head> +<body> +<form action="detalle_usuario" method="POST" id="buscarUsuarioForm"> + <h3>Buscar Usuario</h3> + Ingrese el nombre del Usuario: <input name="nombreBuscado" required/> + <button type="submit">Buscar Usuario</button> +</form> +<form action="usuario_creado" method="POST" id="crearUsuarioForm"> + <h3>Crear Usuario</h3> + <div id="crearUsuarioFields"> + <label>Nombre: <input name="nombre" required/></label> + <label>Año de Nacimiento: <input name="añoNacimiento" required/></label> + <label>Fecha de Registro: <input name="fechaRegistro" required/></label> + </div> + <button type="submit">Crear nuevo Usuario</button> +</form> +<form action="lista_usuarios" method="POST"> + <button type="submit">Listar Usuarios</button> +</form> +</body> </html> \ No newline at end of file -- GitLab