41e0177a0130922130e4290f10c6d38af34f75eb
[proteocache.git] / webapp / view / queryRemoveJobs.jsp
1 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 <%@page import="java.util.Calendar"%>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
5 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
6 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
7 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
8 <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
9
10 <html>
11 <jsp:include page="fragments/header_database.jsp" />
12 <body>
13         <div class="container">
14         <jsp:include page="fragments/mainmenu.jsp" />
15         <spring:url value="/database/remove/go" var="formurl"/>
16
17         <div class="panel panel-default">
18                 <div class="panel-heading">
19                         <div style="font-weight:bold;">Delete jobs with the following conditions:</div>
20                 </div>
21                 <div class="panel-body">
22                         <form method="get" action="${fn:escapeXml(formurl)}">
23                                 <!-- remove a particular job -->
24                                 <p>
25                                         <input type="checkbox" name="byId" onclick="show(this, 'id');" /> Job with the job Id
26                                         <div id='id' style="visibility:hidden;">Job Id: <input type="text" name="id" value=">${samplejobid}" /></div>
27                                 </p>
28
29                                 <!-- remove jobs executed on the dates: -->
30                                 <p>
31                                         <input type="checkbox" name="byDate" onclick="show(this, 'date');" /> Jobs for the period
32                                         <div id='date' style="visibility:hidden;">
33                                         From <input type="text" name="date1" value = "${date1}" style=" width : 145px;" />
34                                         to <input type="text" name="date2" value = "${date2}" /></div>
35                                 </p>
36
37                                 <!-- remove jobs executed from particular IP: -->
38                                 <p>
39                                         <input type="checkbox" name="byIp" onclick="show(this, 'ip');" /> Jobs executed from the IP
40                                         <div id='ip' style="visibility:hidden;">IP: <input type="text" name="ip" value = '${sampleip}'/></div>
41                                 </p>
42                                 
43                                 <!-- remove jobs with a particular protein subsiquence: -->
44                                 <p>
45                                         <input type="checkbox" name="bySequence"  onclick="show(this, 'seq');"> Jobs with the protein subsequence
46                                         <div id='seq' style="visibility:hidden;"> Sequence: <input type="text" name="seq" value = ">${sampleseq}"/></div>
47                                 </p>
48                                 
49                                 <p><input type="submit" name="Delete" value="Delete"/></p>
50                         </form>
51                 </div>
52         </div>
53
54         <jsp:include page="fragments/footer.jsp"/>
55         </div>
56 </body>
57 </html>