JWS-111 & JWS-109 Re-uploading improved ‘Service Status’ and ‘Usage Statistics’ pages...
[jabaws.git] / website / statpages / Statistics.jsp
1 <%--
2 Author: Peter Troshin
3 Date: May 2011
4 --%>
5
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
8 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
9 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
10
11 <c:import url="../template_header.jsp" >
12         <c:param name="title">Usage Statistics</c:param>
13         <c:param name="html_custom_css"><link href="${pageContext.request.contextPath}/static/css/table.css"
14                                                                                   rel="stylesheet"></c:param>
15 </c:import>
16
17
18 <div class="row">
19         <div class="col-md-12">
20                 <div class="panel panel-default">
21                         <div class="panel panel-heading">
22                                 <h1 class="panel-title">JABAWS Usage Statistics for the Period:
23                                         <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h1>
24                         </div>
25                         <div class="panel-body">
26                                 <div style="margin: 20px ">
27                                         <h3>All Jobs</h3>
28                                         <c:set var="where"  value="everywhere" scope="request"/>
29                                         <c:set var="statistics"  value="${stat.allStat}" scope="request"/>
30                                         <c:set var="totals" value="${statTotal}" scope="request"/>
31                                         <c:import url="StatisticsTable.jsp"/>
32
33                                         <h3>Local Jobs</h3>
34                                         <c:set var="where"  value="local" scope="request"/>
35                                         <c:set var="statistics"  value="${stat.localStat}" scope="request"/>
36                                         <c:set var="totals" value="${statTotalLocal}" scope="request"/>
37                                         <c:import url="StatisticsTable.jsp"/>
38
39                                         <h3>Cluster Jobs</h3>
40                                         <c:set var="where"  value="cluster" scope="request"/>
41                                         <c:set var="statistics"  value="${stat.clusterStat}" scope="request"/>
42                                         <c:set var="totals" value="${statTotalCluster}" scope="request"/>
43                                         <c:import url="StatisticsTable.jsp"/>
44
45                                         <div style="width: 600px">
46                                                 <h3>Help</h3>
47                                                 <p>
48                                                         Each table contains the number of jobs processed by JABAWS during the period of
49                                                         time specified in the title.</p>
50                                                 <ul>
51                                                         <li>The "All Jobs" table contains the summary of all jobs.</li>
52                                                         <li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine.</li>
53                                                         <li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster.</li>
54                                                 </ul>
55                                                 Each table contains the following information for each web service
56                                                 <ul>
57                                                         <li>Total - the total number of jobs accepted by a particular JABA service</li>
58                                                         <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>
59                                                         <li>Cancelled - the number of jobs cancelled by the user</li>
60                                                         <li>Abandoned - the number of jobs which result(s) were not collected</li>
61                                                 </ul>
62                                         </div> <!-- Help text enclosing dev end -->
63                                 </div><!-- margin div -->
64                         </div>
65                 </div>
66         </div>
67 </div>
68
69 <jsp:include page="../template_footer.jsp" />