1 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <%@ page trimDirectiveWhitespaces="true"%>
4 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
8 <%@page import="java.util.ArrayList"%>
11 <jsp:include page="fragments/header.jsp" />
13 <div class="container">
14 <jsp:include page="fragments/mainmenu.jsp" />
15 <spring:url value="/sequence/query" var="searchquery" />
16 <spring:url value="/joblog/query" var="jobquery" />
18 <div class="panel panel-default">
19 <div class="panel-heading">
22 <c:when test="${flag == 'whole'}">
23 <p style="font-weight:bold;">Jobs for the protein sequence: ${prot}</p>
26 <p style="font-weight:bold;">Jobs for the protein sequences, which include the substring:
30 <!-- <h3>Time execution: ${timeExecution} ms</h3>-->
33 <div class="panel-body">
36 <c:when test="${njobs == 0}">
40 <p>${njobs} jobs found</p>
41 <div class="table-responsive">
42 <table class="table table-striped table-hover table-bordered">
51 <c:forEach items="${results}" var="res" varStatus="status">
52 <c:forEach items="${res.jobid}" var="id" varStatus="status">
54 <th rowspan="${res.size + 2}"><a
55 title="Click to view the job log"
56 href="${jobquery}?IdJob=${id}">${id}</a></th>
60 style="text-align: center; font-weight: bold; font-family: monospace">Protein
62 <c:if test="${flag == 'whole'}">
64 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
65 value="${res.sequence}" /></td>
67 <c:if test="${flag == 'part'}">
69 style="text-align: left; border-buttom: dotted; font-family: monospace">
70 <c:forEach items="${res.subProt}" var="seq">
72 <c:when test="${fn:contains(seq, prot)}">
73 <span style="background-color: blue">${seq}</span></c:when>
74 <c:otherwise>${seq}</c:otherwise>
80 <c:forEach items="${res.predictions}" var="seq"
84 style="text-align: center; font-weight: bold; font-family: monospace"><c:out
85 value="${seq.key}" /></td>
87 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
88 value="${seq.value}" /></td>
102 <jsp:include page="fragments/footer.jsp" />