From 133051ffa7872a5fd6daf9d52127b584c65e23a0 Mon Sep 17 00:00:00 2001 From: willgonzz Date: Fri, 19 Nov 2021 15:23:25 -0300 Subject: [PATCH] eliminacion de resumen de postulante y se agrega direccion al Postulante y mejora visual del formulario postulante --- curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java | 4 ++-- curriculumsearch/src/main/resources/json/postulante.json | 14 +++++++------- curriculumsearch/src/main/webapp/css/formPostulanteStyle.css | 21 +++++++++++++++------ curriculumsearch/src/main/webapp/img/fondoform.svg | 1 + curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp | 4 ++-- curriculumsearch/src/main/webapp/jsp/detallepostulante2.jsp | 2 +- curriculumsearch/src/main/webapp/jsp/postulante-form.jsp | 45 ++++++++++++++++++++++++--------------------- 7 files changed, 52 insertions(+), 39 deletions(-) create mode 100644 curriculumsearch/src/main/webapp/img/fondoform.svg diff --git a/curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java b/curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java index 8c75079..b44243e 100644 --- a/curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java +++ b/curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java @@ -64,8 +64,8 @@ public class Postulante { @Past(message = "Este campo no puede estar en el futuro") private Date fechaNacimiento; - @Column(name = "resumen") - private String resumen; + @Column(name = "direccion") + private String direccion; @Column(name = "nivel_ingles") @Min(value = 1) diff --git a/curriculumsearch/src/main/resources/json/postulante.json b/curriculumsearch/src/main/resources/json/postulante.json index 6d7c325..e3f9e2a 100644 --- a/curriculumsearch/src/main/resources/json/postulante.json +++ b/curriculumsearch/src/main/resources/json/postulante.json @@ -1,6 +1,6 @@ [ { - "resumen": "In irure aliquip qui cillum veniam sint amet amet sint ex proident anim mollit.", + "direccion": "In irure aliquip qui cillum veniam sint amet amet sint ex proident anim mollit.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -59,7 +59,7 @@ ] }, { - "resumen": "Do nostrud aliqua adipisicing in sunt aute id do elit ut dolor ad aliquip.", + "direccion": "Do nostrud aliqua adipisicing in sunt aute id do elit ut dolor ad aliquip.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -106,7 +106,7 @@ ] }, { - "resumen": "Occaecat non cupidatat amet reprehenderit consectetur ullamco et.", + "direccion": "Occaecat non cupidatat amet reprehenderit consectetur ullamco et.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -153,7 +153,7 @@ ] }, { - "resumen": "Qui ullamco excepteur velit ad ullamco id id nisi irure dolore cupidatat mollit ullamco veniam.", + "direccion": "Qui ullamco excepteur velit ad ullamco id id nisi irure dolore cupidatat mollit ullamco veniam.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -200,7 +200,7 @@ ] }, { - "resumen": "Deserunt tempor ut et eiusmod et labore Lorem.", + "direccion": "Deserunt tempor ut et eiusmod et labore Lorem.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -247,7 +247,7 @@ ] }, { - "resumen": "Aliqua est adipisicing do exercitation sit laborum aliquip aliqua adipisicing enim aute.", + "direccion": "Aliqua est adipisicing do exercitation sit laborum aliquip aliqua adipisicing enim aute.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", @@ -294,7 +294,7 @@ ] }, { - "resumen": "Officia eiusmod ut reprehenderit tempor consequat elit amet ex voluptate aute anim do.", + "direccion": "Officia eiusmod ut reprehenderit tempor consequat elit amet ex voluptate aute anim do.", "nacionalidad": "Paraguaya", "postulaciones": [{ "id": 1 }], "estadoCivil": "Soltero", diff --git a/curriculumsearch/src/main/webapp/css/formPostulanteStyle.css b/curriculumsearch/src/main/webapp/css/formPostulanteStyle.css index d21e36f..105dde9 100644 --- a/curriculumsearch/src/main/webapp/css/formPostulanteStyle.css +++ b/curriculumsearch/src/main/webapp/css/formPostulanteStyle.css @@ -1,11 +1,17 @@ body { - /* background-color: #baebd8; */ - background-image:url(/img/fondo.png); - /*background-size:cover;*/ - background-repeat:repeat; + background:url(/img/fondoform.svg); + background-size: cover; + background-attachment: fixed; + background-blend-mode: multiply; + font-family: "normal"; + position: relative; + width: 100%; + height: 100%; + font-family:'Shippori Antique B1'; + /* background-repeat:repeat; height:100vh;width:100vw; align-items:"middle"; - background-attachment: fixed; + background-attachment: fixed; */ } #head{text-align:center} @@ -200,8 +206,11 @@ dos bordes con color y que giramos con transform: rotate(-45deg); } h4{ - color: #5e5b5b; + color: #ffffff; text-transform: capitalize; font-size: large; +} +form[name="postulante"]{ + color: #ffffff; } \ No newline at end of file diff --git a/curriculumsearch/src/main/webapp/img/fondoform.svg b/curriculumsearch/src/main/webapp/img/fondoform.svg new file mode 100644 index 0000000..ee8c3f6 --- /dev/null +++ b/curriculumsearch/src/main/webapp/img/fondoform.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp index b56aa02..f191f7f 100644 --- a/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp +++ b/curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp @@ -69,10 +69,10 @@
-
Resumen
+
Direccion
- ${postulante.resumen} + ${postulante.direccion}

diff --git a/curriculumsearch/src/main/webapp/jsp/detallepostulante2.jsp b/curriculumsearch/src/main/webapp/jsp/detallepostulante2.jsp index 953a278..1bfad4c 100644 --- a/curriculumsearch/src/main/webapp/jsp/detallepostulante2.jsp +++ b/curriculumsearch/src/main/webapp/jsp/detallepostulante2.jsp @@ -50,7 +50,7 @@ Disponibilidad: ${postulante.disponibilidad}
  • - Resumen: ${postulante.resumen} + Direccion: ${postulante.direccion}

  • diff --git a/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp b/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp index f48c037..db36b7d 100644 --- a/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp +++ b/curriculumsearch/src/main/webapp/jsp/postulante-form.jsp @@ -14,6 +14,7 @@ + @@ -22,9 +23,9 @@ -
    -
    -
    + +
    +
    @@ -81,7 +82,7 @@ - +
    @@ -89,30 +90,36 @@
    + +
    + + +
    + +
    - +
    - -
    - - - - + +
    + +
    - + +
    -
    +
    -
    +
    -
    +
    -
    - - -

    @@ -247,7 +250,7 @@
    -