/[projects]/android/TrainInfoService/WebContent/savedstatistics.jsp
ViewVC logotype

Annotation of /android/TrainInfoService/WebContent/savedstatistics.jsp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1400 - (hide annotations) (download)
Thu Apr 28 18:50:24 2011 UTC (13 years, 1 month ago) by torben
File size: 2651 byte(s)
show 5 busiest days
1 torben 961 <%@ page language="java" contentType="text/html; charset=UTF-8"
2     pageEncoding="UTF-8"%>
3 torben 964
4 torben 961 <%@ page import="dk.thoerup.traininfoservice.SavedStatBean" %>
5     <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
6     <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>
7    
8 torben 1400 <c-rt:set var="statbeans" value="${requestScope.stats}"/>
9     <c-rt:set var="top5beans" value="${requestScope.top5}"/>
10 torben 961
11     <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
12     <html>
13     <head>
14     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
15     <title>TrainInfoService :: Saved Statistics</title>
16     </head>
17     <body>
18    
19 torben 962 <h2>Average</h2>
20     <table border="1">
21 torben 963 <tr><th width=100>Count</th><th>Station</th><th>byLocation</th><th>byName</th><th>byFavorites</th><th>Departure</th><th>depCache</th><th>depError</th><th>Timetable</th><th>timeCache</th><th>timeError</th></tr>
22 torben 962 <tr>
23 torben 964 <td>${avg.label}</td>
24 torben 962 <td>${avg.station }</td>
25     <td>${avg.location }</td>
26     <td>${avg.name }</td>
27     <td>${avg.favorites }</td>
28     <td>${avg.departure }</td>
29     <td>${avg.depcache }</td>
30     <td>${avg.deperror }</td>
31     <td>${avg.timetable }</td>
32     <td>${avg.timecache }</td>
33     <td>${avg.timeerror }</td>
34     </tr>
35     </table>
36 torben 961
37 torben 962 <br/><br/>
38 torben 961
39 torben 962 <h2>Latest</h2>
40 torben 961 <table border="1">
41 torben 963 <tr><th width=100>Date</th><th>Station</th><th>byLocation</th><th>byName</th><th>byFavorites</th><th>Departure</th><th>depCache</th><th>depError</th><th>Timetable</th><th>timeCache</th><th>timeError</th></tr>
42 torben 961
43     <c-rt:forEach var="stat" items="${statbeans}">
44     <tr>
45 torben 964 <td>${stat.label}</td>
46 torben 961 <td>${stat.station }</td>
47     <td>${stat.location }</td>
48     <td>${stat.name }</td>
49     <td>${stat.favorites }</td>
50     <td>${stat.departure }</td>
51     <td>${stat.depcache }</td>
52     <td>${stat.deperror }</td>
53     <td>${stat.timetable }</td>
54     <td>${stat.timecache }</td>
55     <td>${stat.timeerror }</td>
56     </tr>
57     </c-rt:forEach>
58    
59 torben 1400 </table>
60 torben 961
61 torben 1400 <h2>Top 5 busiest</h2>
62     <b>by non-failed departure lookups</b>
63     <table border="1">
64     <tr><th width=100>Date</th><th>Station</th><th>byLocation</th><th>byName</th><th>byFavorites</th><th>Departure</th><th>depCache</th><th>depError</th><th>Timetable</th><th>timeCache</th><th>timeError</th></tr>
65    
66     <c-rt:forEach var="stat" items="${top5beans}">
67     <tr>
68     <td>${stat.label}</td>
69     <td>${stat.station }</td>
70     <td>${stat.location }</td>
71     <td>${stat.name }</td>
72     <td>${stat.favorites }</td>
73     <td>${stat.departure }</td>
74     <td>${stat.depcache }</td>
75     <td>${stat.deperror }</td>
76     <td>${stat.timetable }</td>
77     <td>${stat.timecache }</td>
78     <td>${stat.timeerror }</td>
79     </tr>
80     </c-rt:forEach>
81    
82    
83 torben 961 </table>
84    
85 torben 1400
86 torben 961 </body>
87     </html>

  ViewVC Help
Powered by ViewVC 1.1.20