Add simple statistics to the project home page
[proteocache.git] / webapp / view / home.jsp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
3 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
4 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
5
6 <html>
7 <jsp:include page="fragments/header.jsp" />
8 <body>
9         <div class="container">
10                 <jsp:include page="fragments/mainmenu.jsp" />
11                 <div class="row">
12                         <div class="col-md-6">
13                         <div class="panel panel-default">
14                         <div class="panel-heading">Execution statistics for the last days</div>
15                         <div class="panel-body">
16                                 <p style="font-weight:bold;">${total} jobs have been calculated with Jped over the last ${ndays} days:</p>
17                                 <ul>
18                                         <li>${totalOK} jobs have been done without problems  (status: OK)</li>
19                                         <li>${totalStopped} jobs have been stopped (status: Stopped)</li>
20                                         <li>${totalTimeout} jobs haven't had enough time to complete (status: Time Out)</li>
21                                         <li>${totalError} jobs have been failed (status: Internal Error)</li>
22                                 </ul>
23                         </div>
24                         </div>
25                 </div>
26                 <div class="col-md-6">
27                         <div class="panel panel-default">
28                         <div class="panel-heading">Overview</div>
29                         <div class="panel-body">
30                                 ProteoCache is as a repository and a caching system for Jpred and other tools of the Dundee Resource. 
31                                 ProteoCache deals with both single proteins and complete proteomes.  The internal data are updated 
32                                 on a regular basis as the tools are improved and proteomes are published and updated.
33                         </div>
34                         </div>
35                 </div>
36                 </div>
37                 <jsp:include page="fragments/footer.jsp"/>
38         </div>
39 </body>
40 </html>