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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
21 deletions
+42
-21
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
+9
-2
curriculumsearch/src/main/webapp/jsp/index.jsp
+19
-9
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 @@
<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>
...
...
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
83f4f86f
...
...
@@ -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"
;
}
...
...
curriculumsearch/src/main/java/com/roshka/modelo/Ciudad.java
View file @
83f4f86f
...
...
@@ -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
{
...
...
@@ -66,6 +73,6 @@ 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>
<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>
<a
href=
"postulante"
>
Form postulante
</a>
<div>
<form
action=
"/logout"
method=
"get"
>
<p>
Welcome
</p>
<input
type=
"submit"
value=
"Sign Out"
/>
</form>
<div
class=
"container"
>
<jsp:include
page=
"header.jsp"
/>
<a
href=
"postulante"
>
Form postulante
</a>
<div>
<form
action=
"/logout"
method=
"get"
>
<p>
Welcome
</p>
<input
type=
"submit"
value=
"Sign Out"
/>
</form>
</div>
</div>
</body>
</html>
\ No newline at end of file
curriculumsearch/src/main/webapp/jsp/login.jsp
View file @
83f4f86f
...
...
@@ -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"
>
...
...
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
View file @
83f4f86f
...
...
@@ -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>
...
...
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