Fix core WST file
[jabaws.git] / statpages / Statistics.jsp
index 65575a6..9cef911 100644 (file)
@@ -8,25 +8,49 @@ Date: May 2011
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>\r
 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>\r
 \r
-<jsp:include page="header.jsp" />\r
+<c:import url="header.jsp" >\r
+       <c:param name="title">JABAWS Usage Statistics</c:param>\r
+</c:import>  \r
     \r
-<h2>JABAWS Usage Statistics for the Period: <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h2>\r
-<h2>All jobs</h2>\r
+<div style="margin: 20px ">    \r
 \r
+<h2>JABAWS Usage Statistics for the Period: <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h2>\r
+<h2>All Jobs</h2>\r
+<c:set var="where"  value="everywhere" scope="request"/>\r
 <c:set var="statistics"  value="${stat.allStat}" scope="request"/>\r
 <c:set var="totals" value="${statTotal}" scope="request"/>\r
 <c:import url="StatisticsTable.jsp"/> \r
 \r
-<h2>Local jobs</h2>\r
+<h2>Local Jobs</h2>\r
+<c:set var="where"  value="local" scope="request"/>\r
 <c:set var="statistics"  value="${stat.localStat}" scope="request"/>\r
 <c:set var="totals" value="${statTotalLocal}" scope="request"/>\r
 <c:import url="StatisticsTable.jsp"/>\r
        \r
\r
-<h2>Cluster jobs</h2>\r
+<h2>Cluster Jobs</h2>\r
+<c:set var="where"  value="cluster" scope="request"/>\r
 <c:set var="statistics"  value="${stat.clusterStat}" scope="request"/>\r
 <c:set var="totals" value="${statTotalCluster}" scope="request"/>\r
 <c:import url="StatisticsTable.jsp"/>\r
 \r
+<div style="width: 600px">\r
+<h3>Help</h3>\r
+<p>\r
+Each table contains the number of jobs processed by JABAWS during the period of \r
+time specified in the title.</p> \r
+<ul>\r
+<li>The "All Jobs" table contains the summary of all jobs.</li> \r
+<li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine.</li> \r
+<li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster.</li>\r
+</ul>\r
+Each table contains the following information for each web service  \r
+<ul>\r
+       <li>Total - the total number of jobs accepted by a particular JABA service</li>\r
+       <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>\r
+       <li>Cancelled - the number of jobs cancelled by the user</li>\r
+       <li>Abandoned - the number of jobs which result(s) were not collected</li>\r
+</ul>\r
+</div> <!-- Help text enclosing dev end -->\r
+</div> <!-- page enclosing div ends -->\r
 \r
 <jsp:include page="footer.jsp" />\r