Bug fix to the stat pages
[jabaws.git] / statpages / Statistics.jsp
1 <%--\r
2 Author: Peter Troshin\r
3 Date: May 2011\r
4 --%>\r
5 \r
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>\r
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>\r
8 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>\r
9 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>\r
10 \r
11 <c:import url="header.jsp" >\r
12         <c:param name="title">JABAWS Usage Statistics</c:param>\r
13 </c:import>  \r
14     \r
15 <div style="margin: 20px ">    \r
16 \r
17 <h2>JABAWS Usage Statistics for the Period: <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h2>\r
18 <h2>All Jobs</h2>\r
19 <c:set var="where"  value="everywhere" scope="request"/>\r
20 <c:set var="statistics"  value="${stat.allStat}" scope="request"/>\r
21 <c:set var="totals" value="${statTotal}" scope="request"/>\r
22 <c:import url="StatisticsTable.jsp"/> \r
23 \r
24 <h2>Local Jobs</h2>\r
25 <c:set var="where"  value="local" scope="request"/>\r
26 <c:set var="statistics"  value="${stat.localStat}" scope="request"/>\r
27 <c:set var="totals" value="${statTotalLocal}" scope="request"/>\r
28 <c:import url="StatisticsTable.jsp"/>\r
29         \r
30 <h2>Cluster Jobs</h2>\r
31 <c:set var="where"  value="cluster" scope="request"/>\r
32 <c:set var="statistics"  value="${stat.clusterStat}" scope="request"/>\r
33 <c:set var="totals" value="${statTotalCluster}" scope="request"/>\r
34 <c:import url="StatisticsTable.jsp"/>\r
35 \r
36 <div style="width: 600px">\r
37 <h3>Help</h3>\r
38 <p>\r
39 Each table contains the number of jobs processed by JABAWS during the period of \r
40 time specified in the title.</p> \r
41 <ul>\r
42 <li>The "All Jobs" table contains the summary of all jobs.</li> \r
43 <li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine.</li> \r
44 <li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster.</li>\r
45 </ul>\r
46 Each table contains the following information for each web service  \r
47 <ul>\r
48         <li>Total - the total number of jobs accepted by a particular JABA service</li>\r
49         <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>\r
50         <li>Cancelled - the number of jobs cancelled by the user</li>\r
51         <li>Abandoned - the number of jobs which result(s) were not collected</li>\r
52 </ul>\r
53 </div> <!-- Help text enclosing dev end -->\r
54 </div> <!-- page enclosing div ends -->\r
55 \r
56 <jsp:include page="footer.jsp" />\r