Fix problem with new table column names: ProgrammeName -> ProgramName, Version -...
[proteocache.git] / webapp / view / reports / Job.jsp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
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"%>
8
9 <html>
10 <jsp:include page="../fragments/header.jsp" />
11 <body>
12         <div class="container">
13                 <jsp:include page="../fragments/mainmenu.jsp" />
14                 <spring:url value="/sequence/sequence/results" var="sequence_query" />
15                 <spring:url value="/admin/ip/results" var="ip_query" />
16
17                 <div class="panel panel-default">
18                 <div class="panel-heading">
19                         <p style="font-weight:bold;">Information for the job ${IdJob}</p>
20                 </div>
21                 <div class="panel-body">
22                         <p>Start timestamp : ${result.dateStart}</p>
23                         <p>End timestamp : ${result.dateEnd}</p>
24                         <c:if test='${jobarchive != null}'>
25                                 <p>Program name : ${result.programName}</p>
26                                 <p>Program version : ${result.programVersion}</p>
27                         </c:if>
28 <sec:authorize access="hasRole('ROLE_ADMIN')">
29                         <p>IP: <a title="Click to view other jobs" href="${ip_query}?ip=${result.ip}">${result.ip}</a></p>
30 </sec:authorize>
31                         <c:if test='${jobarchive != null}'>
32                                 <spring:url value="../${jobarchive}" var="jobarchivefile" />
33                                 <p>Job archive: <a title="Click to get the file" href="${jobarchivefile}">download</a></p>
34                         </c:if>
35                         <c:if test='${jobremotelink != null}'>
36                                 <p>Original job link: <a title="Click to go to original job" href="${jobremotelink}">view</a></p>
37                         </c:if>
38                         <div class="grid-wrapper-div">
39                         <table class="table table-striped table-hover table-bordered">
40                         <tbody>
41                                 <thead>
42                                         <tr>
43                                                 <th>ID</th>
44                                                 <th >Sequence</th>
45                                         </tr>
46                                 </thead>
47                                 <tr>
48                                         <td>Protein</td>
49                                         <td >
50                                                 <a title="Click to view other jobs" href="${sequence_query}?sequence=${result.sequence}&searchtype=whole">${result.sequence}</a>
51                                         </td>
52                                 </tr>
53                                 <c:forEach items="${result.prediction}" var="pred">
54                                         <tr>
55                                                 <td>${pred.key}</td>
56                                                 <td style="text-align: left; border-buttom: dotted; font-family: monospace">${pred.value}</td>
57                                         </tr>
58                                 </c:forEach>
59                         </tbody>
60                         </table>
61                         </div>
62                 </div>
63                 </div>
64
65                 <jsp:include page="../fragments/footer.jsp" />
66         </div>
67 </body>
68 </html>