postulante-consulta.jsp 5.67 KB
Newer Older
1 2
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
3
<!DOCTYPE html>
4
<html>
5

6
<head>
7
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Angel Zarate committed
8 9 10 11 12

      <!-- el icono para la pagina  -->
        <link rel="shortcut icon" href="imagenes/roshkaicon.ico" sizes="any" />
        <!-- coneccion con el de css  -->
       <link rel="stylesheet" href="postulante.css">
Rebecca Arzamendia committed
13
    <title> POSTULANTE MANAGE </title>
14
</head>
15

16
<body>
17 18 19 20 21
    <div class="logo">
        <a href="./index.html"> <img class="logoi" src="imagenes/logo-roshka.svg" alt="" /> </a>
        <!-- logo con link -->
    </div>
    <div class="container">
22
        <h1>Lista Postulantes</h1>
23 24 25 26 27
        <div class="filtros">
            <form action="filtros-postulante" >
                <input type="search" name="nombreBuscar"
                    placeholder="Buscar por nombre">
                <button type="submit">Buscar</button>
28
            </form>
29

30 31 32 33
            <form action="filtros-postulante" method="post">
              <input type="search" name="nombre" placeholder="Buscar por Bootcamp" required>
              <button type="submit">Bootcamp</button>
            </form>
34

35 36 37 38
            <form action="filtros-postulante" method="post">
                <input type="hidden" name="nombre" value="notebook">
                <button type="submit">Notebooks</button>
            </form>
39

40 41 42 43
             <form action="filtros-postulante" method="post">
                <input type="hidden" name="nombre" value="aceptado">
                <button class="aceptado" type="submit">Aceptado</button>
             </form>
44 45 46 47 48

                    
        </div>
        
            
49
    <div>
50
       
51 52 53 54 55 56 57 58 59 60 61
        <table>
            <tr>
                <th>#</th>
                <th>Nombre</th>
                <th>Apellido</th>
                <th>Cedula</th>
                <th>Correo</th>
                <th>Telefono</th>
                <th>Direccion</th>
                <th>Experiencia laboral</th>
                <th>Estudio universitario</th>
62
                <th>
63
                    Notebooks
64 65
                </th>
                <th>
66
                    Bootcamps
67 68
                </th>
                <th>
Angel Zarate committed
69
                    Aceptado
70
                </th>
71
               
Angel Zarate committed
72
            </tr>
73
            <tbody class="tcuerpo">
74 75 76 77 78 79 80 81 82
                <c:forEach var="postulante" items="${postulantes}" varStatus="myIndex">
                    <tr>
                        <td> ${myIndex.index + 1}-</td>
                        <td> ${postulante.nombre}</td>
                        <td> ${postulante.apellido}</td>
                        <td> ${postulante.nroCedula}</td>
                        <td> ${postulante.correo}</td>
                        <td> ${postulante.telefono}</td>
                        <td> ${postulante.direccion}</td>
Josebaezx committed
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
                        <td> 
                            <c:if test="${postulante.expLaboral == true}">
	                            SI
                            </c:if>
                            <c:if test="${postulante.expLaboral != true}">
	                            NO
                            </c:if>
                        </td>
                        <td> 
                            <c:if test="${postulante.estudioUniversitario == true}">
	                            SI
                            </c:if>
                            <c:if test="${postulante.estudioUniversitario != true}">
	                            NO
                            </c:if>
                        </td>
                        <td> 
                            <c:if test="${postulante.notebook == true}">
                            SI
                        </c:if>
                        <c:if test="${postulante.notebook != true}">
                            NO
                        </c:if>
                        </td>
107 108 109
                        <td> ${postulante.nombreBootcamp}</td>
                        <td>
                            <c:if test="${postulante.aceptado == true}">
Josebaezx committed
110
	                            SI
111 112
                            </c:if>
                            <c:if test="${postulante.aceptado != true}">
113 114 115 116
	                            NO
                            </c:if>
                        </td>
                        <td>
Jose Baez committed
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
                        <c:choose>
                            <c:when test="${postulante.aceptado == true}">
                                <form action="filtros-postulante" method="get">
                                                                   <input type="hidden" name="valor" value="0">
                                                                   <input type="hidden" name="id" value="${postulante.id}">
                                                                  <button type="submit">Rechazar</button>
                                                                </form>
                            </c:when>
                            <c:otherwise>
                                <form action="filtros-postulante" method="get">
                                                                   <input type="hidden" name="valor" value="1">
                                                                   <input type="hidden" name="id" value="${postulante.id}">
                                                                   <button type="submit">Aceptado</button>
                                                                </form>
                            </c:otherwise>
                        </c:choose>
133 134 135 136 137 138
                        </td>
                    </tr>
                </c:forEach>
            </tbody>
        </table>
    </div>
139
</body>
140 141

</html>