<body>
<div class="container">
<jsp:include page="fragments/mainmenu.jsp" />
- <spring:url value="/stat/oneday" var="onedayquery" />
- <spring:url value="/stat/query?date1=${date1}&date2=${date2}&option=${option}" var="thequery" />
+ <spring:url value="/stat/jobsoneday/results" var="oneday_query" />
+ <spring:url value="/stat/jobsdaily/results?date1=${date1}&date2=${date2}&option=${option}" var="the_query" />
<ul class="nav navbar-nav navbar-right">
<li>
- <a href="${thequery}" class="btn btn-default active">Reload</a>
+ <a href="${the_query}" class="btn btn-default active">Reload</a>
</li>
</ul>
<td style="text-align: center">${res.key}</td>
<c:set var="value" value="${res.value}"/>
<td style="text-align: right">${value.total}</td>
- <td style="text-align: right"><a href="${onedayquery}?date=${res.key}">${value.totalOK}</a></td>
- <td style="text-align: right">${value.totalStopped}</td>
- <td style="text-align: right">${value.totalError}</td>
- <td style="text-align: right">${value.totalTimeOut}</td>
+ <td style="text-align: right"><a href="${oneday_query}?date=${res.key}&status=OK">${value.totalOK}</a></td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalStopped == 0}">0</c:when>
+ <c:otherwise><a href="${oneday_query}?date=${res.key}&status=Stopped">${value.totalStopped}</a></c:otherwise>
+ </c:choose>
+ </td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalError == 0}">0</c:when>
+ <c:otherwise><a href="${oneday_query}?date=${res.key}&status=JpredError">${value.totalError}</a></c:otherwise>
+ </c:choose>
+ </td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalTimeOut == 0}">0</c:when>
+ <c:otherwise><a href="${oneday_query}?date=${res.key}&status=TimedOut">${value.totalTimeOut}</a></c:otherwise>
+ </c:choose>
+ </td>
</tr>
</c:forEach>
</tbody>
</div>
</c:otherwise>
</c:choose>
-
</div>
</div>