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 <div style="margin: 20px ">
\r
14 <h1>JABAWS Usage Statistics</h1>
\r
15 <table class="center its" style="width: 600px ">
\r
18 <th rowspan="2">Month</th>
\r
19 <th colspan="4" style="text-align: center">Number of Jobs</th>
\r
22 <th title="Total number of jobs received">Total</th>
\r
23 <th title="The number of jobs with no result">Incomplete</th>
\r
24 <th title="The number of cancelled jobs">Cancelled</th>
\r
25 <th title="The number of jobs started but not collected by the user">Abandoned</th>
\r
30 <c:forEach items="${stat}" var="monthTotal" varStatus="status">
\r
32 <c:when test="${status.count%2==0}">
\r
42 <c:when test="${isAdmin}">
\r
43 <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>
\r
46 <fmt:formatDate value="${monthTotal.key}" type="date" pattern="MMM yyyy"/>
\r
51 <td>${monthTotal.value.total}</td>
\r
52 <td>${monthTotal.value.incomplete}</td>
\r
53 <td>${monthTotal.value.cancelled}</td>
\r
54 <td>${monthTotal.value.abandoned}</td>
\r
57 <tr style="font-weight: bolder;">
\r
59 <td>${total.total}</td>
\r
60 <td>${total.incomplete}</td>
\r
61 <td>${total.cancelled}</td>
\r
62 <td>${total.abandoned}</td>
\r
67 <div style="width: 600px">
\r
70 The table contains the number of jobs processed by JABAWS per month, for the whole
\r
71 period when the statistics was collected</p>
\r
72 For each month the table contains the following information.
\r
74 <li>The period of time for which statistics is displayed. For example Jan 2011 means period of time from the first of
\r
75 January to the 31 of January.</li>
\r
76 <li>Total - the total number of jobs accepted by JABAWS</li>
\r
77 <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>
\r
78 <li>Cancelled - the number of jobs cancelled by the user</li>
\r
79 <li>Abandoned - the number of jobs which result(s) were not collected</li>
\r
81 The summary for each column is displayed in the last row of the table.
\r
82 </div> <!-- Help text enclosing dev end -->
\r
83 <c:if test="${!isAdmin}">
\r
84 <br/><p><a href="AnnualStat">Please login as administrator</a> to view the detailed statistics (<a href=man_usagestats.html#helpUsageStats>help</a>)</p>
\r
87 </div> <!-- page enclosing div end -->
\r
88 <jsp:include page="footer.jsp" />