1 <%@page import="java.util.ArrayList"%>
2 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
5 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
8 <c:when test="${search == 'Search counter'}">
9 <h3>Dundee ProteoCache query results for jobs more than ${counter} </h3>
12 <h3>Dundee ProteoCache query results</h3>
15 <h3>Time execution: ${timeExecution} ms</h3>
18 <c:when test="${results == null}">
19 <h3>No jobs for sequence ${prot} </h3>
23 <table border="1" style="border-collapse: collapse; white-space: nowrap">
26 <c:when test="${search == 'Search counter'}">
29 <th style="text-align: centre">Number of jobs</th>
30 <th style="text-align: left">Protein</th>
34 <c:forEach items="${results}" var="res">
36 <td>${res.totalId}</td>
37 <td style="text-align: left; border-buttom: dotted; font-family: monospace">
38 <a title="Click to view all jobs" href="ServletSequenceProtein?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
47 <th style="text-align: centre">Job ID</th>
48 <th style="text-align: centre">annotation</th>
49 <th style="text-align: centre">Sequence</th>
53 <c:forEach items="${results}" var="res" varStatus="status">
54 <c:set var="ann" value="${res.predictions}"/>
56 <th rowspan="${ann.mapsize + 2}"><a title="Click to view the job log" href="ServletLogInfo?IdJob=${res.id}">${res.id}</a></th>
59 <td style="text-align: center; font-weight: bold; font-family: monospace" >Protein Sequence</td>
60 <!-- <td style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out value="${res.prot}" /></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>
72 <c:otherwise>${seq}</c:otherwise>
78 <c:forEach items="${ann.predictions}" var="seq" varStatus="status">
80 <td style="text-align: center; font-weight: bold; font-family: monospace"><c:out value="${seq.key}"/></td>
81 <td style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out value="${seq.value}"/></td>