1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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"%>
10 <jsp:include page="../fragments/header_database.jsp" />
12 <div class="container">
13 <jsp:include page="../fragments/mainmenu.jsp" />
14 <spring:url value="/stat/jobsdaily/results" var="query" />
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>
20 <div class="panel-body">
21 <form method="get" action="${query}">
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;">
29 from <input type="text" name="date1" value="${date1}" style="width: 145px;" />
30 to <input type="text" name="date2" value="${date2}" style="width: 145px;" />
33 <input type="hidden" name="option" value="off" />
34 <input type="submit" name="Search" value="Search" />
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;">
43 from <input type="text" name="date1" value="${date1}" style="width: 145px;" />
44 to <input type="text" name="date2" value="${date2}" style="width: 145px;" />
46 <p class="help-block">${error}</p>
48 <input type="hidden" name="option" value="off" />
49 <input type="submit" name="Search" value="Search" />
57 <jsp:include page="../fragments/footer.jsp" />