detalhesAvaliacao.jsp
3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<t:baseLayout>
<jsp:body>
<!-- Início Conteudo -->
<form name="form" action="${pageContext.request.contextPath}/exportar-detalhes-avaliacao" method="post">
<fieldset>
<legend><label for="uri">Exportar Resultado</label></legend>
<p>
<img src="${pageContext.request.contextPath}/inicial_arquivos/imagens/pdf.png" alt="pdf" title="Gerar em PDF" height="20" width="20">
<input type="radio" name="tiporel" value="4">PDF
<img src="${pageContext.request.contextPath}/inicial_arquivos/imagens/odt.png" alt="odt" title="Gerar em ODT" height="20" width="20">
<input type="radio" name="tiporel" value="3">ODT
<img src="${pageContext.request.contextPath}/inicial_arquivos/imagens/xls.png" alt="xls" title="Gerar em XLS" height="20" width="20">
<input type="radio" name="tiporel" value="2">XLS
<img src="${pageContext.request.contextPath}/inicial_arquivos/imagens/doc-rtf.png" alt="xls" title="Gerar em RFT" height="20" width="20">
<input type="radio" name="tiporel" value="1">RTF
<input type="hidden" name="rn" value="${rn}">
<input class="submit" name="executar" value="Gerar" type="submit">
</p>
</fieldset>
</form>
<div class="tile --NOVALUE--">
<div class="outstanding-header">
<h2 class="outstanding-title">Recomendação Avaliada</h2>
</div>
<p><strong>${recomendacao}</strong>
</div>
<div class="tile --NOVALUE--">
<div class="outstanding-header">
<h2 class="outstanding-title">Critério(s) Avaliado(s)</h2>
</div>
<table id="tabelaErros2">
<tbody>
<tr>
<td colspan="2" class="topo2"> Teste(s) </td>
<td width="9%" class="topo2"> Quantidade</td>
<td width="56%" class="topo2"> Linha(s) de Cógido Fonte</td>
</tr>
<c:forEach items="${detalhe.criterios}" var="criterio">
<tr>
<td class="celula" width="2%"> ${criterio.id} </td>
<td class="celula" width="60%" align="left">${criterio.descricao}</td>
<td class="celula">${criterio.numeroOcorrencias}</td>
<td class="celula">
<c:forEach items="${criterio.linhas}" var="linha" varStatus="index">
<a href="#${linha}" class="sublinharLink"> ${linha}</a>
<c:if test="${index.index != fn:length(criterio.linhas) -1}"> - </c:if>
</c:forEach>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="tile --NOVALUE--" align="left">
<div class="outstanding-header" align="left">
<h2 class="outstanding-title">Código Fonte</h2>
</div>
<div id="codigo" align="left">
<pre>
<c:forEach items="${detalhe.ocorrencias}" var="ocorrencia">
<a name="${ocorrencia.line}">${ocorrencia.line}: ${ocorrencia.tag}</a>
</c:forEach>
</pre>
</div>
</div>
<!-- Término Conteudo-->
</jsp:body>
</t:baseLayout>