1 |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
2 |
pageEncoding="ISO-8859-1"%>
|
3 |
<%@ page import="dk.thoerup.android.traininfo.common.DepartureBean" %>
|
4 |
|
5 |
|
6 |
<!-- TODO: Fix to old-school jsp instead of JSTL+EL -->
|
7 |
|
8 |
|
9 |
|
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=ISO-8859-1">
|
15 |
<title>Train info : ${stationname}</title>
|
16 |
</head>
|
17 |
<body>
|
18 |
|
19 |
<h2>Station: ${stationname} </h2>
|
20 |
<a href="DepartureServlet?station=${stationID}&format=html&advanced=${!advanced}">Switch view</a><br>
|
21 |
<table border="1">
|
22 |
<tr>
|
23 |
<th>Time</th>
|
24 |
<th>Updated</th>
|
25 |
|
26 |
<th>Trainnumber</th>
|
27 |
|
28 |
<th>Destination</th>
|
29 |
|
30 |
<th>Origin</th>
|
31 |
<th>Location</th>
|
32 |
|
33 |
<th>Status</th>
|
34 |
<th>Note</th>
|
35 |
</tr>
|
36 |
|
37 |
|
38 |
<tr>
|
39 |
<td>${dep.time}</td>
|
40 |
<td>${dep.updated}</td>
|
41 |
|
42 |
|
43 |
<td>${dep.trainNumber}</td>
|
44 |
|
45 |
|
46 |
<td>${dep.destination}</td>
|
47 |
|
48 |
|
49 |
<td>${dep.origin}</td>
|
50 |
<td>${dep.location}</td>
|
51 |
|
52 |
|
53 |
<td>${ dep.status }</td>
|
54 |
<td>${ dep.note }</td>
|
55 |
|
56 |
</tr>
|
57 |
|
58 |
|
59 |
|
60 |
</table>
|
61 |
|
62 |
|
63 |
</body>
|
64 |
</html> |