postulante-form.jsp 15 KB
Newer Older
1 2 3
<%@ 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" %>
4 5 6 7 8 9 10 11 12 13
<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">

14
    <title>Postulante</title>
15 16
  </head>
  <body class="container">
17
    <h1>Curriculum</h1>
18

19
    <form name="postulante" method="post" class="row g-3 needs-validation" novalidate>
20 21
        <div class="mb-3 col-5">
          <label for="correo" class="form-label">Email address</label>
22
          <input type="email" name="correo" class="form-control  " id="correo" required>
23
          <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
24 25 26
          <div class="valid-feedback">
              Luce Bien!
          </div>
27 28 29 30
        </div>

        <div class="mb-3 col-5">
            <label for="nombre" class="form-label">Nombre</label>
31 32 33 34
            <input type="text" name="nombre" class="form-control" id="nombre" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
35 36 37
        </div>
        <div class="mb-3 col-5">
            <label for="apellido" class="form-label">Apellido</label>
38 39 40 41
            <input type="text" name="apellido" class="form-control  " id="apellido" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
42 43 44 45
        </div>

        <div class="mb-3 col-3">
            <label for="ci" class="form-label">Cedula de identidad</label>
46 47 48 49
            <input type="number" name="ci" class="form-control  " id="ci" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
50 51 52
        </div>
        <div class="mb-3 col-5">
            <label for="ciudad" class="form-label">Ciudad</label>
53 54 55 56
            <input type="text" name="ciudad" class="form-control  " id="ciudad" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
57 58 59 60
        </div>

        <div class="mb-3 col-5">
            <label for="telefono" class="form-label">Telefono</label>
61 62 63 64
            <input type="number" name="telefono" class="form-control  " id="telefono" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
65 66 67 68
        </div>

        <div class="mb-3 col-5">
            <label for="fechaNacimiento" class="form-label">Fecha de nacimiento</label>
69 70 71 72
            <input type="date" min="1910-01-01" name="fechaNacimiento" class="form-control  " id="fechaNacimiento" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
73 74 75
        </div>
        <div class="mb-3 col-5">
            <label for="resumen" class="form-label">Resumen</label>
76 77 78 79
            <textarea  class="form-control  " name="resumen" id="resumen" required> </textarea>
            <div class="valid-feedback">
                Luce Bien!
            </div>
80 81 82
        </div>
        <div class="mb-3 col-5">
            <label for="nivelIngles" class="form-label">Nivel de ingles</label>
83 84 85 86
            <input type="number" class="form-control"  name="nivelIngles" id="nivelIngles" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
87 88 89 90 91 92 93
        </div>
        <div class="mb-3 col-5">
            <label for="curriculum" class="form-label">Curriculum</label>
            <input type="text" name="curriculum" class="form-control  " id="curriculum" >
        </div>
        <div class="mb-3 col-5">
            <label for="disponibilidad" class="form-label">Disponibilidad</label>
94 95 96 97
            <input type="text" class="form-control  " name="disponibilidad" id="disponibilidad" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
98 99 100
        </div>
        <div class="mb-3 col-5">
            <label for="modalidad" class="form-label">Modalidad</label>
101 102 103 104
            <input type="text" class="form-control  " name="modalidad" id="modalidad" required>
            <div class="valid-feedback">
                Luce Bien!
            </div>
105
        </div>
106
        <br>
107
        
108
      
109 110 111
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#experienciaForm">
            Agregar Experiencia
        </button>
112 113
        <div id="experiencias"></div>
        <br>
Joel Florentin committed
114
        
115 116 117 118
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#estudioForm">
          Agregar Estudios
       </button>
        <br><br>
Joel Florentin committed
119
        <div id="estudios">
120
        </div>
Joel Florentin committed
121
        
willgonzz committed
122 123 124 125
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#tecnologiaForm">
          Agregar Tecnologia
        </button>
        <div id="tecnologias"> 
Joel Florentin committed
126
        </div>
127 128 129
        <button type="submit" class="btn btn-primary">Submit</button>
      </form>

130
      <!--Modal de Experiencia-->
131 132 133 134 135 136 137 138 139 140 141 142
      <div class="modal fade" id="experienciaForm" tabindex="-1" role="dialog" aria-labelledby="experienciaForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Experiencia</h5>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
                <form name="experiencia-form">
                    <label for="institucion" class="form-label">Institucion</label>
143 144
                    <input type="text" class="form-control  " name="institucion" id="institucion" required>

145
                    <label for="fechaDesde" class="form-label">FechaDesde</label>
146 147
                    <input type="date" min="1960-01-01" class="form-control  " name="fechaDesde" id="fechaDesde" required>

148 149
                    <label for="fechaHasta" class="form-label">Fecha Hasta</label>
                    <input type="date" class="form-control  " name="fechaHasta" id="fechaHasta" >
150

151
                    <label for="cargo" class="form-label">Cargo</label>
152
                    <input type="text" class="form-control  " name="cargo" id="cargo" required>
