Commit e7f9db5a by Yovan Martinez

merge con develop

parents 9260cde7 5c94329c
...@@ -15,6 +15,7 @@ target/ ...@@ -15,6 +15,7 @@ target/
*.iws *.iws
*.iml *.iml
*.ipr *.ipr
/encodings.xml /encodings.xml
### Eclipse ### ### Eclipse ###
.apt_generated .apt_generated
......
...@@ -10,7 +10,7 @@ public class DataBase { ...@@ -10,7 +10,7 @@ public class DataBase {
try{ try{
Class.forName("org.postgresql.Driver"); Class.forName("org.postgresql.Driver");
con= DriverManager con= DriverManager
.getConnection("jdbc:postgresql://localhost:5432/bootcamp_th", .getConnection("jdbc:postgresql://localhost:5433/bootcamp_th",
"postgres", "postgres"); "postgres", "postgres");
if(con != null){ if(con != null){
......
...@@ -5,19 +5,15 @@ html,body{ ...@@ -5,19 +5,15 @@ html,body{
} }
/* damos los estilos a todo lo que contiene el body */ /* damos los estilos a todo lo que contiene el body */
body{ body{
font-family: 'Quicksand', sans-serif; background-color: rgba(11, 49, 110, 0.75);
color: white; font-family:Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
webkit-font-smoothing: antialiased; color: wheat;
-moz-osx-font-smoothing: grayscale; font-weight: bold;
align-items: center; display: flex;
height: 150%;} justify-content: center;
p{
font-family: 'Quicksand', sans-serif;
color: white;
webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
align-items: center; align-items: center;
height: 150%;} height: 160%;
}
/* para el logo */ /* para el logo */
...@@ -32,7 +28,7 @@ p.enter{ ...@@ -32,7 +28,7 @@ p.enter{
} }
/* para el parrafo */ /* para el parrafo */
p:hover{ p:hover{
color: white; color: yellow;
} }
/* para el create o sea para el main */ /* para el create o sea para el main */
...@@ -51,7 +47,7 @@ p:hover{ ...@@ -51,7 +47,7 @@ p:hover{
display: block; display: block;
border: none; border: none;
align-items:center; align-items:center;
color:white
} }
...@@ -62,12 +58,10 @@ p:hover{ ...@@ -62,12 +58,10 @@ p:hover{
align-items:center; align-items:center;
} }
.form input[type="email"],.form input[type="text"],.form input[type="number"]{ .form input[type="email"],.form input[type="text"],.form input[type="number"]{
background-color: transparente; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 1px solid #000; border: 1px solid #000;
} }
.form input:hover{ .form input:hover{
background-color: wheat; background-color: wheat;
...@@ -77,12 +71,10 @@ p:hover{ ...@@ -77,12 +71,10 @@ p:hover{
a{ a{
text-decoration: none; text-decoration: none;
} }
ul{ ul{
list-style:none; list-style:none;
font-size:15px; font-size:15px;
} }
a{ a{
...@@ -98,19 +90,19 @@ border-radius: 10px; ...@@ -98,19 +90,19 @@ border-radius: 10px;
background-image: url(imagenes/descarga.svg); background-image: url(imagenes/descarga.svg);
} }
.form input[type="reset"] , .form input[type="submit"]{ .form input[type="reset"] , .form input[type="submit"]{
text-decoration:none; text-decoration:none;
background-color: rgba(11, 49, 110, 0.75); background-color: rgba(11, 49, 110, 0.75);
background-image: url(imagenes/descarga.svg); background-image: url(imagenes/descarga.svg);
border-radius: 5px;; border-radius: 5px;;
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
margin:10px; margin:10px;
text-decoration: none; text-decoration: none;
color:#ffff; color:#ffff;
text-align:left; text-align:left;
cursor: pointer; cursor: pointer;
width:80px; width:80px;
text-align:center; text-align:center;
} }
/*hola mundo*/ /*hola mundo*/
...@@ -122,12 +114,14 @@ input#experiencia_laboral,input#notebook,input#universidad{ ...@@ -122,12 +114,14 @@ input#experiencia_laboral,input#notebook,input#universidad{
width:500px; width:500px;
} }
/* para el alert */ /* para el alert */
.alert { .alert {
padding: 10px; padding: 10px;
background-color: background-color: #2196F3; background-color: background-color: #2196F3;
color: white; color: white;
} }
.alert.info {background-color: #2196F3;} .alert.info {background-color: #2196F3;}
.alert.error {background-color: #ff0000;} .alert.error {background-color: #ff0000;}
.closebtn { .closebtn {
...@@ -140,7 +134,7 @@ width:500px; ...@@ -140,7 +134,7 @@ width:500px;
cursor: pointer; cursor: pointer;
transition: 0.3s; transition: 0.3s;
} }
.closebtn:hover { .closebtn:hover {
color: black; color: black;
} }
Contraer \ No newline at end of file
\ No newline at end of file
...@@ -13,7 +13,7 @@ pageEncoding="UTF-8"%> ...@@ -13,7 +13,7 @@ pageEncoding="UTF-8"%>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" /> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="Javascript.js"></script> <script src="Javascript.js"></script>
<link rel="stylesheet" media="(max-width: 800px)" href="example.css" /> <link rel="stylesheet" media="(max-width: 800px)" href="example.css" />
<title>Formulario Postulante</title> <title>Formulario Postulante</title>
</head> </head>
<body> <body>
...@@ -41,8 +41,7 @@ pageEncoding="UTF-8"%> ...@@ -41,8 +41,7 @@ pageEncoding="UTF-8"%>
<form method="get" action="SaveServlet" class="form"> <form method="get" action="SaveServlet" class="form">
<input type="hidden" name="bootcamp" value="<%= request.getParameter(" bootcamp ") %>">
<input type="hidden" name="bootcamp" value="<%= request.getParameter("bootcamp") %>">
<label for="nombre">Ingrese su Nombre:</label> <label for="nombre">Ingrese su Nombre:</label>
<input required id="nombre" name="nombre" type="text"><br> <input required id="nombre" name="nombre" type="text"><br>
...@@ -98,9 +97,11 @@ pageEncoding="UTF-8"%> ...@@ -98,9 +97,11 @@ pageEncoding="UTF-8"%>
<input class="borrar" type="reset" value="Borrar"><br> <input class="borrar" type="reset" value="Borrar"><br>
<a href="index.html">volver</a> <a href="index.html">volver</a>
</form> </form>
</div>
</article> </article>
</main> </main>
</body> </body>
</html> </html>
<script> <script>
(function() { (function() {
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
<%@ page import="com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator" %> <%@ page import="com.roshka.proyectofinal.entity.Lenguaje, com.roshka.proyectofinal.entity.Bootcamp, com.roshka.proyectofinal.lenguaje.LenguajeDao, com.roshka.proyectofinal.bootcamp.BootcampDao, com.roshka.proyectofinal.entity.Profesor, com.roshka.proyectofinal.profesor.ProfesorDao, java.util.List,java.util.Iterator" %>
<% <%
LenguajeDao lenDao = new LenguajeDao();
List<Lenguaje> listLen = lenDao.listar();
Iterator<Lenguaje> iter = listLen.iterator();
Lenguaje len = null;
ProfesorDao profeDao = new ProfesorDao(); ProfesorDao profeDao = new ProfesorDao();
List<Profesor> listProfesor = profeDao.listar(); List<Profesor> listProfesor = profeDao.listar();
......
...@@ -26,18 +26,7 @@ ...@@ -26,18 +26,7 @@
<ul> <ul>
<li class="link-menu"><a href="">Home</a></li> <li class="link-menu"><a href="">Home</a></li>
<li class="link-menu"><a href="bootcamp.jsp">Postulate</a></li> <li class="link-menu"><a href="bootcamp.jsp">Postulate</a></li>
<li class="link-menu"><a href="formulario_bootcamp.jsp">Crear bootcamp</a></li>
<li class="link-menu"><a href="manage_postulantes.jsp">Manage Postulantes(perdon angel)</a></li>
<li class="link-menu"><a href="formulario.jsp">Postulate</a></li>
<li class="link-menu"><a href="formulario_bootcamp.jsp">Crear bootcamp</a>
<li class="link-menu"><a href="login.jsp">Login</a>
<li class="link-menu"><a href="protected">Recurso Protegido</a></li>
</li>
<li class="link-menu"><a href="formulario_lenguaje.jsp">Crear lenguaje</a>
</li>
<li class="link-menu"><a href="formulario_profesor.jsp">Crear profesor</a>
</li> </li>
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment