Improve front-end view of the website
[proteocache.git] / webapp / view / reportJobLog.jsp
1 <%@ page language="java" contentType="text/html; charset=UTF-8"
2         pageEncoding="UTF-8"%>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
5 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
8 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
9 <%@page import="java.util.ArrayList"%>
10
11 <html>
12 <jsp:include page="fragments/header.jsp" />
13 <body>
14         <div class="container">
15                 <jsp:include page="fragments/mainmenu.jsp" />
16                 <spring:url value="/sequence/querysequence" var="searchquery" />
17
18                 <p>Information for the job ${IdJob}<br/>
19                         Start timestamp : ${result.logInfo.dateStart}<br />
20                         End timestamp : ${result.logInfo.dateEnd}<br />
21                         IP: ${result.logInfo.ip}
22                 </p>
23
24                 <table class="table table-striped table-hover table-bordered">
25                         <tbody>
26                                 <tr>
27                                         <td>Sequence</td>
28                                         <td style="text-align: left; border-buttom: dotted; font-family: monospace">
29                                                 <a title="Click to view other jobs" href="${searchquery}?sequence=${result.logInfo.sequence}&protein=whole&Search=Search">${result.logInfo.sequence}</a>
30                                         </td>
31                                 </tr>
32                                 <c:forEach items="${result.logInfo.prediction}" var="pred">
33                                         <tr>
34                                                 <td>${pred.key}</td>
35                                                 <td
36                                                         style="text-align: left; border-buttom: dotted; font-family: monospace">
37                                                         ${pred.value}</td>
38                                         </tr>
39                                 </c:forEach>
40                         </tbody>
41                 </table>
42
43                 <jsp:include page="fragments/footer.jsp" />
44         </div>
45 </body>
46 </html>