Pequenhos cambios a jsp de home y login

parent a9d779b8
......@@ -68,6 +68,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok</artifactId>-->
<!-- <version>1.18.22</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
</dependencies>
<build>
......
......@@ -84,7 +84,6 @@ public class PostulanteController {
@PostMapping(value = "/postulante",consumes = "application/json")
public String guardarPostulante(@RequestBody Postulante postulante){
System.out.println("hola");
postulante.getTecnologias().stream().filter(
tec -> tec.getTecnologia().getId() != 0
).forEach(
......@@ -98,7 +97,6 @@ public class PostulanteController {
estudio.setInstitucion(institucion);
}
}
System.out.println("hola");
post.save(postulante);
return "redirect:/postulacion-correcta";
}
......
......@@ -13,7 +13,14 @@ import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
@Data
@RequiredArgsConstructor
@NoArgsConstructor(access = AccessLevel.PACKAGE, force = true)
@Entity
@Table(name="ciudad")
public class Ciudad{
......
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link href="https://getbootstrap.com/docs/4.0/examples/signin/signin.css" rel="stylesheet" crossorigin="anonymous">
<title>Document</title>
</head>
<body>
<div class="container">
<jsp:include page="header.jsp"/>
<a href="postulante">Form postulante</a>
<div>
<form action="/logout" method="get">
......@@ -17,5 +25,6 @@
<input type="submit" value="Sign Out" />
</form>
</div>
</div>
</body>
</html>
\ No newline at end of file
......@@ -21,7 +21,7 @@
<form:form method="post" action="/login">
<h3 class="mb-5">Sign in</h3>
<h3 class="mb-5">Ingresar</h3>
<div class="form-outline mb-4">
<input type="email" id="typeEmailX-2" class="form-control form-control-lg" name="email" placeholder="example@example.com"/>
<label class="form-label" for="typeEmailX-2">Email</label>
......@@ -33,7 +33,7 @@
</div>
<button class="btn btn-primary btn-lg btn-block" type="submit">Login</button>
<button class="btn btn-primary btn-lg btn-block" type="submit">Ingresar</button>
</form:form>
<hr class="my-4">
......
......@@ -15,7 +15,7 @@
<style type="text/css" media="screen">
body {
background-color: blue
background-color: #506BEE
}
.card {
......@@ -27,7 +27,7 @@
}
.image span {
background-color: blue;
background-color: #506BEE;
color: #fff;
padding: 6px;
height: 30px;
......@@ -43,7 +43,7 @@
}
.user-details h4 {
color: blue
color: #506BEE
}
.ratings {
......@@ -75,7 +75,7 @@
.inputs input:focus {
box-shadow: none;
border: 2px solid blue
border: 2px solid #506BEE
}
.about-inputs label {
......@@ -119,10 +119,10 @@
}
.add-experience:hover {
background: blue;
background: #506BEE;
color: #fff;
cursor: pointer;
border: solid 1px blue
border: solid 1px #506BEE
}
</style>
......
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