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 uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
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="/features/results" var="query"/>
16 <div class="panel panel-default">
17 <div class="panel-heading">
18 <div style="font-weight:bold;">Protein Secondary Structure statistics</div>
20 <div class="panel-body">
21 <form method="get" action="${query}">
22 <div class="col-xs-3"> <!-- make the field shorter -->
24 <c:when test="${error == null}">
25 <div class="form-group">
26 <label for="TypeFeatures">Secondary Structure Feature </label>
27 <select name = TypeFeatures>
28 <option value="H">Helix</option>
29 <option value="E">Beta Sheet</option>
31 <label for="SSFeatureValue">Fraction the feature in the protein</label>
32 <input class="form-control" type="text" name="Percent" value ="${value}" id="SSFeatureValue">
36 <div class="form-group has-error">
37 <label for="SSFeature">Type of SS feature</label>
38 <select name = TypeFeatures>
39 <option value="H">H</option>
40 <option value="E">E</option>
42 <label for="SSFeatureValue">Percent of SS feature </label>
43 <input class="form-control" type="text" name="Percent" value ="${value}" id="SSFeatureValue">
44 <p class="help-block">${error}</p>
48 <input type="submit" name="Search" value="Search"/>
53 <jsp:include page="../fragments/footer.jsp"/>