|
|
@@ -10,8 +10,8 @@
|
|
10
|
10
|
</head>
|
|
11
|
11
|
<body>
|
|
12
|
12
|
<div id="container">
|
|
13
|
|
- <h1>Search for Cargo</h1>
|
|
14
|
13
|
<div id="search">
|
|
|
14
|
+ <h1>Search for Cargo</h1>
|
|
15
|
15
|
<form:form method="post" commandName="trackCommand">
|
|
16
|
16
|
<table cellspacing="0" cellpadding="4">
|
|
17
|
17
|
<tr>
|
|
|
@@ -31,9 +31,11 @@
|
|
31
|
31
|
</table>
|
|
32
|
32
|
</form:form>
|
|
33
|
33
|
</div>
|
|
34
|
|
- <div id="result">
|
|
35
|
|
-<c:if test="${cargo ne null}">
|
|
36
|
|
-Your cargo is currently at: ${cargo.currentLocation}
|
|
|
34
|
+
|
|
|
35
|
+ <c:if test="${cargo ne null}">
|
|
|
36
|
+ <div id="result">
|
|
|
37
|
+ <h2>Your cargo is currently at: ${cargo.currentLocation}</h2>
|
|
|
38
|
+ <h3>Tracking History</h3>
|
|
37
|
39
|
<table cellspacing="4">
|
|
38
|
40
|
<thead>
|
|
39
|
41
|
<tr>
|
|
|
@@ -52,8 +54,8 @@ Your cargo is currently at: ${cargo.currentLocation}
|
|
52
|
54
|
</c:forEach>
|
|
53
|
55
|
</tbody>
|
|
54
|
56
|
</table>
|
|
55
|
|
-</c:if>
|
|
56
|
57
|
</div>
|
|
|
58
|
+ </c:if>
|
|
57
|
59
|
</div>
|
|
58
|
60
|
</body>
|
|
59
|
61
|
</html>
|