postulante-form.jsp 22.7 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">
    <title>Hello, world!</title>
14

Nelson Ruiz committed
15 16
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
Nelson Ruiz committed
17 18
    <style type="text/css" media="screen">
          body {
Nelson Ruiz committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
                  background-color: blue
              }

              .card {
                  border: none
              }

              .image {
                  position: relative
              }

              .image span {
                  background-color: blue;
                  color: #fff;
                  padding: 6px;
                  height: 30px;
                  width: 30px;
                  border-radius: 50%;
                  font-size: 13px;
                  position: absolute;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  top: -0px;
                  right: 0px
              }

              .user-details h4 {
                  color: blue
              }

              .ratings {
                  font-size: 30px;
                  font-weight: 600;
                  display: flex;
                  justify-content: left;
                  align-items: center;
                  color: #f9b43a
              }

              .user-details span {
                  text-align: left
              }

              .inputs label {
                  display: flex;
                  margin-left: 3px;
                  font-weight: 500;
                  font-size: 13px;
                  margin-bottom: 4px
              }

              .inputs input {
                  font-size: 14px;
                  height: 40px;
                  border: 2px solid #ced4da
              }

              .inputs input:focus {
                  box-shadow: none;
                  border: 2px solid blue
              }

              .about-inputs label {
                  display: flex;
                  margin-left: 3px;
                  font-weight: 500;
                  font-size: 13px;
                  margin-bottom: 4px
              }

              .about-inputs textarea {
                  font-size: 14px;
                  height: 100px;
                  border: 2px solid #ced4da;
                  resize: none
              }

              .about-inputs textarea:focus {
                  box-shadow: none
              }

              .btn {
                  font-weight: 600
              }

              .btn:focus {
                  box-shadow: none
              }

              select {
                  display: block;
                  width: 100%;
                  border: 1px solid #ddd;
                  border-radius: 10px;
                  height: 40px;
                  padding: 5px 10px
              }

              select:focus {
                  outline: none
              }

              .add-experience:hover {
                  background: blue;
                  color: #fff;
                  cursor: pointer;
                  border: solid 1px blue
              }
Nelson Ruiz committed
128 129 130
    </style>


131 132
  </head>

Nelson Ruiz committed
133
  <body class="container">
134 135
    <form name="postulante" method="post" class="needs-validation" novalidate>
                      <div class="container mt-3">
Nelson Ruiz committed
136 137
                          <div class="card p-3 text-center">
                              <div class="d-flex flex-row justify-content-center mb-3">
Nelson Ruiz committed
138
                                
Nelson Ruiz committed
139
                              </div>
Nelson Ruiz committed
140
                              <h4>Curriculum</h4>
Nelson Ruiz committed
141
                              <div class="row">
142 143 144 145 146 147 148 149
                                  <div class="about-inputs  mb-3 col-md-12 center">
                                    <label for="resumen" class="form-label">Resumen</label>
                                    <textarea  class="form-control center  " name="resumen" id="resumen" required > </textarea>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
                                    
                                  </div>
Nelson Ruiz committed
150 151

                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
152
                                    <label for="nombre" class="form-label">Nombre</label>
153 154 155 156
                                    <input type="text" name="nombre" class="form-control  " id="nombre" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
157 158
                                  </div>
                                  
Nelson Ruiz committed
159
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
160
                                    <label for="apellido" class="form-label">Apellido</label>
161 162 163 164
                                    <input type="text" name="apellido" class="form-control  " id="apellido" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
165 166 167
                                  </div>
          

Nelson Ruiz committed
168
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
169
                                    <label for="correo" class="form-label">Email address</label>
170 171 172 173
                                    <input type="email" name="correo" class="form-control  " id="correo" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
174 175 176
                                  </div>
                                  
                              
Nelson Ruiz committed
177
                                  <div class="inputs  mb-3 col-md-6">
Nelson Ruiz committed
178
                                    <label for="ci" class="form-label">Cedula de identidad</label>
179 180 181 182
                                    <input type="number" name="ci" class="form-control  " id="ci" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
183 184
                                  </div>
                                  
Nelson Ruiz committed
185
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
186
                                    <label form="ciudad" class="form-label">Ciudad</label>
187 188 189 190
                                    <input type="text" name="ciudad" class="form-control " id="ciudad" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
191
                                  </div>
Nelson Ruiz committed
192
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
193
                                    <label for="telefono" class="form-label">Telefono</label>
194 195 196 197
                                    <input type="number" name="telefono" class="form-control  " id="telefono" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
Nelson Ruiz committed
198 199
                                  </div>

200 201 202 203 204 205 206
                                  <div class="inputs mb-3 col-md-6">
                                    <label for="fechaNacimiento" class="form-label">Fecha de nacimiento</label>
                                    <input type="date" name="fechaNacimiento" class="form-control  " id="fechaNacimiento" required>
                                    <div class="valid-feedback">
                                      Luce Bien!
                                    </div>
                                  </div>
Nelson Ruiz committed
207 208
                              
                        
209 210 211 212 213 214 215 216 217
                                  <div class="inputs col-md-6"> <label for="nivelIngles" class="form-label"> Nivel de ingles</label> 
                                    <select name="nivelIngles" id="nivelIngles" class="bg-light">
                                    <option value="1" selected>1</option>
                                    <option value="2" >2</option>
                                    <option value="3" >3</option>
                                    <option value="4" >4</option>
                                    <option value="5" >5</option>
                                    </select> 
                                  </div>
Nelson Ruiz committed
218
                                
219 220 221 222 223 224 225
                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="disponibilidad" class="form-label"> Disponibilidad</label> 
                                    <select name="disponibilidad" id="disponibilidad" class="bg-light">
                                    <option value="Tiempo completo" selected>Tiempo completo</option>
                                    <option value="Medio tiempo">Medio tiempo</option>
                        
                                  </select> </div>
