Merge branch 'master' into PROT-9-webservice
[proteocache.git] / webapp / view / reports / JobStatisticsOneDay.jsp
similarity index 74%
rename from webapp/view/reportJobStatisticsOneDay.jsp
rename to webapp/view/reports/JobStatisticsOneDay.jsp
index 82a3def..f19cdf7 100644 (file)
@@ -6,12 +6,13 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
 <html>
-<jsp:include page="fragments/header.jsp" />
+<jsp:include page="../fragments/header.jsp" />
 <body>
        <div class="container">
-               <jsp:include page="fragments/mainmenu.jsp" />
+               <jsp:include page="../fragments/mainmenu.jsp" />
                <spring:url value="/job/results" var="job_query" />
-               <spring:url value="/stat/onedaystat?date=${date}&status=${status}" var="the_query" />
+               <spring:url value="/stat/jobsoneday/results?date=${date}&status=${status}" var="the_query" />
+               <spring:url value="/sequence/results" var="sequence_query" />
 
        <ul class="nav navbar-nav navbar-right">
                <li>
                                                        <td>Job with alignment</td>
                                        </c:when>
                                        <c:otherwise>
-                                               <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.value}</td>
+                                               <td style="text-align: left; border-buttom: dotted; font-family: monospace">
+                                               <!-- ${res.value}-->
+                                               <a title="Click to view all jobs" href="${sequence_query}?sequence=${res.value}&searchtype=whole">
+                                               <script>
+                                                       document.write(shorten('${res.value}', 108));
+                                               </script>
+                                               </a>
+                                               </td>
                                        </c:otherwise>
                                        </c:choose>
                                        
@@ -62,7 +70,7 @@
        </div>
        </div>
 
-       <jsp:include page="fragments/footer.jsp" />
+       <jsp:include page="../fragments/footer.jsp" />
        </div>
 </body>
-</html>
\ No newline at end of file
+</html>