-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<spring:url value="/sequence/query" var="searchquery" />
<spring:url value="/joblog/query" var="jobquery" />
+ <div class="panel panel-default">
+ <div class="panel-heading">
<c:choose>
<c:when test="${flag == 'whole'}">
<p style="font-weight:bold;">Jobs for the protein sequence: ${prot}</p>
${prot}</p>
</c:otherwise>
</c:choose>
- <!-- <h3>Time execution: ${timeExecution} ms</h3>-->
+ </div>
+ <div class="panel-body">
<c:choose>
<c:when test="${njobs == 0}">
<p>No jobs found</p>
</thead>
<tbody>
<c:forEach items="${results}" var="res" varStatus="status">
- <c:set var="ann" value="${res.predictions}" />
+ <c:forEach items="${res.jobid}" var="id" varStatus="status">
<tr>
- <th rowspan="${ann.mapsize + 2}"><a
+ <th rowspan="${res.size + 2}"><a
title="Click to view the job log"
- href="${jobquery}?IdJob=${res.id}">${res.id}</a></th>
+ href="${jobquery}?IdJob=${id}">${id}</a></th>
</tr>
<tr>
<td
<c:if test="${flag == 'whole'}">
<td
style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
- value="${res.prot}" /></td>
+ value="${res.sequence}" /></td>
</c:if>
<c:if test="${flag == 'part'}">
<td
</td>
</c:if>
</tr>
- <c:forEach items="${ann.predictions}" var="seq"
+ <c:forEach items="${res.predictions}" var="seq"
varStatus="status">
<tr>
<td
</tr>
</c:forEach>
</c:forEach>
+ </c:forEach>
</tbody>
</table>
</div>
</c:otherwise>
</c:choose>
+ </div>
+ </div>
+
<jsp:include page="fragments/footer.jsp" />
</div>
</body>