Fix problem with monospace font
[proteocache.git] / webapp / view / home.jsp
index df8c099..3c40ea7 100644 (file)
@@ -1,4 +1,3 @@
-<%@ 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 prefix="spring" uri="http://www.springframework.org/tags"%>
@@ -8,19 +7,34 @@
 <jsp:include page="fragments/header.jsp" />
 <body>
        <div class="container">
-       <jsp:include page="fragments/bodyHeader.jsp" />
-
-<!--
-       <form method="post" action="AllReports.jsp">
-               <h3>Choose query type</h3>
-               <input type="radio" name="query" value="protein" Checked>Search by protein sequence<br/>
-               <input type="radio" name="query" value="date">Search by date<br/>
-               <input type="radio" name="query" value="log">Log information for current job<br/>               
-               <input type="radio" name="query" value="length">Usage statistics by job time execution<br/>     
-               <input type="submit" name="Search" value="Search"/>
-       </form>
--->
-       <jsp:include page="fragments/footer.jsp"/>
+               <jsp:include page="fragments/mainmenu.jsp" />
+               <div class="row">
+                       <div class="col-md-6">
+                       <div class="panel panel-default">
+                       <div class="panel-heading">Execution statistics for the last days</div>
+                       <div class="panel-body">
+                               <p style="font-weight:bold;">${total} jobs have been calculated with Jped over the last ${ndays} days:</p>
+                               <ul>
+                                       <li>${totalOK} jobs have been done without problems  (status: OK)</li>
+                                       <li>${totalStopped} jobs have been stopped (status: Stopped)</li>
+                                       <li>${totalTimeout} jobs haven't had enough time to complete (status: Time Out)</li>
+                                       <li>${totalError} jobs have been failed (status: Internal Error)</li>
+                               </ul>
+                       </div>
+                       </div>
+               </div>
+               <div class="col-md-6">
+                       <div class="panel panel-default">
+                       <div class="panel-heading">Overview</div>
+                       <div class="panel-body">
+                               ProteoCache is as a repository and a caching system for Jpred and other tools of the Dundee Resource. 
+                               ProteoCache deals with both single proteins and complete proteomes.  The internal data are updated 
+                               on a regular basis as the tools are improved and proteomes are published and updated.
+                       </div>
+                       </div>
+               </div>
+               </div>
+               <jsp:include page="fragments/footer.jsp"/>
        </div>
 </body>
 </html>
\ No newline at end of file