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.jsp" />
12 <div class="container">
13 <jsp:include page="../fragments/mainmenu.jsp" />
14 <spring:url value="/sequence/sequence/results" var="query"/>
16 <div class="panel panel-default">
17 <div class="panel-heading">
18 <div style="font-weight:bold;">Enter protein sequence</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><textarea class="form-control" rows="3" name="sequence">${value}</textarea></p>
27 <input type="radio" name="searchtype" value="whole"> Search for the whole sequence<br/>
28 <input type="radio" name="searchtype" value="partial" Checked> Search for partial sequence matching
30 <input type="submit" name="Search" value="Search"/>
34 <div class="form-group has-error">
35 <p><textarea class="form-control" rows="3" name="sequence">${value}</textarea></p>
36 <p class="help-block">${error}</p>
37 <p><input type="radio" name="searchtype" value="whole">search for the whole sequence<br/>
38 <input type="radio" name="searchtype" value="partial" Checked>search for partial sequence matching</p>
39 <input type="submit" name="Search" value="Search"/>
46 <jsp:include page="../fragments/footer.jsp"/>