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">
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" %>
11 <jsp:include page="fragments/header_database.jsp" />
13 <div class="container">
14 <jsp:include page="fragments/mainmenu.jsp" />
15 <spring:url value="/database/remove/go" var="formurl"/>
16 <form method="get" action="${fn:escapeXml(formurl)}">
19 Calendar cal = Calendar.getInstance();
20 String currentdate = cal.get(Calendar.YEAR) + "/" + (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.DAY_OF_MONTH);
22 <input type="checkbox" name="byId" onclick="show(this, 'id');">records with job's id
23 <div id='id' class="row" style="visibility:hidden;">
24 job Id: <input type="text" name="id" />
26 <input type="checkbox" name="byDate" onclick="show(this, 'date');">records for the period of dates
27 <div id='date' class="row" style="visibility:hidden;">
28 from <input type="text" name="date1" value = <%= currentdate%> style=" width : 145px;"/>
29 to <input type="text" name="date2" value = <%= currentdate%> />
31 <input type="checkbox" name="byIp" onclick="show(this, 'ip');">records with ip
32 <div id='ip' class="row" style="visibility:hidden;">
33 ip: <input type="text" name="ip" value = '127'/>
35 <input type="checkbox" name="bySequence" onclick="show(this, 'seq');">records for protein sequence<br/>
36 <div id='seq' class="row" style="visibility:hidden;">
37 Sequence: <input type="text" name="seq" value = "ATA"/>
39 <input type="submit" name="Delete" value="Delete"/>
42 <jsp:include page="fragments/footer.jsp"/>