the new query jobs by ip
[proteocache.git] / website / ReportJobsByIp.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 results for jobs more than ${counter} </h3>
9 <h3>Time execution: ${timeExecution} ms</h3>
10 <c:choose>
11         <c:when test="${results == null}">
12                 <h3> No jobs  </h3>
13         </c:when>
14         
15         <c:otherwise>
16                 <table border="1" style="border-collapse: collapse; white-space: nowrap">
17                         <thead>
18                                 <tr>
19                                         <th style="text-align: centre">Number of jobs</th>
20                                         <th style="text-align: left">ip</th>
21                                 </tr>
22                         </thead>
23                         <tbody>
24                                 <c:forEach items="${results}" var="res">
25                                         <tr>
26                                                 <td>${res.totalId}</td>
27                                                 <td style="text-align: left; border-buttom: dotted; font-family: monospace">
28                                                         <a title="Click to view all jobs" href="ServletIp?ip=${res.ip}">${res.ip}</a>
29                                                 </td>
30                                         </tr>
31                                 </c:forEach>
32                         </tbody>
33                 </table>
34         </c:otherwise>
35 </c:choose>