Further work on statistics display
authorpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Thu, 26 May 2011 17:15:41 +0000 (17:15 +0000)
committerpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Thu, 26 May 2011 17:15:41 +0000 (17:15 +0000)
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4177 e3abac25-378b-4346-85de-24260fe3988d

statpages/MonthlySummary.jsp
statpages/Statistics.jsp
statpages/StatisticsTable.jsp
statpages/displaytag.css
statpages/footer.jsp
statpages/header.jsp
statpages/screen.css

index 6c08d4d..78f2fe2 100644 (file)
@@ -9,18 +9,18 @@ Date: May 2011
 \r
 <jsp:include page="header.jsp" />\r
 \r
-<h2>Web Services Usage Statistics</h2>\r
-<table class="its"> \r
+<h1>JABAWS Usage Statistics</h1>\r
+<table class="center its" style="width: 600px "> \r
 <thead>\r
 <tr>\r
 <th rowspan="2">Month</th>\r
 <th colspan="4" style="text-align: center">Number of Jobs</th>\r
 </tr>\r
 <tr>\r
-<th>Total</th>\r
-<th>Incomplete</th>\r
-<th>Cancelled</th>\r
-<th>Abandoned</th>\r
+<th title="Total number of jobs received">Total</th>\r
+<th title="The number of jobs with no result">Incomplete</th>\r
+<th title="The number of cancelled jobs">Cancelled</th>\r
+<th title="The number of jobs started but not collected by the user">Abandoned</th>\r
 </tr>\r
 </thead>\r
 <tbody>\r
@@ -35,7 +35,7 @@ Date: May 2011
        </c:otherwise>\r
 </c:choose>\r
 \r
-<td><a href="DisplayStat?datetime=${monthTotal.key.time}"><fmt:formatDate value="${monthTotal.key}" type="date" pattern="MMM yyyy"/></a></td>\r
+<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
 <td>${monthTotal.value.total}</td>\r
 <td>${monthTotal.value.incomplete}</td>\r
 <td>${monthTotal.value.cancelled}</td>\r
index 65575a6..fc11f39 100644 (file)
@@ -12,7 +12,6 @@ Date: May 2011
     \r
 <h2>JABAWS Usage Statistics for the Period: <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h2>\r
 <h2>All jobs</h2>\r
-\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
@@ -22,11 +21,9 @@ Date: May 2011
 <c:set var="totals" value="${statTotalLocal}" scope="request"/>\r
 <c:import url="StatisticsTable.jsp"/>\r
        \r
\r
 <h2>Cluster jobs</h2>\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
-\r
 <jsp:include page="footer.jsp" />\r
index d744abe..2d847ee 100644 (file)
@@ -9,17 +9,17 @@ Date: May 2011
 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>\r
 \r
     \r
-<table class="its" style="border-collapse: separate;"> \r
+<table class="its" style="width:600px "> \r
 <thead>\r
 <tr>\r
 <th rowspan="2">Web Service</th>\r
 <th colspan="4" style="text-align: center">Number of Jobs</th>\r
 </tr>\r
 <tr>\r
-<th>Total</th>\r
-<th>Incomplete</th>\r
-<th>Cancelled</th>\r
-<th>Abandoned</th>\r
+<th title="Total number of jobs received">Total</th>\r
+<th title="The number of jobs with no result">Incomplete</th>\r
+<th title="The number of cancelled jobs">Cancelled</th>\r
+<th title="The number of jobs started but not collected by the user">Abandoned</th>\r
 </tr>\r
 </thead>\r
 <tbody>\r
@@ -36,10 +36,10 @@ Date: May 2011
 </c:choose>\r
 \r
 <td>${ws.key}</td>\r
-<td><a href="Joblist?ws=${ws.key}&where=everywhere&type=all&from=${startDate.time}&to=${stopDate.time}">${ws.value.jobNumber}</a></td>\r
-<td><a href="Joblist?ws=${ws.key}&where=everywhere&type=incomplete&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.incompleteJobs)}</a></td>\r
-<td><a href="Joblist?ws=${ws.key}&where=everywhere&type=cancelled&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.cancelledJobs)}</a></td>\r
-<td><a href="Joblist?ws=${ws.key}&where=everywhere&type=abandoned&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.abandonedJobs)}</a></td>\r
+<td><a title="Click to view jobs" href="Joblist?ws=${ws.key}&where=everywhere&type=all&from=${startDate.time}&to=${stopDate.time}">${ws.value.jobNumber}</a></td>\r
+<td><a title="Click to view jobs" href="Joblist?ws=${ws.key}&where=everywhere&type=incomplete&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.incompleteJobs)}</a></td>\r
+<td><a title="Click to view jobs" href="Joblist?ws=${ws.key}&where=everywhere&type=cancelled&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.cancelledJobs)}</a></td>\r
+<td><a title="Click to view jobs" href="Joblist?ws=${ws.key}&where=everywhere&type=abandoned&from=${startDate.time}&to=${stopDate.time}">${fn:length(ws.value.abandonedJobs)}</a></td>\r
 </tr>\r
 </c:forEach>\r
 \r
index d1a75c0..77a5d13 100644 (file)
@@ -1,7 +1,7 @@
 table {
        border: 1px solid #666;
-       width: 80%;
-       margin: 20px 0 20px 0 !important;
+       width: 100%;
+       margin: 10px 0 10px 0 !important;
 }
 
 th,td {
@@ -58,7 +58,7 @@ div.exportlinks {
        border: 1px dotted #999;
        padding: 2px 4px 2px 4px;
        margin: 2px 0 10px 0;
-       width: 79%;
+       width: 99%;
 }
 
 span.export {
@@ -92,7 +92,7 @@ span.pagebanner {
        background-color: #eee;
        border: 1px dotted #999;
        padding: 2px 4px 2px 4px;
-       width: 79%;
+       width: 99%;
        margin-top: 10px;
        display: block;
        border-bottom: none;
@@ -102,7 +102,7 @@ span.pagelinks {
        background-color: #eee;
        border: 1px dotted #999;
        padding: 2px 4px 2px 4px;
-       width: 79%;
+       width: 99%;
        display: block;
        border-top: none;
        margin-bottom: -5px;
index 5a464b6..9943ff0 100644 (file)
@@ -1,3 +1,3 @@
-</div> <!-- wrapper end -->
+</div>
 </body>
 </html>
index 1e54eaa..a80bd08 100644 (file)
@@ -11,5 +11,4 @@
 
 </head>
 <body>
-<div id="statwrapper">
-
+<div id="mainpage">
\ No newline at end of file
index 9f4c984..acf7562 100644 (file)
@@ -3,6 +3,19 @@
 @import url("alternative.css");
 
 
+#mainpage {
+       margin-left: auto;
+       margin-right: auto;
+}
+
+.center { 
+       margin: 0 auto;
+}
+
+h2 {
+       font-size: 1.5em; line-height: 1em; margin-bottom: -0.3em;
+       }
+       
 body,input,select,td,textarea {
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 11px;