postulante-form.jsp 10.4 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 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

    <form name="postulante" method="post">
        <div class="mb-3 col-5">
          <label for="correo" class="form-label">Email address</label>
          <input type="email" name="correo" class="form-control  " id="correo" >
          <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
        </div>

        <div class="mb-3 col-5">
            <label for="nombre" class="form-label">Nombre</label>
            <input type="text" name="nombre" class="form-control  " id="nombre" >
        </div>
        <div class="mb-3 col-5">
            <label for="apellido" class="form-label">Apellido</label>
            <input type="text" name="apellido" class="form-control  " id="apellido" >
        </div>

        <div class="mb-3 col-3">
            <label for="ci" class="form-label">Cedula de identidad</label>
            <input type="number" name="ci" class="form-control  " id="ci" >
        </div>
        <div class="mb-3 col-5">
            <label for="ciudad" class="form-label">Ciudad</label>
            <input type="text" name="ciudad" class="form-control  " id="ciudad" >
        </div>

        <div class="mb-3 col-5">
            <label for="telefono" class="form-label">Telefono</label>
            <input type="number" name="telefono" class="form-control  " id="telefono" >
        </div>

        <div class="mb-3 col-5">
            <label for="fechaNacimiento" class="form-label">Fecha de nacimiento</label>
            <input type="date" name="fechaNacimiento" class="form-control  " id="fechaNacimiento" >
        </div>
        <div class="mb-3 col-5">
            <label for="resumen" class="form-label">Resumen</label>
            <textarea  class="form-control  " name="resumen" id="resumen" > </textarea>
        </div>
        <div class="mb-3 col-5">
            <label for="nivelIngles" class="form-label">Nivel de ingles</label>
            <input type="number" class="form-control"  name="nivelIngles" id="nivelIngles" >
        </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>
            <input type="text" class="form-control  " name="disponibilidad" id="disponibilidad" >
        </div>
        <div class="mb-3 col-5">
            <label for="modalidad" class="form-label">Modalidad</label>
            <input type="text" class="form-control  " name="modalidad" id="modalidad" >
        </div>
73
      
74
        
75
      
76 77 78 79
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#experienciaForm">
            Agregar Experiencia
        </button>
        <div id="experiencias">
80

81
        </div>
willgonzz committed
82 83 84 85 86 87
        <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#tecnologiaForm">
          Agregar Tecnologia
        </button>
        <div id="tecnologias"> 

      </div>
88 89 90
        <button type="submit" class="btn btn-primary">Submit</button>
      </form>

91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
      <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>
                    <input type="text" class="form-control  " name="institucion" id="institucion" >
                    <label for="fechaDesde" class="form-label">FechaDesde</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="cargo" class="form-label">Cargo</label>
109
                    <input type="text" class="form-control  " name="cargo" id="cargo" >
110 111 112 113 114 115 116 117
                    
                    <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" >
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
                    <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>
143 144 145 146 147 148 149 150 151
                </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="agregarFieldExpierncia()" data-dismiss="modal">Agregar</button>
            </div>
          </div>
        </div>
      </div>
willgonzz committed
152 153 154 155 156 157 158 159 160 161 162 163
    <!--------------------------------------------------------------------------------------->
      <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">
                <form name="tecnologia-form">
164 165 166 167 168 169 170 171 172 173 174 175 176
                  <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" >
willgonzz committed
177 178 179 180 181 182 183 184 185 186 187 188
                    <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>
            </div>
          </div>
        </div>
      </div>      
    <!--------------------------------------------------------------------------------------->
189
    <!-- Optional JavaScript; choose one of the two! -->
190

191
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
willgonzz committed
192 193
    <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>
194
    <script src="./main.js"></script>
195 196
  </body>
</html>