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
17a9fadc
Commit
17a9fadc
authored
Nov 24, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
colocacion de tildes en las palabras jsp
parent
2e26d315
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
30 deletions
+25
-30
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
+3
-3
curriculumsearch/src/main/java/com/roshka/repositorio/InstitucionRepository.java
+1
-1
curriculumsearch/src/main/resources/json/postulante.json
+6
-6
curriculumsearch/src/main/resources/static/Convo.js
+2
-2
curriculumsearch/src/main/webapp/jsp/convocatorias.jsp
+1
-6
curriculumsearch/src/main/webapp/jsp/layouts/base.jsp
+1
-1
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
+1
-1
curriculumsearch/src/main/webapp/jsp/postulantes.jsp
+7
-7
curriculumsearch/src/main/webapp/jsp/tecnologia-form.jsp
+1
-1
curriculumsearch/src/main/webapp/jsp/tecnologias.jsp
+2
-2
No files found.
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
17a9fadc
...
...
@@ -117,9 +117,9 @@ public class PostulanteController {
postulante
.
setCvFile
(
cv
);
}
for
(
Estudio
estudio:
postulante
.
getEstudios
()){
String
nombreIns
=
""
;
nombreIns
=
estudio
.
getInstitucion
().
getNombre
().
toLowerCase
();
Institucion
institucion
=
institucionRepository
.
findByNombre
(
nombreIns
);
String
nombreIns
=
estudio
.
getInstitucion
().
getNombre
()
;
Institucion
institucion
=
institucionRepository
.
findByNombre
IgnoreCase
(
nombreIns
);
if
(
institucion
==
null
){
institucionRepository
.
save
(
estudio
.
getInstitucion
());
}
else
{
...
...
curriculumsearch/src/main/java/com/roshka/repositorio/InstitucionRepository.java
View file @
17a9fadc
...
...
@@ -4,5 +4,5 @@ import com.roshka.modelo.Institucion;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
InstitucionRepository
extends
JpaRepository
<
Institucion
,
Long
>
{
public
Institucion
findByNombre
(
String
nombre
);
public
Institucion
findByNombre
IgnoreCase
(
String
nombre
);
}
curriculumsearch/src/main/resources/json/postulante.json
View file @
17a9fadc
...
...
@@ -90,7 +90,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"UN
A
"
},
"institucion"
:
{
"nombre"
:
"UN
B
"
},
"fechaDesde"
:
"2014-07-08"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"lic inf"
...
...
@@ -137,7 +137,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"UN
A
"
},
"institucion"
:
{
"nombre"
:
"UN
C
"
},
"fechaDesde"
:
"2014-02-13"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"lic inf"
...
...
@@ -184,7 +184,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"UN
A
"
},
"institucion"
:
{
"nombre"
:
"UN
D
"
},
"fechaDesde"
:
"2014-12-22"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"ing inf"
...
...
@@ -231,7 +231,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"
U
NA"
},
"institucion"
:
{
"nombre"
:
"
AMERICA
NA"
},
"fechaDesde"
:
"2014-08-03"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"lic inf"
...
...
@@ -278,7 +278,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"U
N
A"
},
"institucion"
:
{
"nombre"
:
"U
C
A"
},
"fechaDesde"
:
"2014-07-13"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"ing inf"
...
...
@@ -325,7 +325,7 @@
{
"tipoDeEstudio"
:
"TERCIARIO"
,
"estado"
:
"SUSPENDIDO"
,
"institucion"
:
{
"nombre"
:
"U
NA
"
},
"institucion"
:
{
"nombre"
:
"U
COM
"
},
"fechaDesde"
:
"2014-10-03"
,
"fechaHasta"
:
"2016-01-01"
,
"temaDeEstudio"
:
"ing inf"
...
...
curriculumsearch/src/main/resources/static/Convo.js
View file @
17a9fadc
...
...
@@ -20,9 +20,9 @@ function listarConvocatorias(id){
const
opt
=
document
.
createElement
(
"option"
);
opt
.
value
=
conv
.
id
;
if
(
conv
.
fechaFin
!=
null
){
opt
.
innerHTML
=
"Desde :"
+
new
Date
(
conv
.
fechaInicio
).
toISOString
().
slice
(
0
,
10
)
+
"-"
+
" Hasta :"
+
new
Date
(
conv
.
fechaFin
).
toISOString
().
slice
(
0
,
10
);
opt
.
innerHTML
=
new
Date
(
conv
.
fechaInicio
).
toLocaleDateString
(
"es-PY"
)
+
" - "
+
new
Date
(
conv
.
fechaFin
).
toLocaleDateString
(
"es-PY"
);
}
else
{
opt
.
innerHTML
=
"
Desde :"
+
new
Date
(
conv
.
fechaInicio
).
toISOString
().
slice
(
0
,
10
)
opt
.
innerHTML
=
"
Inicio en: "
+
new
Date
(
conv
.
fechaInicio
).
toLocaleDateString
(
"es-PY"
)
}
opt
.
setAttribute
(
"data-CargoId"
,
conv
.
cargoId
);
frag
.
appendChild
(
opt
)
...
...
curriculumsearch/src/main/webapp/jsp/convocatorias.jsp
View file @
17a9fadc
...
...
@@ -119,11 +119,6 @@
</layout:put>
<layout:put block="scripts" type="APPEND">
<script language="JavaScript">
let mostrar=document.querySelector(convocatoria.getFechaFin())
if(mostrar!=null){
}
</script>
</layout:put>
</layout:extends>
curriculumsearch/src/main/webapp/jsp/layouts/base.jsp
View file @
17a9fadc
...
...
@@ -45,7 +45,7 @@
</li>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link dropdown-toggle"
href=
"#"
id=
"navbarDropdownMenuLink"
role=
"button"
data-bs-toggle=
"dropdown"
aria-expanded=
"false"
>
Tecnolog
i
as
Tecnolog
í
as
</a>
<ul
class=
"dropdown-menu"
aria-labelledby=
"navbarDropdownMenuLink"
>
<li><a
class=
"dropdown-item"
href=
"/tecnologia"
>
Agregar
</a></li>
...
...
curriculumsearch/src/main/webapp/jsp/postulante-form.jsp
View file @
17a9fadc
...
...
@@ -122,7 +122,7 @@
<br>
<div
class=
"inputs mb-3 col-md-6"
>
<label
for=
"nivelIngles"
class=
"form-label"
>
Nivel de ingl
e
s
</label>
<div
class=
"inputs mb-3 col-md-6"
>
<label
for=
"nivelIngles"
class=
"form-label"
>
Nivel de ingl
é
s
</label>
<select
name=
"nivelIngles"
id=
"nivelIngles"
class=
"content-select"
>
<option
value=
"1"
selected
>
Conocimiento de ingles muy básico
</option>
<option
value=
"2"
>
Comprendo algunas cosas y puedo leer con la ayuda del traductor
</option>
...
...
curriculumsearch/src/main/webapp/jsp/postulantes.jsp
View file @
17a9fadc
...
...
@@ -100,7 +100,7 @@
<div class="col">
<div class="row">
<div class="col-auto col-md-4">
<label class="form-label" for="instId">Instituci
o
n Educativa</label>
<label class="form-label" for="instId">Instituci
ó
n Educativa</label>
</div>
<div class="col-auto col-md-8">
...
...
@@ -118,7 +118,7 @@
<div class="col">
<div class="row">
<div class="col-auto col-md-4">
<label class="form-label" for="lvlEng">Nivel de Ingl
e
s</label>
<label class="form-label" for="lvlEng">Nivel de Ingl
é
s</label>
</div>
<div class="col-auto col-md-8">
<select class="form-select form-select-sm " name="lvlEng" id="lvlEng">
...
...
@@ -139,7 +139,7 @@
<div class="row">
<div class="col-auto col-md-4">
<label class="form-label" for="tecId">Tecnolog
i
as</label>
<label class="form-label" for="tecId">Tecnolog
í
as</label>
</div>
<div class="col-auto col-md-8">
...
...
@@ -156,7 +156,7 @@
<div class="col">
<div class="row" id="lvlTecBlock">
<div class="col-auto col-md-4">
<label class="form-label" for="lvlTec">Nivel de Tecnolog
i
a</label>
<label class="form-label" for="lvlTec">Nivel de Tecnolog
í
a</label>
</div>
<div class="col-auto col-md-8">
<select class="form-select form-select-sm" name="lvlTec" id="lvlTec">
...
...
@@ -186,9 +186,9 @@
<tr>
<th scope="col">#</th>
<th scope="col">Nombre</th>
<th scope="col">Nivel de Ingl
e
s</th>
<th scope="col">Nivel de Ingl
é
s</th>
<th scope="col">Experiencia</th>
<th scope="col">Tecnolog
i
as</th>
<th scope="col">Tecnolog
í
as</th>
<th scope="col">Estado</th>
</tr>
</thead>
...
...
@@ -239,7 +239,7 @@
</ul>
</div>
<div class="col-md-2">
<span class="badge bg-light text-dark">
Numero de Ocurrencia
s: ${numeroOcurrencias}</span>
<span class="badge bg-light text-dark">
Postulante
s: ${numeroOcurrencias}</span>
</div>
</div>
</nav>
...
...
curriculumsearch/src/main/webapp/jsp/tecnologia-form.jsp
View file @
17a9fadc
...
...
@@ -6,7 +6,7 @@
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="contents" type="REPLACE">
<h2>${tecnologia.id == null ? "Agregar" : "Modificar"} Tecnolog
i
a</h2>
<h2>${tecnologia.id == null ? "Agregar" : "Modificar"} Tecnolog
í
a</h2>
<div class="p-3 mb-2 bg-light text-dark bg-transparent">
<form:form action="/tecnologia/${tecnologia.id == null ? '' : tecnologia.id}" method="post" modelAttribute="tecnologia" class="row row-cols-lg-auto g-3 align-items-center">
...
...
curriculumsearch/src/main/webapp/jsp/tecnologias.jsp
View file @
17a9fadc
...
...
@@ -5,7 +5,7 @@
<layout:extends name="layouts/base.jsp">
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="contents" type="REPLACE">
<h2>Lista de Tecnolog
i
as</h2>
<h2>Lista de Tecnolog
í
as</h2>
<div>
<form>
...
...
@@ -38,7 +38,7 @@
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Tecnolog
i
a</th>
<th scope="col">Tecnolog
í
a</th>
<th scope="col"></th>
</tr>
</thead>
...
...
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