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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 963 by torben, Wed Jul 7 10:01:38 2010 UTC revision 1400 by torben, Thu Apr 28 18:50:24 2011 UTC
# Line 1  Line 1 
1  <%@ page language="java" contentType="text/html; charset=UTF-8"  <%@ page language="java" contentType="text/html; charset=UTF-8"
2      pageEncoding="UTF-8"%>      pageEncoding="UTF-8"%>
3  <%@ page import="java.util.List" %>  
4  <%@ page import="dk.thoerup.traininfoservice.SavedStatBean" %>  <%@ page import="dk.thoerup.traininfoservice.SavedStatBean" %>
5  <%@ taglib uri="http://java.sun.com/jstl/core"    prefix="c" %>  <%@ taglib uri="http://java.sun.com/jstl/core"    prefix="c" %>
6  <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>  <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>
7            
8  <c-rt:set var="statbeans" value="${requestScope.stats}"/>      <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">  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
12  <html>  <html>
# Line 19  Line 20 
20  <table border="1">  <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>    <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>    <tr>
23          <td>${avg.statisticsdate}</td>          <td>${avg.label}</td>
24          <td>${avg.station }</td>          <td>${avg.station }</td>
25          <td>${avg.location }</td>          <td>${avg.location }</td>
26          <td>${avg.name }</td>          <td>${avg.name }</td>
# Line 41  Line 42 
42    
43  <c-rt:forEach var="stat" items="${statbeans}">  <c-rt:forEach var="stat" items="${statbeans}">
44    <tr>    <tr>
45          <td>${stat.statisticsdate}</td>          <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>          <td>${stat.station }</td>
70          <td>${stat.location }</td>          <td>${stat.location }</td>
71          <td>${stat.name }</td>          <td>${stat.name }</td>
# Line 58  Line 82 
82    
83  </table>  </table>
84    
85    
86  </body>  </body>
87  </html>  </html>

Legend:
Removed from v.963  
changed lines
  Added in v.1400

  ViewVC Help
Powered by ViewVC 1.1.20