done time execution for queries, query by counter of job, total in column in query...
[proteocache.git] / website / ReportProt.jsp
index ae06cf6..3f6028a 100644 (file)
@@ -4,11 +4,18 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
-
-<h3>Dundee ProteoCache query result</h3>
+<c:choose>
+       <c:when test="${search == 'Search counter'}">
+               <h3>Dundee ProteoCache query result for jobs more than ${counter} </h3>
+       </c:when>
+       <c:otherwise>
+               <h3>Dundee ProteoCache query result</h3>
+       </c:otherwise>
+</c:choose>
+<h3>Time execution: ${timeExecution} ms</h3>
 <table border="1" style="border-collapse: collapse; white-space: nowrap">
        <c:choose>
-               <c:when test="${checkbox == 'AllProtein'}">
+               <c:when test="${search == 'Search counter'}">
                        <thead>
                                <tr>
                                        <th style="text-align: centre">Number of jobs</th>
@@ -22,7 +29,7 @@
                                                <td
                                                        style="text-align: left; border-buttom: dotted; font-family: monospace"><a
                                                        title="Click to view predictions"
-                                                       href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search">${res.prot}</a>
+                                                       href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
                                                </td>
                                        </tr>
                                </c:forEach>