Add mode comments to the classes
[proteocache.git] / query / JobStatistics.jsp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
3 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
4 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
5 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
6 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
7 <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
8
9 <html>
10 <jsp:include page="../fragments/header_database.jsp" />
11 <body>
12         <div class="container">
13         <jsp:include page="../fragments/mainmenu.jsp" />
14         <spring:url value="/stat/jobsdaily/results" var="query" />
15
16         <div class="panel panel-default">
17                 <div class="panel-heading">
18                         <div style="font-weight:bold;">Enter time period for daily job statistics</div>
19                 </div>
20                 <div class="panel-body">
21                         <form method="get" action="${query}">
22                                 <c:choose>
23                                 <c:when test="${error == null}">
24                                         <div class="form-group">
25                                                 <p><input type="checkbox" name="option" value="AllDates" checked="checked" onclick="hide(this, 'date');"> Query for all dates<br>
26                                                 <div id='date' style="visibility:hidden;">
27                                                         <p>
28                                                                 Jobs executed 
29                                                                 from <input type="text" name="date1" value="${date1}" style="width: 145px;" /> 
30                                                                 to <input type="text" name="date2" value="${date2}" style="width: 145px;" />
31                                                         </p>
32                                                 </div>
33                                                 <input type="hidden" name="option" value="off" />
34                                                 <input type="submit" name="Search" value="Search" />
35                                         </div>
36                                 </c:when>
37                                 <c:otherwise>
38                                         <div class="form-group has-error">
39                                                 <p><input type="checkbox" name="option" value="AllDates" onclick="hide(this, 'dateError');"> Query for all dates<br>
40                                                 <div id='dateError' style="visibility:visible;">
41                                                         <p>
42                                                                 Jobs executed 
43                                                                 from <input type="text" name="date1" value="${date1}" style="width: 145px;" /> 
44                                                                 to <input type="text" name="date2" value="${date2}" style="width: 145px;" />
45                                                         </p>
46                                                         <p class="help-block">${error}</p>              
47                                                 </div>                  
48                                                 <input type="hidden" name="option" value="off" />
49                                                 <input type="submit" name="Search" value="Search" />
50                                         </div>
51                                 </c:otherwise>
52                                 </c:choose>
53                         </form>
54                 </div>
55         </div>
56
57         <jsp:include page="../fragments/footer.jsp" />
58         </div>
59 </body>
60 </html>