2 Author: Peter Troshin
\r
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
\r
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
\r
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
\r
8 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
\r
10 <jsp:include page="header.jsp" />
\r
12 <h1>JABAWS Usage Statistics</h1>
\r
13 <table class="center its" style="width: 600px ">
\r
16 <th rowspan="2">Month</th>
\r
17 <th colspan="4" style="text-align: center">Number of Jobs</th>
\r
20 <th title="Total number of jobs received">Total</th>
\r
21 <th title="The number of jobs with no result">Incomplete</th>
\r
22 <th title="The number of cancelled jobs">Cancelled</th>
\r
23 <th title="The number of jobs started but not collected by the user">Abandoned</th>
\r
28 <c:forEach items="${stat}" var="monthTotal" varStatus="status">
\r
30 <c:when test="${status.count%2==0}">
\r
38 <td><a title="Click to view the detailed statistics for the period" href="DisplayStat?datetime=${monthTotal.key.time}"><fmt:formatDate value="${monthTotal.key}" type="date" pattern="MMM yyyy"/></a></td>
\r
39 <td>${monthTotal.value.total}</td>
\r
40 <td>${monthTotal.value.incomplete}</td>
\r
41 <td>${monthTotal.value.cancelled}</td>
\r
42 <td>${monthTotal.value.abandoned}</td>
\r
47 <td>${total.total}</td>
\r
48 <td>${total.incomplete}</td>
\r
49 <td>${total.cancelled}</td>
\r
50 <td>${total.abandoned}</td>
\r
56 <jsp:include page="footer.jsp" />