Add first banch of JSPs
[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 <table border="1" style = "border-collapse: collapse; white-space: nowrap"> 
16 <thead>
17 <tr>
18 <th style="text-align: centre;  width: 150px">Date</th>
19 <th style="text-align: centre;  width: 150px">less then 30 s</th>
20 <th style="text-align: centre;  width: 150px">30 s - 60 s</th>
21 <th style="text-align: centre;  width: 150px">1 min - 2 min</th>
22 <th style="text-align: centre;  width: 150px">more then 2min</th>
23 </tr>
24 </thead>
25 <tbody>
26 <c:forEach items="${result}" var="res">
27 <tr>
28 <td>${res.date}</td>
29 <c:forEach items="${res.timeRez}" var="time">
30 <td style="text-align: right">${time}</td>
31 </c:forEach>
32 </c:forEach>
33 </tbody>
34 </table>