postulante-consulta.jsp 3.37 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 8
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Postulantes Manage</title>
9
</head>
10

11
<body>
12 13 14 15 16 17 18
    <div>
        <h1>Lista Postulantes</h1>
        <form action="filtros-postulante" >
            <input type="search" name="nombreBuscar"
                placeholder="Buscar por nombre">
            <button type="submit">Buscar</button>
        </form>
Josebaezx committed
19 20 21 22
        <form action="filtros-postulante" method="post">
            <input type="hidden" name="aceptado" value="si">
            <button type="submit">Aceptados</button>
        </form>
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
        <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>
                <th>Notebook</th>
                <th>Bootcamp</th>
                <th>Aceptado</th>
                <th></th>
            </tr>
            <tbody>
                <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
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
                        <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>
73 74 75
                        <td> ${postulante.nombreBootcamp}</td>
                        <td>
                            <c:if test="${postulante.aceptado == true}">
Josebaezx committed
76
	                            SI
77 78 79 80 81 82 83 84 85 86
                            </c:if>
                            <c:if test="${postulante.aceptado != true}">
	                            <button><a href="filtros-postulante?id=${postulante.id}">Aceptar postulante</a></button>
                            </c:if>
                        </td>
                    </tr>
                </c:forEach>
            </tbody>
        </table>
    </div>
87
</body>
88 89

</html>