diff --git a/src/main/java/com/roshka/proyectofinal/DataBase.java b/src/main/java/com/roshka/proyectofinal/DataBase.java
index 12d2450..f2c742e 100644
--- a/src/main/java/com/roshka/proyectofinal/DataBase.java
+++ b/src/main/java/com/roshka/proyectofinal/DataBase.java
@@ -11,7 +11,7 @@ public class DataBase {
Class.forName("org.postgresql.Driver");
con= DriverManager
.getConnection("jdbc:postgresql://localhost:5432/bootcamp_th",
- "postgres", "postgres");
+ "postgres", "2022roshka");
if(con != null){
System.out.println("---> CONNECTED TO SERVER");
diff --git a/src/main/java/com/roshka/proyectofinal/profesor/SaveServlet.java b/src/main/java/com/roshka/proyectofinal/profesor/SaveServlet.java
index 8a9aeca..da4906e 100644
--- a/src/main/java/com/roshka/proyectofinal/profesor/SaveServlet.java
+++ b/src/main/java/com/roshka/proyectofinal/profesor/SaveServlet.java
@@ -15,20 +15,20 @@ public class SaveServlet extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
- PrintWriter out=response.getWriter();
+ PrintWriter out = response.getWriter();
- String nombre=request.getParameter("nombre");
- String apellido=request.getParameter("apellido");
- String email=request.getParameter("correo");
- String nro_cedulaStr=request.getParameter("nro_cedula");
+ String nombre = request.getParameter("nombre");
+ String apellido = request.getParameter("apellido");
+ String email = request.getParameter("correo");
+ String nro_cedulaStr = request.getParameter("nro_cedula");
int nro_cedula = Integer.parseInt(nro_cedulaStr);
- Profesor p =new Profesor(nro_cedula, nombre, apellido, email);
+ Profesor p = new Profesor(nro_cedula, nombre, apellido, email);
- int status=ProfesorDao.save(p);
- if(status>0){
+ int status = ProfesorDao.save(p);
+ if (status > 0) {
out.print("
Record saved successfully!
");
request.getRequestDispatcher("formulario_profesor.jsp").include(request, response);
- }else{
+ } else {
out.println("Sorry! unable to save record");
}
diff --git a/src/main/webapp/formulario_bootcamp.jsp b/src/main/webapp/formulario_bootcamp.jsp
index cac817a..e91d788 100644
--- a/src/main/webapp/formulario_bootcamp.jsp
+++ b/src/main/webapp/formulario_bootcamp.jsp
@@ -17,9 +17,10 @@
+
- JSP Page
+ Crear BOOTCAMP
diff --git a/src/main/webapp/home.css b/src/main/webapp/home.css
index 2deed6c..460a0cc 100644
--- a/src/main/webapp/home.css
+++ b/src/main/webapp/home.css
@@ -1,125 +1,95 @@
- img.logoi {
- width: 200px;
- }
-
- img {
- width: 400px;
- padding: 10px;
- display: block;
- padding: 10px;
- }
+* {
+ padding: 0;
+ margin: 0;
+ box-sizing: border-box;
+}
+
+body{
+ width:100vw;
+ height: 100vh;
+ background: linear-gradient(100deg, rgba(20, 99, 155, 0.25), rgba(30, 148, 227, 0.25));
+ background-image: url(imagenes/descarga.svg);
+ font-family: Georgia, 'Times New Roman', Times, serif;
+ font-weight: "bold";
+ color: white;
+}
+.contenedor{
+ width: 100%;
+ height: 20%;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+.main{
+ width: 100%;
+ height: 80%;
+ display: flex;
+ align-items: center;
+ /* background-color: aqua; */
+}
+.letra{
+ width: 60%;
+ height: 40%;
+ margin-left: 10px;
+ font-weight: bold;
+ color: aliceblue;
+}
+.letra h3{
- .header {
- margin-bottom: 0;
- width: 700px;
- }
+}
+.imagen{
+ width: 40%;
+ /* background-color: crimson; */
+
+}
+
+
+.contenido a img{
+ width: 100%;
+ display: flex;
+ justify-content: flex-end;
- a {
- float: right 100px;
- color: #fff;
- font-size: larger;
- text-decoration: none;
- padding: 10px;
- }
+}
+.link{
+ width: 90%;
+ height: 80%;
+ text-decoration: none;
+ display: flex;
- body {
- background: linear-gradient(100deg, rgba(20, 99, 155, 0.25), rgba(30, 148, 227, 0.25));
- background-image: url(imagenes/descarga.svg);
- background-size: contain;
- background-attachment: fixed;
- background-blend-mode: multiply;
- font-family: Georgia, 'Times New Roman', Times, serif;
- color: white;
- position: relative;
- width: 100px;
- height: 100px;
- }
- /* ul{
- list-style: none;
+ justify-content: flex-end;
+ align-items: center;
+}
+ul {
+ width: 70%;
+ height: 70%;
}
-.menu >ul{
- float: right;
+
+div.link ul li a {
+ /* float: right 100px;
+ color: #fff;
+ font-size: larger; */
+ text-decoration: none;
+ color: aliceblue;
+ /* padding: 10px; */
}
-.menu li a {
+.link ul {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ list-style: none;
+}
- color:#fff;
- text-decoration:none;
- padding:10px 12px;
- display:block;
+.imagen img{
+ width: 100%;
+ height:100%;
+
}
-.menu li ul li {
- marging-left
- position:relative;
-} */
-
- .menu {
- width: 400%;
- float: left;
- }
-
- .menu ul li {
- float: right;
- list-style-type: none;
- text-align: right;
- }
-
- div.menu {
- float: right;
- }
-
- .menu ul li a {
- padding-left: 5px;
- text-decoration: none;
- font-size: clamp(145px);
- text-transform: uppercase;
- display: block;
- position: relative;
- overflow: hidden;
- padding-bottom: 50px;
- white-space: nowrap;
- }
-
- .grafico,
- svg {
- max-width: 50px;
- display: block;
- height: auto;
- }
-
- .seccion.hero {
- margin-top: 10px;
- padding-bottom: 10px;
- width: 900px;
- }
-
- .hero {
- perspective: 100px;
- }
-
- .hero {
- display: grid;
- grid-template-columns: auto repeat(5, 0.5fr) auto;
- }
-
- .hero {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding-left: 200px;
- /* padding-right: 200px;
- */
- }
- /* */
-
- .postulacion {
- border-radius: 30px;
- }
-
- .cta-main {
- width: 200px;
- font-family: monospace;
- background-color: yellow;
- border: none;
- }
+
+.cta-main {
+ width: 200px;
+ font-family: monospace;
+ background-color: yellow;
+ border: none;
+}
\ No newline at end of file
diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html
index 256cef0..6e2e3ef 100644
--- a/src/main/webapp/index.html
+++ b/src/main/webapp/index.html
@@ -1,83 +1,57 @@
-
-
+
-
-
-
-
-
-
-
+
+
+
-
- Roshka WebSite
-
-
-
-
-
-
-
+
+
+
+
+
+
Es tu turno, Postulate para el bootcamp
+
+ Es un campo de entrenamiento intensivo y gratuito para principiantes
+ que ya programan y quieren ser parte de la empresa.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/menu.jsp b/src/main/webapp/menu.jsp
index db40705..8e96dd0 100644
--- a/src/main/webapp/menu.jsp
+++ b/src/main/webapp/menu.jsp
@@ -13,71 +13,8 @@
-
-
+
+
@@ -88,15 +25,19 @@
+
+
+
-
+
diff --git a/src/main/webapp/menulogin.css b/src/main/webapp/menulogin.css
new file mode 100644
index 0000000..5dacac3
--- /dev/null
+++ b/src/main/webapp/menulogin.css
@@ -0,0 +1,100 @@
+* {
+ padding: 0;
+ margin: 0;
+ box-sizing: border-box;
+}
+
+img {
+ width: 200px;
+ padding: 10px;
+ display: block;
+ padding: 10px;
+}
+
+ body {
+ font-family: 'Concert One', cursive;
+ font-family: 'Francois One', sans-serif;
+ font-family: 'Satisfy', cursive;
+ font-family: 'Staatliches', cursive;
+ font-size: 13px;
+ background-image: url(imagenes/descarga.svg);
+
+ }
+
+ .header,
+ .footer {
+ background-color: whitesmoke;
+ color: rgb(18, 18, 98);
+ padding: 60px;
+ }
+ .header,.footer{
+ background-color: aqua;
+ }
+
+ .column {
+ float: left;
+ padding: 30px;
+ }
+
+ .clearfix::after {
+ content: "";
+ clear: both;
+ display: table;
+ }
+
+ a {
+ color: white;
+ text-align: center;
+ text-decoration: none;
+ font-size: larger;
+ }
+
+ .menu {
+ width: 50%;
+ text-align: center;
+ }
+ .content {
+ width: 50%;
+ }
+
+ .menu ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+
+ .menu li {
+ padding: 8px;
+ margin-bottom: 8px;
+ border: solid 2px white;
+ /* background-image: url(imagenes/descarga.svg); */
+ color: rgb(18, 18, 98);
+
+ }
+
+ .menu li:hover {
+ background-color: rgb(18, 18, 98);
+ }
+ div.header{
+ background-image: url(imagenes/descarga.svg);
+ border: solid 1px black;
+ }
+ h1{
+ color: white;
+ text-align: center;
+ font-size: 30px;
+ }
+
+ h2,h3{
+ text-align: center;
+ font-family: monospace;
+ color: white;
+ }
+ h2:hover{
+ color: yellow;
+ }
+ h3:hover{
+ color: yellow;
+ }
+
+
\ No newline at end of file
diff --git a/src/main/webapp/postulante-consulta.jsp b/src/main/webapp/postulante-consulta.jsp
index 3c8243e..33e13a4 100644
--- a/src/main/webapp/postulante-consulta.jsp
+++ b/src/main/webapp/postulante-consulta.jsp
@@ -16,6 +16,8 @@
+
+
@@ -29,22 +31,25 @@
MENU
-
+