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="/job/results" var="job_query" />
16 <div class="panel panel-default">
17 <div class="panel-heading">
19 <c:when test="${flag == 'whole'}">
20 <p style="font-weight:bold;">Jobs for the protein sequence: ${prot}</p>
23 <p style="font-weight:bold;">Jobs for the protein sequences, which include the substring:
29 <div class="panel-body">
31 <c:when test="${njobs == 0}">
35 <p>${njobs} jobs found</p>
36 <div class="table-responsive">
37 <table class="table table-striped table-hover table-bordered">
46 <c:forEach items="${results}" var="res" varStatus="status">
47 <c:forEach items="${res.jobid}" var="id" varStatus="status">
49 <th rowspan="${res.size + 2}"><a
50 title="Click to view the job log"
51 href="${job_query}?IdJob=${id}">${id}</a></th>
55 style="text-align: center; font-weight: bold; font-family: monospace">Protein
57 <c:if test="${flag == 'whole'}">
59 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
60 value="${res.sequence}" /></td>
62 <c:if test="${flag == 'part'}">
64 style="text-align: left; border-buttom: dotted; font-family: monospace">
65 <c:forEach items="${res.subProt}" var="seq">
67 <c:when test="${fn:contains(seq, prot)}">
68 <span style="background-color: blue">${seq}</span></c:when>
69 <c:otherwise>${seq}</c:otherwise>
75 <c:forEach items="${res.predictions}" var="seq"
79 style="text-align: center; font-weight: bold; font-family: monospace"><c:out
80 value="${seq.key}" /></td>
82 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
83 value="${seq.value}" /></td>
97 <jsp:include page="fragments/footer.jsp" />