Commit a646d24636e1319b753b8af22a6ad8ffedf6736d
1 parent
3b8cfb75
Exists in
master
Alternância de cor na tabela de solicitações.
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
WebContent/WEB-INF/jsp/questionario/questionario.jsp
... | ... | @@ -73,7 +73,12 @@ table, th, td { |
73 | 73 | <c:if test="${not empty lsquestionario}"> |
74 | 74 | |
75 | 75 | <c:forEach items="${lsquestionario}" var="questionario" varStatus="contador"> |
76 | - <tr> | |
76 | + <c:if test="${contador.count mod 2 == 0}"> | |
77 | + <tr bgcolor="#FFFFFF"> | |
78 | + </c:if> | |
79 | + <c:if test="${contador.count mod 2 != 0}"> | |
80 | + <tr bgcolor="#DAA520"> | |
81 | + </c:if> | |
77 | 82 | <td>${contador.count}</td> |
78 | 83 | <td>${questionario.noOrgao}</td> |
79 | 84 | <td>${questionario.responsavel}</td> | ... | ... |