Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amparo Oliver
th-app-java
Commits
83f4f86f
Commit
83f4f86f
authored
Nov 08, 2021
by
Cesar Giulano Gonzalez Maqueda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pequenhos cambios a jsp de home y login
parent
a9d779b8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
12 deletions
+33
-12
curriculumsearch/pom.xml
+6
-0
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
+0
-2
curriculumsearch/src/main/java/com/roshka/modelo/Ciudad.java
+8
-1
curriculumsearch/src/main/webapp/jsp/index.jsp
+11
-1
curriculumsearch/src/main/webapp/jsp/login.jsp
+2
-2
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
+6
-6
No files found.
curriculumsearch/pom.xml
View file @
83f4f86f
...
@@ -68,6 +68,12 @@
...
@@ -68,6 +68,12 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
<artifactId>
spring-boot-starter-security
</artifactId>
</dependency>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.projectlombok</groupId>-->
<!-- <artifactId>lombok</artifactId>-->
<!-- <version>1.18.22</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
</dependencies>
</dependencies>
<build>
<build>
...
...
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
83f4f86f
...
@@ -84,7 +84,6 @@ public class PostulanteController {
...
@@ -84,7 +84,6 @@ public class PostulanteController {
@PostMapping
(
value
=
"/postulante"
,
consumes
=
"application/json"
)
@PostMapping
(
value
=
"/postulante"
,
consumes
=
"application/json"
)
public
String
guardarPostulante
(
@RequestBody
Postulante
postulante
){
public
String
guardarPostulante
(
@RequestBody
Postulante
postulante
){
System
.
out
.
println
(
"hola"
);
postulante
.
getTecnologias
().
stream
().
filter
(
postulante
.
getTecnologias
().
stream
().
filter
(
tec
->
tec
.
getTecnologia
().
getId
()
!=
0
tec
->
tec
.
getTecnologia
().
getId
()
!=
0
).
forEach
(
).
forEach
(
...
@@ -98,7 +97,6 @@ public class PostulanteController {
...
@@ -98,7 +97,6 @@ public class PostulanteController {
estudio
.
setInstitucion
(
institucion
);
estudio
.
setInstitucion
(
institucion
);
}
}
}
}
System
.
out
.
println
(
"hola"
);
post
.
save
(
postulante
);
post
.
save
(
postulante
);
return
"redirect:/postulacion-correcta"
;
return
"redirect:/postulacion-correcta"
;
}
}
...
...
curriculumsearch/src/main/java/com/roshka/modelo/Ciudad.java
View file @
83f4f86f
...
@@ -13,7 +13,14 @@ import javax.persistence.ManyToOne;
...
@@ -13,7 +13,14 @@ import javax.persistence.ManyToOne;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
import
com.fasterxml.jackson.annotation.JsonBackReference
;
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
@Entity
@Table
(
name
=
"ciudad"
)
@Table
(
name
=
"ciudad"
)
public
class
Ciudad
{
public
class
Ciudad
{
...
...
curriculumsearch/src/main/webapp/jsp/index.jsp
View file @
83f4f86f
<
%@
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>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<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>
<title>
Document
</title>
</head>
</head>
<body>
<body>
<div
class=
"container"
>
<jsp:include
page=
"header.jsp"
/>
<a
href=
"postulante"
>
Form postulante
</a>
<a
href=
"postulante"
>
Form postulante
</a>
<div>
<div>
<form
action=
"/logout"
method=
"get"
>
<form
action=
"/logout"
method=
"get"
>
...
@@ -17,5 +25,6 @@
...
@@ -17,5 +25,6 @@
<input
type=
"submit"
value=
"Sign Out"
/>
<input
type=
"submit"
value=
"Sign Out"
/>
</form>
</form>
</div>
</div>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
curriculumsearch/src/main/webapp/jsp/login.jsp
View file @
83f4f86f
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<form:form
method=
"post"
action=
"/login"
>
<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"
>
<div
class=
"form-outline mb-4"
>
<input
type=
"email"
id=
"typeEmailX-2"
class=
"form-control form-control-lg"
name=
"email"
placeholder=
"example@example.com"
/>
<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>
<label
class=
"form-label"
for=
"typeEmailX-2"
>
Email
</label>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</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>
</form:form>
<hr
class=
"my-4"
>
<hr
class=
"my-4"
>
...
...
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
View file @
83f4f86f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<style
type=
"text/css"
media=
"screen"
>
<style
type=
"text/css"
media=
"screen"
>
body
{
body
{
background-color
:
blue
background-color
:
#506BEE
}
}
.card
{
.card
{
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}
}
.image
span
{
.image
span
{
background-color
:
blue
;
background-color
:
#506BEE
;
color
:
#fff
;
color
:
#fff
;
padding
:
6px
;
padding
:
6px
;
height
:
30px
;
height
:
30px
;
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
}
}
.user-details
h4
{
.user-details
h4
{
color
:
blue
color
:
#506BEE
}
}
.ratings
{
.ratings
{
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
.inputs
input
:focus
{
.inputs
input
:focus
{
box-shadow
:
none
;
box-shadow
:
none
;
border
:
2px
solid
blue
border
:
2px
solid
#506BEE
}
}
.about-inputs
label
{
.about-inputs
label
{
...
@@ -119,10 +119,10 @@
...
@@ -119,10 +119,10 @@
}
}
.add-experience
:hover
{
.add-experience
:hover
{
background
:
blue
;
background
:
#506BEE
;
color
:
#fff
;
color
:
#fff
;
cursor
:
pointer
;
cursor
:
pointer
;
border
:
solid
1px
blue
border
:
solid
1px
#506BEE
}
}
</style>
</style>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment