1 <%@page import="java.util.ArrayList"%>
2 <%@ page trimDirectiveWhitespaces="true"%>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
6 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
9 <c:when test="${search == 'Search counter'}">
10 <h3>Dundee ProteoCache query results for jobs more than ${counter} </h3>
13 <h3>Dundee ProteoCache query results</h3>
16 <h3>Time execution: ${timeExecution} ms</h3>
19 <c:when test="${results == null}">
20 <h3>No jobs for sequence ${prot} </h3>
24 <table border="1" style="border-collapse: collapse; white-space: nowrap">
27 <c:when test="${search == 'Search counter'}">
30 <th style="text-align: centre">Number of jobs</th>
31 <th style="text-align: left">Protein</th>
35 <c:forEach items="${results}" var="res">
37 <td>${res.totalId}</td>
38 <td style="text-align: left; border-buttom: dotted; font-family: monospace">
39 <a title="Click to view all jobs" href="ServletSequenceProtein?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
47 <tr style="text-align: centre">
54 <c:forEach items="${results}" var="res" varStatus="status">
55 <c:set var="ann" value="${res.predictions}"/>
56 <tr style="border-bottom: double">
57 <th rowspan="${ann.mapsize + 2}"><a title="Click to view the job log" href="ServletLogInfo?IdJob=${res.id}">${res.id}</a></th>
59 <tr style="border-bottom: double ">
60 <td style="text-align: center; font-weight: bold; font-family: monospace" >Protein Sequence</td>
61 <c:if test="${flag == 'whole'}">
62 <td style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out value="${res.prot}" /></td>
64 <c:if test="${flag == 'part'}">
66 style="text-align: left; border-buttom: dotted; font-family: monospace">
67 <c:forEach items="${res.subProt}" var="seq">
69 <c:when test="${fn:contains(seq, prot)}">
70 <span style="background-color: blue">${seq}</span></c:when><c:otherwise>${seq}</c:otherwise>
76 <c:forEach items="${ann.predictions}" var="seq" varStatus="status">
78 <td style="text-align: center; font-weight: bold; font-family: monospace"><c:out value="${seq.key}"/></td>
79 <td style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out value="${seq.value}"/></td>