Skip to content
Snippets Groups Projects
Commit 9a6323c3 authored by Federico Martinez's avatar Federico Martinez
Browse files

mejoras disenios

parent d86622c5
No related branches found
No related tags found
1 merge request!9mejoras disenios
Showing with 117 additions and 22 deletions
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
......@@ -10,7 +11,8 @@
<wb-module deploy-name="practico1">
......@@ -21,7 +23,8 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/ear-resources"/>
......@@ -38,7 +41,8 @@
<dependent-module archiveName="practico1-web.war" deploy-path="/" handle="module:/resource/practico1-web/practico1-web">
<dependency-type>uses</dependency-type>
</dependent-module>
......@@ -49,7 +53,8 @@
</wb-module>
......
/ear-resources/
#Generated by Maven Integration for Eclipse
#Sun Sep 15 01:54:43 BRT 2024
#Mon Sep 16 00:40:00 BRT 2024
artifactId=practico1-ear
groupId=tse
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico1\\ear
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico-1-tse\\ear
m2e.projectName=practico1-ear
version=0.0.1-SNAPSHOT
#Generated by Maven Integration for Eclipse
#Sun Sep 15 01:54:44 BRT 2024
#Mon Sep 16 00:40:00 BRT 2024
artifactId=practico1-ejb
groupId=tse
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico1\\ejb
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico-1-tse\\ejb
m2e.projectName=practico1-ejb
version=0.0.1-SNAPSHOT
#Generated by Maven Integration for Eclipse
#Sun Sep 15 01:54:43 BRT 2024
#Mon Sep 16 00:40:00 BRT 2024
artifactId=practico1-data
groupId=tse
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico1\\practico1-data
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico-1-tse\\practico1-data
m2e.projectName=practico1-data
version=0.0.1-SNAPSHOT
......@@ -2,6 +2,16 @@
<%@ page import="tse.practico1.Usuario" %>
<html>
<head>
<style>
body, html {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
flex-direction: column;
}
</style>
<meta charset="UTF-8">
<title>Prctico 1</title>
</head>
......
<!DOCTYPE html>
<html>
<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">
<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">
<form action="usuario_creado" method="POST" id="crearUsuarioForm">
<h3>Crear Usuario</h3>
<label>Nombre: <input name="nombre" required/></label>
<label>Ao de Nacimiento: <input name="aoNacimiento" required/></label>
<label>Fecha de Registro: <input name="fechaRegistro" required/></label>
<div id="crearUsuarioFields">
<label>Nombre: <input name="nombre" required/></label>
<label>Ao de Nacimiento: <input name="aoNacimiento" 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">
......
......@@ -3,11 +3,48 @@
<%@ page import="tse.practico1.Usuario" %>
<html>
<head>
<style>
body, html{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #f0f0f0;
}
#tabla {
display: flex;
align-items: center;
flex-direction: column;
width: 500px;
border-collapse: collapse;
font-family: Arial, sans-serif;
}
#tabla#fila{
align-self: start;
justify-self; start;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f4f4f4;
color: #333;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}</style>
<meta charset="UTF-8">
<title>Prctico 1</title>
</head>
<body>
<h2>Usuarios:</h3>
<h2>Usuarios:</h2>
<div id="tabla">
<%
// Recuperamos el array enviado desde el servlet
......@@ -18,12 +55,14 @@
for (Usuario item : usuarios) {
%>
<h3>Datos del Usuario: </h2>
<li>Nombre: <%= item.getNombre() %></li>
<li>Ao de nacimiento: <%= item.getAoNacimiento() %></li>
<li>Fecha de registro: <%= item.getFechaRegistro() %></li>
<li id="fila">Nombre: <%= item.getNombre() %></li>
<li id="fila">Ao de nacimiento: <%= item.getAoNacimiento() %></li>
<li id="fila">Fecha de registro: <%= item.getFechaRegistro() %></li>
<%
}
}
%>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<style>
body, html {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
flex-direction: column;
}
</style>
<meta charset="UTF-8">
<title>Prctico 1</title>
</head>
......
/META-INF/
#Generated by Maven Integration for Eclipse
#Sun Sep 15 11:36:25 BRT 2024
#Mon Sep 16 00:40:07 BRT 2024
artifactId=practico1-web
groupId=tse
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico1\\web
m2e.projectLocation=C\:\\Users\\fedma\\eclipse-workspace\\practico-1-tse\\web
m2e.projectName=practico1-web
version=0.0.1-SNAPSHOT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment