Update basic jars: from Thrift to native banary protocol
[proteocache.git] / website / ReportLength.jsp
1 <%@page import="java.util.ArrayList"%>
2 <%@ page trimDirectiveWhitespaces="true" %>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
6 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
7 <c:choose>
8 <c:when test="${flag == 'AllDate'}">
9 <h3>Time execution for the whole period</h3>
10 </c:when>
11 <c:otherwise>
12 <h3>Time execution for the interval: ${data1}  -  ${data2}</h3> 
13 </c:otherwise>
14 </c:choose>
15 <h3>Time execution: ${timeExecution} ms</h3>
16 <table border="1" style = "border-collapse: collapse; white-space: nowrap"> 
17 <thead>
18 <tr>
19 <th style="text-align: centre;  width: 150px">Date</th>
20 <th style="text-align: centre;  width: 150px">less then 30 s</th>
21 <th style="text-align: centre;  width: 150px">30 s - 60 s</th>
22 <th style="text-align: centre;  width: 150px">1 min - 2 min</th>
23 <th style="text-align: centre;  width: 150px">more then 2min</th>
24 </tr>
25 </thead>
26 <tbody>
27 <c:forEach items="${result}" var="res" varStatus="loop">
28         <c:choose>
29                 <c:when test="${not loop.last}">
30                         <tr>
31                         <td>${res.date}</td>
32                         <c:forEach items="${res.timeRez}" var="time">
33                                 <td style="text-align: right">${time}</td>
34                         </c:forEach>
35                 </c:when>
36                 <c:otherwise>
37                         <tr style="font-weight: bolder;">
38                         <td>Total:</td>
39                         <c:forEach items="${res.timeTotalExec}" var="total">
40                                 <td style="text-align: right">${total}</td>
41                         </c:forEach>
42                 </c:otherwise>
43         </c:choose>
44 </c:forEach>
45 </tbody>
46 </table>