1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <%@ page trimDirectiveWhitespaces="true"%>
3 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
7 <%@page import="java.util.ArrayList"%>
10 <jsp:include page="fragments/header.jsp" />
12 <div class="container">
13 <jsp:include page="fragments/mainmenu.jsp" />
14 <spring:url value="/sequence/query" var="searchquery" />
15 <spring:url value="/joblog/query" var="jobquery" />
17 <div class="panel panel-default">
18 <div class="panel-heading">
20 <c:when test="${flag == 'whole'}">
21 <p style="font-weight:bold;">Jobs for the protein sequence: ${prot}</p>
24 <p style="font-weight:bold;">Jobs for the protein sequences, which include the substring:
30 <div class="panel-body">
32 <c:when test="${njobs == 0}">
36 <p>${njobs} jobs found</p>
37 <div class="table-responsive">
38 <table class="table table-striped table-hover table-bordered">
47 <c:forEach items="${results}" var="res" varStatus="status">
48 <c:forEach items="${res.jobid}" var="id" varStatus="status">
50 <th rowspan="${res.size + 2}"><a
51 title="Click to view the job log"
52 href="${jobquery}?IdJob=${id}">${id}</a></th>
56 style="text-align: center; font-weight: bold; font-family: monospace">Protein
58 <c:if test="${flag == 'whole'}">
60 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
61 value="${res.sequence}" /></td>
63 <c:if test="${flag == 'part'}">
65 style="text-align: left; border-buttom: dotted; font-family: monospace">
66 <c:forEach items="${res.subProt}" var="seq">
68 <c:when test="${fn:contains(seq, prot)}">
69 <span style="background-color: blue">${seq}</span></c:when>
70 <c:otherwise>${seq}</c:otherwise>
76 <c:forEach items="${res.predictions}" var="seq"
80 style="text-align: center; font-weight: bold; font-family: monospace"><c:out
81 value="${seq.key}" /></td>
83 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
84 value="${seq.value}" /></td>
98 <jsp:include page="fragments/footer.jsp" />