153 154 155 156 157 158 159 160
                    
                    <label for="descripcion" class="form-label">Descripcion</label>
                    <textarea  class="form-control  " name="descripcion" id="descripcion" > </textarea>
                    
                    <label for="refNombre" class="form-label">Nombre de la Referencia</label>
                    <input type="text" class="form-control  " name="nombreReferencia" id="refNombre" >
                    <label for="refTel" class="form-label">Telefono de la Referencia</label>
                    <input type="text" class="form-control  " name="telefonoReferencia" id="refTel" >
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
                    <label class="form-label">Reconocimientos</label>
                    <div class="row mb-3">
                      <div class="col">
                        <input type="text" class="form-control" name="rec-nombre-0" placeholder="Titulo del reconocimiento" aria-label="First name">
                      </div>
                      <div class="col">
                        <input type="text" class="form-control" name="rec-certificado-0" placeholder="Adjuntar archivo" aria-label="Last name">
                      </div>
                    </div>
                    <div class="row mb-3">
                      <div class="col">
                        <input type="text" class="form-control" name="rec-nombre-1" placeholder="Titulo del reconocimiento" aria-label="First name">
                      </div>
                      <div class="col">
                        <input type="text" class="form-control" name="rec-certificado-1" placeholder="Adjuntar archivo" aria-label="Last name">
                      </div>
                    </div>
                    <div class="row mb-3">
                      <div class="col">
                        <input type="text" class="form-control" name="rec-nombre-2" placeholder="Titulo del reconocimiento" aria-label="First name">
                      </div>
                      <div class="col">
                        <input type="text" class="form-control" name="rec-certificado-2" placeholder="Adjuntar archivo" aria-label="Last name">
                      </div>
                    </div>
186 187 188 189
                </form>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
190
              <button id="agregar-exp" type="button" class="btn btn-primary" onclick="agregarFieldExpierncia()" data-dismiss="modal">Agregar</button>
191 192 193 194
            </div>
          </div>
        </div>
      </div>
willgonzz committed
195 196 197 198 199 200 201 202 203 204 205
    <!--------------------------------------------------------------------------------------->
      <div class="modal fade" id="tecnologiaForm" tabindex="-2" role="dialog" aria-labelledby="tecnologiaForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel" >tecnologia</h5>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
Joel Florentin committed
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
              <form name="tecnologia-form">
                <label for="tecnologia-nombre" class="form-label">Tecnologia</label>
                <div class="input-group mb-3">
                  <select class="form-select" name="tecnologia-id" aria-label="Default select example">
                    <option value="-1" selected>Open this select menu</option>
                    <c:forEach items="${tecnologias}" var="tecnologia">
                      <option value="${tecnologia.id}">${tecnologia.nombre}</option>
                    </c:forEach>
                  </select>
                  <button class="btn btn-outline-secondary" type="button" id="btn-new-tech">Agregar nuevo</button>
                </div>
                  
                  
                  <input type="text" class="form-control d-none" name="tecnologia-nombre" id="tecnologia-nombre" >
                  <label for="nivel" class="form-label">Nivel</label>
                  <input type="number" class="form-control" name="nivel" id="nivel" >
              </form>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary" onclick="agregarFieldTecnologia()" data-dismiss="modal">Agregar</button>
willgonzz committed
227 228
          </div>
        </div>
Joel Florentin committed
229 230 231
      </div>
    </div>      
  <!--------------------------------------------------------------------------------------->
232

233 234 235 236 237 238 239 240 241 242 243 244

      <!--Modal de Estudios-->
      <div class="modal fade" id="estudioForm" tabindex="-1" role="dialog" aria-labelledby="estudioForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Estudios</h5>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
Joel Florentin committed
245 246 247 248 249 250 251 252 253 254 255
              <form name="estudio-form">
                <label for="tipoDeEstudio" class="form-label">Tipo De Estudio</label>
                <input type="text" class="form-control  " name="tipoDeEstudio" id="tipoDeEstudio">
                <label for="institucion" class="form-label">Institucion</label>
                <input type="text" class="form-control  " name="institucion" id="institucion">                 
                <label for="fechaDesde" class="form-label">Fecha Desde</label>
                <input type="date" class="form-control  " name="fechaDesde" id="fechaDesde" >
                <label for="fechaHasta" class="form-label">Fecha Hasta</label>
                <input type="date" class="form-control  " name="fechaHasta" id="fechaHasta" >
                <label for="titulo" class="form-label">Titulo</label>
                <input type="text" class="form-control  " name="titulo" id="titulo" >
256

Joel Florentin committed
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
                <label class="form-label">Reconocimientos</label>
                <div class="row mb-3">
                  <div class="col">
                    <input type="text" class="form-control" name="rec-nombre-0" placeholder="Titulo del reconocimiento" aria-label="First name">
                  </div>
                  <div class="col">
                    <input type="text" class="form-control" name="rec-certificado-0" placeholder="Adjuntar archivo" aria-label="Last name">
                  </div>
                </div>
                <div class="row mb-3">
                  <div class="col">
                    <input type="text" class="form-control" name="rec-nombre-1" placeholder="Titulo del reconocimiento" aria-label="First name">
                  </div>
                  <div class="col">
                    <input type="text" class="form-control" name="rec-certificado-1" placeholder="Adjuntar archivo" aria-label="Last name">
                  </div>
                </div>
                <div class="row mb-3">
                  <div class="col">
                    <input type="text" class="form-control" name="rec-nombre-2" placeholder="Titulo del reconocimiento" aria-label="First name">
                  </div>
                  <div class="col">
                    <input type="text" class="form-control" name="rec-certificado-2" placeholder="Adjuntar archivo" aria-label="Last name">
                  </div>
                </div>
282 283


Joel Florentin committed
284 285 286 287 288
            </form>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
          <button type="button" class="btn btn-primary" onclick="agregarFieldEstudio()" data-dismiss="modal">Agregar</button>
289 290
        </div>
      </div>
Joel Florentin committed
291 292
    </div>
  </div>
293 294


295
    <!-- Optional JavaScript; choose one of the two! -->
296

297
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
willgonzz committed
298 299
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
300
    <script src="./main.js"></script>
301 302
  </body>
</html>