the new query jobs by ip
[proteocache.git] / website / FullReportJobsByIp.jsp
1 <%@page import="java.util.ArrayList"%>
2 <%@ page trimDirectiveWhitespaces="true"%>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
6 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
7
8 <h3>Dundee ProteoCache query result for ${ip}</h3>
9
10 <c:choose>
11         <c:when test="${results == null}">
12                 <h3>No jobs for an ip ${ip} </h3>
13         </c:when>
14         <c:otherwise>
15                 
16         <table border="1" style="border-collapse: collapse; white-space: nowrap">
17                 <thead>
18                         <tr>
19                                 <th style="text-align: centre">ID</th>
20                                 <th style="text-align: left">IP</th>
21                                 <th style="text-align: left">Sequence</th>
22                         </tr>
23                 </thead>
24                 <tbody>
25                         <c:forEach items="${results}" var="res" varStatus="status">
26                                 <tr>
27                                         <td><a href="ServletLogInfo?IdJob=${res.id}">${res.id}</a></td>
28                                         <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.ip}</td>
29                                         <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.prot}</td>
30                                 </tr>
31                         </c:forEach>
32                 </tbody>
33         </table>
34         </c:otherwise>
35 </c:choose>