1 <%@page import="java.util.ArrayList"%>
2 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
5 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
7 <c:when test="${flag == 'AllDate'}">
8 <h3>Jobs statistics for the whole period</h3>
11 <h3>Jobs statistics for the Period:
12 <c:out value = "${data1}"/> to <c:out value = "${data2}"/> </h3>
15 <h3>Time execution: ${timeExecution} ms</h3>
16 <table border="1" style = "border-collapse: collapse; white-space: nowrap">
19 <th rowspan="2"style="text-align: centre">Date</th>
20 <th colspan="4" style="text-align: centre">Number of Proteins</th>
23 <th style="text-align: centre">Total</th>
24 <th style="text-align: centre">Failed</th>
25 <th style="text-align: centre">Cancelled</th>
26 <th style="text-align: centre">Abandoned</th>
30 <c:set var="sum" value="0" />
31 <c:forEach items="${result}" var="res">
34 <c:set var="tot" value="${res.total}" />
35 <c:set var="sum" value="${sum + tot}" />
36 <td style="text-align: right"><c:out value = "${res.total}" /></td>
37 <td style="text-align: right">0</td>
38 <td style="text-align: right">0</td>
39 <td style="text-align: right">0</td>
42 <tr style="font-weight: bolder;">
44 <td style="text-align: right">${sum}</td>
45 <td style="text-align: right">0</td>
46 <td style="text-align: right">0</td>
47 <td style="text-align: right">0</td>