Add mode comments to the classes
[proteocache.git] / query / SSFeatures.jsp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
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" %>
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="/features/results" var="query"/>
15
16         <div class="panel panel-default">
17                 <div class="panel-heading">
18                         <div style="font-weight:bold;">Protein Secondary Structure statistics</div>
19                 </div>
20                 <div class="panel-body">
21                         <form method="get" action="${query}">
22                         <div class="col-xs-3"> <!-- make the field shorter -->
23                         <c:choose>
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>
30                                 </select>       
31                                 <label for="SSFeatureValue">Fraction the feature in the protein</label>
32                                 <input class="form-control" type="text" name="Percent" value ="${value}" id="SSFeatureValue">
33                         </div>
34                         </c:when>
35                         <c:otherwise>
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>
41                                 </select>       
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>
45                         </div>
46                         </c:otherwise>
47                         </c:choose>
48                         <input type="submit" name="Search" value="Search"/>
49                         </div>
50                         </form>
51                 </div>
52         </div>
53         <jsp:include page="../fragments/footer.jsp"/>
54         </div>
55 </body>
56 </html>