Subversion Repositories bacoAlunos

Rev

Rev 1413 | Rev 1426 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1413 Rev 1423
Line 93... Line 93...
93
        <thead>
93
        <thead>
94
            <th class="filter-name filter-select">Instituição</th>
94
            <th class="filter-name filter-select">Instituição</th>
95
            <th>Código</th>
95
            <th>Código</th>
96
            <th>Curso</th>
96
            <th>Curso</th>
97
            <th>Unidades</th>
97
            <th>Unidades</th>
-
 
98
            <th>Alunos Que Responderam</th>
98
            <th>Respondidos</th>
99
            <th>Respondidos</th>
99
            <th>Por Responder</th>
100
            <th>Por Responder</th>
100
            <th>Total</th>
101
            <th>Total</th>
101
        </thead>
102
        </thead>
102
        <tbody>
103
        <tbody>
Line 104... Line 105...
104
        List<Long> cursos = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().findCursosAfetosIds(questionarioId);
105
        List<Long> cursos = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().findCursosAfetosIds(questionarioId);
105
        for(Long cursoId: cursos)
106
        for(Long cursoId: cursos)
106
        {
107
        {
107
            QuestionarioPedagogicoCursoAfeto cursoAfeto = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().load(cursoId);
108
            QuestionarioPedagogicoCursoAfeto cursoAfeto = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().load(cursoId);
108
            long respostasCurso = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().countRespostas(cursoId);
109
            long respostasCurso = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().countRespostas(cursoId);
-
 
110
            long alunosComRespostasCurso = DaoFactory.getQuestionarioPedagogicoCursoAfetoDaoImpl().countAlunosComRespostas(cursoId);
109
            request.setAttribute("cursoAfeto",cursoAfeto);
111
            request.setAttribute("cursoAfeto",cursoAfeto);
110
    %>
112
    %>
111
        <tr>
113
        <tr>
112
            <td><%=cursoAfeto.getNomeInstituicao()%></td>
114
            <td><%=cursoAfeto.getNomeInstituicao()%></td>
113
            <td><%=cursoAfeto.getCodigoCurso()%></td>
115
            <td><%=cursoAfeto.getCodigoCurso()%></td>
Line 116... Line 118...
116
                <a href="#" data-href="<%=request.getContextPath()%>/user/questionarios/pedagogicoEstudante/questionarioCourseDashBoard.jsp?cursoAfetoId=${cursoAfeto.id}" data-title="Acompanhamento de questionários do curso (${cursoAfeto.codigoCurso}) ${cursoAfeto.nome} da ${cursoAfeto.nomeInstituicao})" data-toggle="modal" data-target="#modalAjaxRequest">
118
                <a href="#" data-href="<%=request.getContextPath()%>/user/questionarios/pedagogicoEstudante/questionarioCourseDashBoard.jsp?cursoAfetoId=${cursoAfeto.id}" data-title="Acompanhamento de questionários do curso (${cursoAfeto.codigoCurso}) ${cursoAfeto.nome} da ${cursoAfeto.nomeInstituicao})" data-toggle="modal" data-target="#modalAjaxRequest">
117
                    <%=cursoAfeto.getUnidadesAfetas().size()%>
119
                    <%=cursoAfeto.getUnidadesAfetas().size()%>
118
                </a>
120
                </a>
119
 
121
 
120
            </td>
122
            </td>
-
 
123
            <td><label class="label <%=alunosComRespostasCurso > 0 ? "label-success":"label-warning"%>" style="font-size: 1em"><%=alunosComRespostasCurso%></label></td>
121
            <td><label class="label <%=respostasCurso > 0 ? "label-success":"label-warning"%>" style="font-size: 1em"><%=respostasCurso%></label></td>
124
            <td><label class="label <%=respostasCurso > 0 ? "label-success":"label-warning"%>" style="font-size: 1em"><%=respostasCurso%></label></td>
122
            <td><label class="label label-danger" style="font-size: 1em"><%=cursoAfeto.getStatRespostasRequisitadas() - respostasCurso%></label></td>
125
            <td><label class="label label-danger" style="font-size: 1em"><%=cursoAfeto.getStatRespostasRequisitadas() - respostasCurso%></label></td>
123
            <td><label class="label label-info" style="font-size: 1em"><%=cursoAfeto.getStatRespostasRequisitadas()%></label></td>
126
            <td><label class="label label-info" style="font-size: 1em"><%=cursoAfeto.getStatRespostasRequisitadas()%></label></td>
124
        </tr>
127
        </tr>
125
    <%
128
    <%