Commit 9b3a62f681b444417ca1b7b51cc91f440b450c46
1 parent
ca85d947
Exists in
master
and in
1 other branch
Criar página de detalhes da avaliação.
git-svn-id: https://svn.bento.ifrs.edu.br/default/ASES/ASES%20-%20Web/ASES%20-%20Web/Fontes/avaliador-web@9469 c2178572-b5ca-4887-91d2-9e3a90c7d55b
Showing
3 changed files
with
80 additions
and
6 deletions
Show diff stats
src/main/webapp/WEB-INF/jsp/avaliacao/avaliar.jsp
... | ... | @@ -46,10 +46,10 @@ |
46 | 46 | </tr> |
47 | 47 | <c:forEach items="${listaResumo}" var="resumo"> |
48 | 48 | <tr> |
49 | - <td class="celula">${resumo.tipo.description}</td> | |
50 | - <td class="celula">${resumo.quantidadeErros}</td> | |
51 | - <td class="celula">${resumo.quantidadeAvisos}</td> | |
52 | - </tr> | |
49 | + <td class="celula">${resumo.tipo.description}</td> | |
50 | + <td class="celula">${resumo.quantidadeErros}</td> | |
51 | + <td class="celula">${resumo.quantidadeAvisos}</td> | |
52 | + </tr> | |
53 | 53 | </c:forEach> |
54 | 54 | </tbody> |
55 | 55 | <tfoot> |
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | |
68 | 68 | <div class="tile --NOVALUE--"> |
69 | 69 | <div class="outstanding-header"> |
70 | - <h2 class="outstanding-title">Detalhes da Avaliação</h2> | |
70 | + <h2 class="outstanding-title">Detalhes da Avaliação</h2><a href="<c:url value="/detalhes-avaliacao"/>">Visualizar</a> | |
71 | 71 | </div> |
72 | 72 | <div class="domtab"> |
73 | 73 | ... | ... |
src/main/webapp/WEB-INF/jsp/avaliacao/detalhesAvaliacao.jsp
0 → 100644
... | ... | @@ -0,0 +1,75 @@ |
1 | +<%@page contentType="text/html" pageEncoding="UTF-8"%> | |
2 | +<%@taglib prefix="t" tagdir="/WEB-INF/tags" %> | |
3 | + | |
4 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | |
5 | + | |
6 | +<t:baseLayout> | |
7 | + <jsp:body> | |
8 | + | |
9 | + <!-- Início Conteudo --> | |
10 | + <div class="tile --NOVALUE--"> | |
11 | + <div class="outstanding-header"> | |
12 | + <h2 class="outstanding-title">Recomendação Avaliada</h2> | |
13 | + </div> | |
14 | + <p><strong>1. Respeitar os padrões de desenvolvimento web</strong> | |
15 | + </div> | |
16 | + | |
17 | + <div class="tile --NOVALUE--"> | |
18 | + <div class="outstanding-header"> | |
19 | + <h2 class="outstanding-title">Critério(s) Avaliado(s)</h2> | |
20 | + </div> | |
21 | + | |
22 | + <table id="tabelaErros2"> | |
23 | + <tbody> | |
24 | + | |
25 | + <tr> | |
26 | + <td colspan="2" class="topo2"> Teste(s) </td> | |
27 | + <td width="9%" class="topo2"> Quantidade</td> | |
28 | + <td width="56%" class="topo2"> Linha(s) de Cógido Fonte</td> | |
29 | + </tr> | |
30 | + | |
31 | + | |
32 | + <c:forEach items="${detalhesAvaliacao}" var="detalhe"> | |
33 | + | |
34 | + | |
35 | + <tr> | |
36 | + <td class="celula" width="2%"> ${detalhe.checkPoint} </td> | |
37 | + <td class="celula" width="60%" align="left">${detalhe.description}</td> | |
38 | + | |
39 | + <td class="celula">${detalhe.numberOfOccurrences}</td> | |
40 | + <td class="celula"> | |
41 | + | |
42 | + <a href="#${detalhe.stringLines}" class="sublinharLink"> ${detalhe.stringLines}</a> | |
43 | + | |
44 | + </td> | |
45 | + </tr> | |
46 | + | |
47 | + </c:forEach> | |
48 | + </tbody> | |
49 | + | |
50 | + </table> | |
51 | + </div> | |
52 | + | |
53 | + <div class="tile --NOVALUE--" align="left"> | |
54 | + | |
55 | + <div class="outstanding-header" align="left"> | |
56 | + <h2 class="outstanding-title">Código Fonte</h2> | |
57 | + </div> | |
58 | + <div id="codigo" align="left"> | |
59 | + <pre> | |
60 | + <!-- <a name="0048">0048 :<script type="text/javascript" </a> --> | |
61 | + <c:forEach items="${detalhesAvaliacao}" var="detalhe"> | |
62 | + <a name="${detalhe.stringLines}">${detalhe.sourceCode}</a> | |
63 | + </c:forEach> | |
64 | + </pre> | |
65 | + </div> | |
66 | + | |
67 | + </div> | |
68 | + <!-- Término Conteudo--> | |
69 | + | |
70 | + | |
71 | + | |
72 | + | |
73 | + | |
74 | + </jsp:body> | |
75 | +</t:baseLayout> | |
0 | 76 | \ No newline at end of file | ... | ... |
src/main/webapp/WEB-INF/tags/listaResultado.tag
1 | 1 | <%@ tag language="java" pageEncoding="UTF-8"%> |
2 | 2 | <%@ attribute name="lista" required="true" type="java.util.List" %> |
3 | 3 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
4 | - | |
5 | 4 | <p><img src="${pageContext.request.contextPath}/inicial_arquivos/imagens/stop.gif" alt="Erros" height="19" width="20"> Erros</p> |
6 | 5 | <table id="tabelaErros2"> |
7 | 6 | ... | ... |