Nelson Ruiz committed
226
                                
227 228 229 230 231 232 233 234
                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="modalidad" class="form-label"> Modalidad</label> 
                                    <select name="modalidad" id="modalidad" class="bg-light">
                                    <option value="Pesencial" selected>Presencial</option>
                                    <option value="Semi presencial">Semi presencial</option>
                                    <option value="Remoto">Remoto</option>
                        
                                  </select> </div>
Nelson Ruiz committed
235
                              
236 237 238
                                  <div class="inputs p-3 py-5">
                                    <div class=" inputs d-flex justify-content-between align-items-center experience"><span class="border px-3 p-1 add-experience"  data-toggle="modal" data-target="#experienciaForm"><i class="fa fa-plus"></i>&nbsp;Agregar Experiencia</span></div><br>   
                                  </div>
Nelson Ruiz committed
239

240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
                                  <div class="mt-3 gap-2 d-flex justify-content-between" id="experiencias">
                                  </div>
                                    
                               
                                  <div class="inputs p-3 py-5">
                                   <div class=" inputs d-flex justify-content-between align-items-center experience"><span class="border px-3 p-1 add-experience"  data-toggle="modal" data-target="#estudioForm"><i class="fa fa-plus"></i>&nbsp;Agregar Estudio</span></div><br>   
                                  </div>
                                 
                                  <div class="mt-3 gap-2 d-flex justify-content-between" id="estudios">
                                  </div>
                            
                               
                               
                                <div class="inputs p-3 py-5">
                                  <div class=" inputs d-flex justify-content-between align-items-center experience"><span class="border px-3 p-1 add-experience"  data-toggle="modal" data-target="#tecnologiaForm"><i class="fa fa-plus"></i>&nbsp;Agregar Tecnologia</span></div><br>   
                                </div>
                                
                                <div class="mt-3 gap-2 d-flex justify-content-between" id="tecnologias"> 
Nelson Ruiz committed
258
                                </div>
259 260 261
                              
                      
                        
Nelson Ruiz committed
262 263 264 265
                                
                                <div class="mt-3 gap-2 d-flex justify-content-end">
                                  <button class="px-3 btn btn-sm btn-outline-primary">Cancelar</button> 
                                  <button class="px-3 btn btn-sm btn-primary" type="submit">Guardar</button>
Nelson Ruiz committed
266
                                </div>
Nelson Ruiz committed
267
                              </div>
268
                          </div>
Nelson Ruiz committed
269
                      </div>
270
    </form>
Nelson Ruiz committed
271

272

273
      <!--Modal de Experiencia-->
274 275 276 277 278 279 280 281 282 283 284
      <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">
285

Nelson Ruiz committed
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
                        <div class="inputs">
                            <label for="institucion" class="inputs form-label">Institucion</label>
                            <input type="text" class="inputs form-control  " name="institucion" id="institucion" >
                        </div>
                        <div class="inputs">
                            <label for="fechaDesde" class="form-label">Fecha Desde</label>
                            <input type="date" class="form-control  " name="fechaDesde" id="fechaDesde" >
                        </div>
                         
                        <div class="inputs">
                            <label for="fechaHasta" class="form-label">Fecha Hasta</label>
                            <input type="date" class="form-control  " name="fechaHasta" id="fechaHasta" >
                        </div>
                        
                        <div class="inputs">
                            <label for="cargo" class="form-label">Cargo</label>
                            <input type="text" class="form-control  " name="cargo" id="cargo" >
                        </div>

                        <div class="inputs">
                            <label for="refNombre" class="form-label">Referencia Nombre</label>
                            <input type="text" class="form-control  " name="referencias" id="refNombre" >
                        </div>
                          
                          <div class="inputs">
                            <label class="form-label">Reconocimientos</label>
                          </div>
                          
                          <div class="row mb-3">
                            <div class="inputs col">
                              <input type="text" class="form-control" name="rec-nombre-0" placeholder="Titulo del reconocimiento" aria-label="First name">
                            </div>
                            <div class=" inputs 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="inputs col">
                              <input type="text" class="form-control" name="rec-nombre-1" placeholder="Titulo del reconocimiento" aria-label="First name">
                            </div>
                            <div class="inputs 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="inputs col">
                              <input type="text" class="form-control" name="rec-nombre-2" placeholder="Titulo del reconocimiento" aria-label="First name">
                            </div>
                            <div class="inputs col">
                              <input type="text" class="form-control" name="rec-certificado-2" placeholder="Adjuntar archivo" aria-label="Last name">
                            </div>
                          </div>
338

339 340 341 342
                </form>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
343
              <button id="agregar-exp" type="button" class="btn btn-primary" onclick="agregarFieldExpierncia()" data-dismiss="modal">Agregar</button>
344 345 346 347
            </div>
          </div>
        </div>
      </div>
willgonzz committed
348 349 350 351 352 353 354 355 356 357 358
    <!--------------------------------------------------------------------------------------->
      <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
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
              <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
380 381
          </div>
        </div>
Joel Florentin committed
382 383 384
      </div>
    </div>      
  <!--------------------------------------------------------------------------------------->
385

386 387 388 389 390 391 392 393 394 395 396 397

      <!--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
398 399 400 401 402 403 404 405 406 407 408
              <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" >
409

Joel Florentin committed
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
                <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>
435 436


Joel Florentin committed
437 438 439 440 441
            </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>
442 443
        </div>
      </div>
Joel Florentin committed
444 445
    </div>
  </div>
446

447

448
    <!-- Optional JavaScript; choose one of the two! -->
449

450
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
willgonzz committed
451 452
    <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>
453
    <script src="./main.js"></script>
454 455
  </body>
</html>