-<%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-<%@page import="java.util.ArrayList"%>
<html>
<jsp:include page="fragments/header.jsp" />
<div class="container">
<jsp:include page="fragments/mainmenu.jsp" />
<spring:url value="/joblog/query" var="jobquery" />
+ <spring:url value="/stat/oneday?date=${date}" var="thequery" />
-<p style="font-weight:bold;">Job statistics for ${date}</p>
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="${thequery}" class="btn btn-default active">Reload</a>
+ </li>
+ </ul>
-<c:choose>
- <c:when test="${results == null}">
- <p>No jobs found...</p>
- </c:when>
- <c:otherwise>
- <p>${njobs} jobs found for the day:</p>
- <div class="table-responsive">
- <table class="table table-striped table-hover table-bordered">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <p style="font-weight:bold;">Job statistics for ${date}</p>
+ </div>
+ <div class="panel-body">
+
+ <c:choose>
+ <c:when test="${results == null}">
+ <p>No jobs found...</p>
+ </c:when>
+ <c:otherwise>
+ <p>${njobs} jobs found for the day:</p>
+ <div class="table-responsive">
+ <table class="table table-striped table-hover table-bordered">
<thead>
<tr>
<th style="text-align: centre">Job ID</th>
</tr>
</c:forEach>
</tbody>
- </table>
+ </table>
+ </div>
+ </c:otherwise>
+ </c:choose>
+ </div>
</div>
- </c:otherwise>
-</c:choose>
- <jsp:include page="fragments/footer.jsp" />
+ <jsp:include page="fragments/footer.jsp" />
</div>
</body>
</html>
\ No newline at end of file