1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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 <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
10 <jsp:include page="../fragments/header.jsp" />
12 <div class="container">
13 <sec:authorize access="hasRole('ROLE_USER')">
14 <jsp:include page="../fragments/mainmenu.jsp" />
16 <sec:authorize access="isAnonymous()">
17 <jsp:include page="../fragments/publicmenu.jsp" />
20 <spring:url value="/sequence/results" var="sequence_query" />
21 <spring:url value="/admin/ip/results" var="ip_query" />
22 <spring:url value="/job/results?IdJob=${IdJob}" var="the_query" />
23 <spring:url value="/database/remove/go?byId=on&id=${IdJob}&byId=off&date1=&date2=&byDate=off&ip=&byIp=off&seq=&bySequence=off" var="remove_query" />
25 <!-- reload and CSV buttons -->
26 <ul class="nav navbar-nav navbar-right">
28 <a href="${the_query}" class="btn btn-default active">Reload</a>
30 <sec:authorize access="hasRole('ROLE_ADMIN')">
32 <a href="${remove_query}" class="btn btn-default active">Delete</a>
37 <div class="panel panel-default">
38 <div class="panel-heading">
39 <p style="font-weight:bold;">Information for the job ${IdJob}</p>
41 <div class="panel-body">
42 <c:choose><c:when test="${jobnotfound == 'yes'}">
43 <p>The job not found</p>
44 </c:when><c:otherwise>
45 <p>Start timestamp : ${result.dateStart}</p>
46 <p>End timestamp : ${result.dateEnd}</p>
47 <c:if test='${result.programName != null}'>
49 <c:when test="${result.programLink != ''}">
50 <p style="font-weight:bold;">
51 Program: <a href="${result.programLink}">${result.programName}</a> (version : ${result.programVersion})
55 <p style="font-weight:bold;">Program : ${result.programName} (version : ${result.programVersion})</p>
59 <sec:authorize access="hasRole('ROLE_ADMIN')">
60 <p>IP: <a title="Click to view other jobs" href="${ip_query}?ip=${result.ip}">${result.ip}</a></p>
62 <c:if test='${jobarchive != null}'>
63 <spring:url value="../${jobarchive}" var="jobarchivefile" />
64 <p>Job archive: <a title="Click to get the file" href="${jobarchivefile}">download</a></p>
66 <c:if test='${jobremotelink != null}'>
67 <p>Original job link: <a title="Click to go to original job" href="${jobremotelink}">view</a></p>
69 <div class="grid-wrapper-div">
70 <table class="table table-striped table-hover table-bordered">
80 <td style="text-align: left; border-buttom: dotted; font-family: monospace">
81 <a title="Click to view other jobs" href="${sequence_query}?sequence=${result.sequence}&searchtype=whole">${result.sequence}</a>
84 <c:forEach items="${result.prediction}" var="pred">
87 <td style="text-align: left; border-buttom: dotted; font-family: monospace">${pred.value}</td>
93 </c:otherwise></c:choose>
97 <jsp:include page="../fragments/footer.jsp" />