the new query jobs by ip
[proteocache.git] / website / ReportJobsByADay.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 ${date}</h3>
9
10 <c:choose>
11         <c:when test="${result == null}">
12                 <h3>No jobs for a day ${date} </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">Sequence of protein</th>
21                         </tr>
22                 </thead>
23                 <tbody>
24                         <c:forEach items="${result}" var="res" varStatus="status">
25                                 <tr>
26                                         <td><a href="ServletLogInfo?IdJob=${res.id}">${res.id}</a></td>
27                                         <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.prot}</td>
28                                 </tr>
29                         </c:forEach>
30                 </tbody>
31         </table>
32         </c:otherwise>
33 </c:choose>