move jsp for reports to a separate dir
[proteocache.git] / webapp / view / reportProteinSequencesCounter.jsp
diff --git a/webapp/view/reportProteinSequencesCounter.jsp b/webapp/view/reportProteinSequencesCounter.jsp
deleted file mode 100644 (file)
index e76f6f5..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-
-<html>
-<jsp:include page="fragments/header.jsp" />
-
-<body>
-       <div class="container">
-               <jsp:include page="fragments/mainmenu.jsp" />
-               <spring:url value="/sequence/sequence/results" var="sequence_query" />
-               <spring:url value="/sequence/counts/results?counterJob=${counter}" var="the_query" />
-               <c:set var="shortensequencelength" value="108"/>
-
-               <!-- reload and CSV buttons  -->
-               <ul class="nav navbar-nav navbar-right">
-                       <li>
-                       <a href="${the_query}" class="btn btn-default active">Reload</a>
-                       </li>
-                       <c:choose><c:when test="${njobs > 0}">
-                       <li>
-                       <a id="forCSVfile" download="data.csv" href="data:application/csv;charset=utf-8,${csvfile}" class="btn btn-default active">CSV</a>
-                       </li>
-                       </c:when></c:choose>
-               </ul>
-
-       <div class="panel panel-default">
-       <div class="panel-heading">
-               <p style="font-weight:bold;">Jobs Statistics</p>
-       </div>
-
-       <div class="panel-body">
-               <c:choose>
-               <c:when test="${njobs == 0}">
-                       <p>No proteins with at least ${counter} jobs found</p>
-               </c:when>
-               <c:otherwise>
-                       <p>${njobs} proteins with at least ${counter} jobs found</p>
-                       <div class="table-responsive">
-                       <table class="table table-striped table-hover table-bordered" id="counts">
-                       <thead>
-                               <tr>
-                                       <th style="text-align: centre">Number of jobs</th>
-                                       <th style="text-align: left">Protein</th>
-                               </tr>
-                       </thead>
-                       <tbody>
-                               <c:forEach items="${results}" var="res">
-                                       <tr>
-                                               <td>${res.totaljobs}</td>
-                                               <td style="text-overflow:ellipsis text-align: left; font-family: monospace" id="proteinline">
-                                                       <a title="Click to view all jobs" href="${sequence_query}?sequence=${res.name}&searchtype=whole">
-                                                       <script>
-                                                               document.write(shorten('${res.name}', '${shortensequencelength}'));
-                                                       </script>
-                                                       <!-- ${res.name}-->
-                                                       </a>
-                                               </td>
-                                       </tr>
-                               </c:forEach>
-                       </tbody>
-                       </table>
-                       </div>
-               </c:otherwise>
-               </c:choose>
-       </div>
-       </div>
-
-       <jsp:include page="fragments/footer.jsp" />
-       </div>
-</body>
-</html>
\ No newline at end of file