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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1400 - (show annotations) (download)
Thu Apr 28 18:50:24 2011 UTC (13 years ago) by torben
File size: 2651 byte(s)
show 5 busiest days
1 <%@ page language="java" contentType="text/html; charset=UTF-8"
2 pageEncoding="UTF-8"%>
3
4 <%@ 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 <c-rt:set var="statbeans" value="${requestScope.stats}"/>
9 <c-rt:set var="top5beans" value="${requestScope.top5}"/>
10
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 <h2>Average</h2>
20 <table border="1">
21 <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 <tr>
23 <td>${avg.label}</td>
24 <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
37 <br/><br/>
38
39 <h2>Latest</h2>
40 <table border="1">
41 <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
43 <c-rt:forEach var="stat" items="${statbeans}">
44 <tr>
45 <td>${stat.label}</td>
46 <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 </table>
60
61 <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 </table>
84
85
86 </body>
87 </html>

  ViewVC Help
Powered by ViewVC 1.1.20