Commit d843be7c0579df6bcb05c1b3963c8ea1cf3c8731
1 parent
985defee
Exists in
master
Ajustes na avaliação e nas recomendações
git-svn-id: https://svn.bento.ifrs.edu.br/default/ASES/e-selo@9774 c2178572-b5ca-4887-91d2-9e3a90c7d55b
Showing
5 changed files
with
0 additions
and
310 deletions
Show diff stats
Desenvolvimento/Codificacao/e-Selo/WebContent/WEB-INF/jsp/avaliacao/form.jsp
@@ -1,48 +0,0 @@ | @@ -1,48 +0,0 @@ | ||
1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
2 | - pageEncoding="UTF-8"%> | ||
3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
4 | -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> | ||
5 | - | ||
6 | -<tiles:insertTemplate template="/WEB-INF/jsp/template/template.jsp"> | ||
7 | - <tiles:putAttribute name="body"> | ||
8 | - <a href="<c:url value="/avaliacoes"/>"><strong><span class="glyphicon glyphicon-check"></span> Avaliações</strong></a> | ||
9 | - | ||
10 | - <hr /> | ||
11 | - | ||
12 | - <c:forEach var="error" items="${errors}"> | ||
13 | - <div class="alert alert-success alert-dismissable"> | ||
14 | - <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | ||
15 | - ${error.message} | ||
16 | - </div> | ||
17 | - </c:forEach> | ||
18 | - | ||
19 | - <c:if test="${not empty mensagem}"> | ||
20 | - <div class="alert alert-success alert-dismissable"> | ||
21 | - <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | ||
22 | - ${mensagem} | ||
23 | - </div> | ||
24 | - </c:if> | ||
25 | - | ||
26 | - <div class="row"> | ||
27 | - <div class="col-md-12"> | ||
28 | - <form name="url" class="form-horizontal" action="<c:url value="/url/adiciona "/>" method="post"> | ||
29 | - <fieldset> | ||
30 | - <div class="form-group"> | ||
31 | - <label for="inputNome" class="col-lg-2 control-label">Url</label> | ||
32 | - <div class="col-lg-10"> | ||
33 | - <input id="inputNome" name="url.url" type="text" class="form-control" placeholder="Url"> | ||
34 | - </div> | ||
35 | - </div> | ||
36 | - | ||
37 | - <div class="form-group"> | ||
38 | - <div class="col-lg-10 col-lg-offset-2"> | ||
39 | - <button class="btn btn-default btn-cancel">Cancelar</button> | ||
40 | - <button type="submit" class="btn btn-primary">Salvar</button> | ||
41 | - </div> | ||
42 | - </div> | ||
43 | - </fieldset> | ||
44 | - </form> | ||
45 | - </div> | ||
46 | - </div> <!--/row--> | ||
47 | - </tiles:putAttribute> | ||
48 | -</tiles:insertTemplate> | ||
49 | \ No newline at end of file | 0 | \ No newline at end of file |
Desenvolvimento/Codificacao/e-Selo/WebContent/WEB-INF/jsp/avaliacao/index.jsp
@@ -1,86 +0,0 @@ | @@ -1,86 +0,0 @@ | ||
1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
2 | - pageEncoding="UTF-8"%> | ||
3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
4 | -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> | ||
5 | - | ||
6 | -<tiles:insertTemplate template="/WEB-INF/jsp/template/template.jsp"> | ||
7 | - <tiles:putAttribute name="body"> | ||
8 | - <a href="<c:url value="/avaliacoes" />"><strong><span class="glyphicon glyphicon-check"></span> Avaliações</strong></a> | ||
9 | - | ||
10 | - <a href="<c:url value="/url" />" class="btn btn-default pull-right"><span class="glyphicon glyphicon-plus"></span> Incluir Avaliação</a> | ||
11 | - | ||
12 | - <br /> | ||
13 | - | ||
14 | - <hr /> | ||
15 | - | ||
16 | - <form name="pesquisa" class="form-inline" action="<c:url value="/avaliacoes/pesquisa"/>" method="post"> | ||
17 | - <div class="form-group"> | ||
18 | - <label for="inputNome">Filtrar Por</label> | ||
19 | - <input id="inputNome" name="nUrl" type="text" class="form-control input-sm" required placeholder="Url"> | ||
20 | - </div> | ||
21 | - | ||
22 | - <div class="form-group"> | ||
23 | - <label for="select">Ordenar por:</label> | ||
24 | - <select id="select" class="form-control input-sm"> | ||
25 | - <option>Data</option> | ||
26 | - </select> | ||
27 | - </div> | ||
28 | - | ||
29 | - <input type="hidden" name="paginacao" id="paginacao" value="1"> | ||
30 | - <button type="submit" class="btn btn-primary btn-sm" style="margin-top: 24.5px;">Pesquisar</button> | ||
31 | - </form> | ||
32 | - | ||
33 | - <br /> | ||
34 | - | ||
35 | - <c:if test="${not empty mensagem}"> | ||
36 | - <div class="alert alert-success alert-dismissable"> | ||
37 | - <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | ||
38 | - ${mensagem} | ||
39 | - </div> | ||
40 | - </c:if> | ||
41 | - | ||
42 | - <div class="row"> | ||
43 | - <div class="col-md-12"> | ||
44 | - <div class="table-responsive"> | ||
45 | - <table id="usuariosTable" pagesize="10" class="table table-striped table-bordered table-hover table-condensed"> | ||
46 | - <thead> | ||
47 | - <tr> | ||
48 | - <th>ID Avaliação</th> | ||
49 | - <th>URL</th> | ||
50 | - <th>Data da Avaliação</th> | ||
51 | - <th>Token</th> | ||
52 | - <th> </th> | ||
53 | - </tr> | ||
54 | - </thead> | ||
55 | - <tbody> | ||
56 | - <c:forEach items="${avaliacaoList}" var="avaliacao"> | ||
57 | - <tr> | ||
58 | - <td>${avaliacao.id}</td> | ||
59 | - <td>${avaliacao.idUrl.url}</td> | ||
60 | - <td>${avaliacao.dataAvaliacao}</td> | ||
61 | - <td> </td> | ||
62 | - <td> | ||
63 | - <div class="btn-group"> | ||
64 | - <a | ||
65 | - href="<c:url value="/avaliacoes/resultado/${avaliacao.id}" />" | ||
66 | - class="btn btn-default btn-sm">Consultar</a> | ||
67 | - </div> | ||
68 | - </td> | ||
69 | - </tr> | ||
70 | - </c:forEach> | ||
71 | - </table> | ||
72 | - ${regInic} a ${regFim} de ${registros} registros | ||
73 | - </div> | ||
74 | - | ||
75 | - | ||
76 | - <ul class="pagination"> | ||
77 | - <li class="disabled"><a href="#">«</a></li> | ||
78 | - <c:forEach var="i" begin="1" end="${paginas}"> | ||
79 | - <li><a href="<c:url value="/avaliacoes/${i}"/>">${i}</a></li> | ||
80 | - </c:forEach> | ||
81 | - <li><a href="#">»</a></li> | ||
82 | - </ul> | ||
83 | - </div> | ||
84 | - </div> | ||
85 | - </tiles:putAttribute> | ||
86 | -</tiles:insertTemplate> | ||
87 | \ No newline at end of file | 0 | \ No newline at end of file |
Desenvolvimento/Codificacao/e-Selo/WebContent/WEB-INF/jsp/avaliacao/lista.jsp
@@ -1,112 +0,0 @@ | @@ -1,112 +0,0 @@ | ||
1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
2 | - pageEncoding="UTF-8"%> | ||
3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
4 | -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> | ||
5 | - | ||
6 | -<tiles:insertTemplate template="/WEB-INF/jsp/template/template.jsp"> | ||
7 | - <tiles:putAttribute name="body"> | ||
8 | - <a href="<c:url value="/avaliacoes" />"><strong><span | ||
9 | - class="glyphicon glyphicon-check"></span> Avaliações</strong></a> | ||
10 | - | ||
11 | - <a href="<c:url value="/url" />" | ||
12 | - class="btn btn-default pull-right"><span | ||
13 | - class="glyphicon glyphicon-plus"></span> Incluir Avaliação</a> | ||
14 | - | ||
15 | - <br /> | ||
16 | - | ||
17 | - <hr /> | ||
18 | - | ||
19 | - <c:if test="${not empty mensagem}"> | ||
20 | - <div class="alert alert-success alert-dismissable"> | ||
21 | - <button type="button" class="close" data-dismiss="alert" | ||
22 | - aria-hidden="true">×</button> | ||
23 | - ${mensagem} | ||
24 | - </div> | ||
25 | - </c:if> | ||
26 | - | ||
27 | - | ||
28 | - <form name="pesquisa" class="form-inline" | ||
29 | - action="<c:url value="/avaliacoes/pesquisa"/>" method="post"> | ||
30 | - <div class="form-group"> | ||
31 | - <label for="inputNome">Filtrar Por</label> <input id="inputNome" | ||
32 | - name="nUrl" type="text" class="form-control input-sm" required | ||
33 | - placeholder="Url" value="${nUrl}"> | ||
34 | - </div> | ||
35 | - | ||
36 | - <div class="form-group"> | ||
37 | - <label for="select">Ordenar por:</label> <select id="select" | ||
38 | - class="form-control input-sm"> | ||
39 | - <option>Data</option> | ||
40 | - </select> | ||
41 | - </div> | ||
42 | - | ||
43 | - | ||
44 | - <button type="submit" class="btn btn-primary btn-sm" | ||
45 | - style="margin-top: 24.5px;">Pesquisar</button> | ||
46 | - </form> | ||
47 | - | ||
48 | - <br> | ||
49 | - | ||
50 | - <div class="row"> | ||
51 | - <div class="col-md-12"> | ||
52 | - <div class="table-responsive"> | ||
53 | - <table id="usuariosTable" pagesize="10" | ||
54 | - class="table table-striped table-bordered table-hover table-condensed"> | ||
55 | - <thead> | ||
56 | - <tr> | ||
57 | - <th>ID</th> | ||
58 | - <th>URL</th> | ||
59 | - <th>Data da Avaliação</th> | ||
60 | - <th>Token</th> | ||
61 | - <th> </th> | ||
62 | - </tr> | ||
63 | - </thead> | ||
64 | - <tbody> | ||
65 | - <c:forEach items="${avaliacaoList}" var="avaliacao"> | ||
66 | - <tr> | ||
67 | - <td><a href="<c:url value="/usuarios/${avaliacao.id}" />">${avaliacao.id}</a></td> | ||
68 | - <td>${avaliacao.idUrl.url}</td> | ||
69 | - <td>${avaliacao.dataAvaliacao}</td> | ||
70 | - <td></td> | ||
71 | - <td> | ||
72 | - <div class="btn-group"> | ||
73 | - <a | ||
74 | - href="<c:url value="/avaliacoes/resultado/${avaliacao.id}" />" | ||
75 | - class="btn btn-default btn-sm">Consultar</a> | ||
76 | - </div> | ||
77 | - </td> | ||
78 | - </tr> | ||
79 | - </c:forEach> | ||
80 | - </tbody> | ||
81 | - </table> | ||
82 | - </div> | ||
83 | - | ||
84 | - <form action="<c:url value="/avaliacoes/pesquisa"/>" method=post name="formulario1"> | ||
85 | - <input type="hidden" name="nUrl" value="${nUrl}"> | ||
86 | - <input type="hidden" name="paginacao" id="paginacao" > | ||
87 | - </form> | ||
88 | - | ||
89 | - <script> | ||
90 | - function enviar_formulario(i) { | ||
91 | - //document.formulario1. | ||
92 | - document.getElementById("paginacao").value = i; | ||
93 | - document.formulario1.submit(); | ||
94 | - } | ||
95 | - </script> | ||
96 | - | ||
97 | - | ||
98 | - <input type="hidden" value="${nUrl}"> | ||
99 | - <ul class="pagination"> | ||
100 | - <li>${paginacao}</li> | ||
101 | - <li class="disabled"><a href="#">«</a></li> | ||
102 | - <li class="active"><a href="#">1</a></li> | ||
103 | - <li><a href="javascript:enviar_formulario(2)">2</a></li> | ||
104 | - <li><a href="#">3</a></li> | ||
105 | - <li><a href="#">4</a></li> | ||
106 | - <li><a href="#">5</a></li> | ||
107 | - <li><a href="#">»</a></li> | ||
108 | - </ul> | ||
109 | - </div> | ||
110 | - </div> | ||
111 | - </tiles:putAttribute> | ||
112 | -</tiles:insertTemplate> | ||
113 | \ No newline at end of file | 0 | \ No newline at end of file |
Desenvolvimento/Codificacao/e-Selo/WebContent/WEB-INF/jsp/avaliacao/resultado.jsp
@@ -1,54 +0,0 @@ | @@ -1,54 +0,0 @@ | ||
1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
2 | - pageEncoding="UTF-8"%> | ||
3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
4 | -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> | ||
5 | - | ||
6 | -<tiles:insertTemplate template="/WEB-INF/jsp/template/template.jsp"> | ||
7 | - <tiles:putAttribute name="body"> | ||
8 | - | ||
9 | - <br /> | ||
10 | - | ||
11 | - <hr /> | ||
12 | - | ||
13 | - <c:if test="${not empty mensagem}"> | ||
14 | - <div class="alert alert-success alert-dismissable"> | ||
15 | - <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | ||
16 | - ${mensagem} | ||
17 | - </div> | ||
18 | - </c:if> | ||
19 | - | ||
20 | - <div class="row"> | ||
21 | - <div class="col-md-12"> | ||
22 | - <label for="inputNome">Url Avaliada: </label>${nomeUrl}<br> | ||
23 | - <label for="inputNome">Data da Avaliação: </label>${dataAval}<br> | ||
24 | - </div> | ||
25 | - </div> | ||
26 | - | ||
27 | - <div class="row"> | ||
28 | - <div class="col-md-12"> | ||
29 | - <div class="table-responsive"> | ||
30 | - <table id="usuariosTable" pagesize="10" class="table table-striped table-bordered table-hover table-condensed"> | ||
31 | - <thead> | ||
32 | - <tr> | ||
33 | - <th>Número da Recomendação</th> | ||
34 | - <th>Total de Avisos</th> | ||
35 | - <th>Total de Erros</th> | ||
36 | - </tr> | ||
37 | - </thead> | ||
38 | - <tbody> | ||
39 | - | ||
40 | - <c:forEach items="${recomendacoesList}" var="recomendacao"> | ||
41 | - <tr> | ||
42 | - <td>${recomendacao.idRecomendacao}</td> | ||
43 | - <td>${recomendacao.totalAvisos}</td> | ||
44 | - <td>${recomendacao.totalErros}</td> | ||
45 | - </tr> | ||
46 | - </c:forEach> | ||
47 | - | ||
48 | - </tbody> | ||
49 | - </table> | ||
50 | - </div> | ||
51 | - </div> | ||
52 | - </div> | ||
53 | - </tiles:putAttribute> | ||
54 | -</tiles:insertTemplate> | ||
55 | \ No newline at end of file | 0 | \ No newline at end of file |
Desenvolvimento/Codificacao/e-Selo/WebContent/WEB-INF/jsp/avaliacao/selo.jsp
@@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
2 | - pageEncoding="UTF-8"%> | ||
3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
4 | -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> | ||
5 | - | ||
6 | -<tiles:insertTemplate template="/WEB-INF/jsp/template/template.jsp"> | ||
7 | - <tiles:putAttribute name="body"> | ||
8 | - <img src="<c:url value="/static/img/selo_auditado.png"/>" /> | ||
9 | - </tiles:putAttribute> | ||
10 | -</tiles:insertTemplate> | ||
11 | \ No newline at end of file | 0 | \ No newline at end of file |