Add detailed statistics on delated jobs
[proteocache.git] / webapp / view / reports / RemoveJobs.jsp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
3 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
7 <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
8
9 <html>
10 <jsp:include page="../fragments/header.jsp" />
11 <body>
12         <div class="container">
13                 <jsp:include page="../fragments/mainmenu.jsp" />
14                 <spring:url value="/sequence/results" var="sequence_query" />
15                 <spring:url value="/admin/ip/results" var="ip_query" />
16
17                 <div class="panel panel-default">
18                         <div class="panel-heading">
19                                 <p style="font-weight:bold;">Information on removed jobs</p>
20                         </div>
21                         <div class="panel-body">
22                         <c:choose>
23                         <c:when test="${njobs > 0}">
24                                 <c:if test="${byDate != 'off'}">
25                                         <p>${njobsbyDate} jobs have been removed for the time period: ${date1} to ${date2} (${ndays} days)</p>
26                                 </c:if>
27                                 <c:if test="${byId != 'off'}">
28                                         <p>Job ${id} has been removed.</p>
29                                 </c:if>
30                                 <c:if test="${byIp != 'off'}">
31                                         <p>Jobs launched from ${ip} have been removed. ${njobsbyIp} jobs have been removed.</p>
32                                 </c:if>
33                                 <c:if test="${bySequence != 'off'}">
34                                         <p>Jobs launched with sequence ${seq} have been removed. ${njobsbySeq} jobs have been removed.</p>
35                                 </c:if>
36                         </c:when>
37                         <c:otherwise>
38                                 <p>No jobs has been removed.</p>
39                         </c:otherwise>
40                         </c:choose>
41                         </div>
42                 </div>
43
44                 <jsp:include page="../fragments/footer.jsp" />
45         </div>
46 </body>
47 </html>