1
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
2
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
3
|
|
4
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
|
8
|
<head>
|
9
|
<title>DRIVER MyAlerts</title>
|
10
|
|
11
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
12
|
|
13
|
<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/<s:property value="#application['webInterfaceLayoutManager'].cssFileName" />' rel="stylesheet" type="text/css" />
|
14
|
<link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
|
15
|
|
16
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3-core.js"></script>
|
17
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/mootools-1.2.3.1-more.js"></script>
|
18
|
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js"></script>
|
19
|
<script type="text/javascript">
|
20
|
function equalize(tag)
|
21
|
{
|
22
|
var columns = $$(tag);
|
23
|
var max_height = 0;
|
24
|
|
25
|
columns.each(function(item) {
|
26
|
max_height = Math.max(max_height, item.getSize().y);
|
27
|
});
|
28
|
|
29
|
columns.setStyle('height', max_height);
|
30
|
}
|
31
|
|
32
|
window.addEvent('domready', function(){equalize('.equalize')});
|
33
|
window.addEvent('domready', function(){equalize('.equalize2')});
|
34
|
</script>
|
35
|
</head>
|
36
|
|
37
|
<body>
|
38
|
<div id="center">
|
39
|
<div id="wrapper">
|
40
|
<div class="wrapper_shadowleft">
|
41
|
<div class="wrapper_shadowright">
|
42
|
<div id="container">
|
43
|
<jsp:include page="/pages/banner.jsp" />
|
44
|
<jsp:include page="/pages/menu.jsp" />
|
45
|
<div id="leftcolumn">
|
46
|
<b class="curved_top">
|
47
|
<b class="curved_t1"></b>
|
48
|
<b class="curved_t2"></b>
|
49
|
<b class="curved_t3"></b>
|
50
|
<b class="curved_t4"></b>
|
51
|
</b>
|
52
|
<div class="curved_container clearfix">
|
53
|
<jsp:include page="/pages/optionMenu.jsp" />
|
54
|
</div>
|
55
|
<b class="curved_bottom">
|
56
|
<b class="curved_b4"></b>
|
57
|
<b class="curved_b3"></b>
|
58
|
<b class="curved_b2"></b>
|
59
|
<b class="curved_b1"></b>
|
60
|
</b>
|
61
|
</div>
|
62
|
|
63
|
<div id="maincolumn2">
|
64
|
<div id="myPage">
|
65
|
<b class="curved_top"> <b class="curved_t1"></b> <b class="curved_t2"></b> <b class="curved_t3"></b> <b class="curved_t4"></b> </b>
|
66
|
<!-- this is the plain search area -->
|
67
|
<div class="curved_container equalize2 clearfix" >
|
68
|
<div class="featured_top myPage_top">
|
69
|
<img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/alerts.png" alt="Alerts" class="absmiddle" height="16" width="16"/>
|
70
|
Alerts and Recommendations
|
71
|
</div>
|
72
|
<div class="mydriveritem col1">
|
73
|
<div class="myPageAnnouncements">
|
74
|
News/announcements that you maybe interested in
|
75
|
</div>
|
76
|
<s:if test="%{#announcements.size() > 0}">
|
77
|
<div class="announcements">
|
78
|
<ul>
|
79
|
<s:iterator value="announcements" var="announce">
|
80
|
<li>
|
81
|
<strong><s:date name="#announce.generationDate" format="dd MMM yyyy" />:
|
82
|
<s:property escape="false" value="#announce.title"/> -</strong>
|
83
|
</strong>
|
84
|
<s:property escape="false" value="#announce.content"/>
|
85
|
</li>
|
86
|
</s:iterator>
|
87
|
</ul>
|
88
|
</div>
|
89
|
</s:if>
|
90
|
<s:else>
|
91
|
<div class="myPageField">
|
92
|
<span class="myPageFieldComments">There are no announcements.</span>
|
93
|
</div>
|
94
|
</s:else>
|
95
|
|
96
|
<div class="myPageAlerts">
|
97
|
Check out your alerts or recommendations
|
98
|
</div>
|
99
|
|
100
|
<s:if test="%{#recommendations.size() > 0}">
|
101
|
<div class="announcements">
|
102
|
<ul>
|
103
|
<s:iterator value="recommendations" var="rec">
|
104
|
<li>
|
105
|
<strong><s:date name="#announce.generationDate" format="dd MMM yyyy" />:</strong>
|
106
|
<s:property escape="false" value="#rec.content"/>
|
107
|
</li>
|
108
|
</s:iterator>
|
109
|
</ul>
|
110
|
</div>
|
111
|
|
112
|
</s:if>
|
113
|
<s:else>
|
114
|
<div class="myPageField">
|
115
|
<span class="myPageFieldComments">
|
116
|
You have no new alerts or recommendations.
|
117
|
</span>
|
118
|
</div>
|
119
|
</s:else>
|
120
|
</div>
|
121
|
</div>
|
122
|
<b class="curved_bottom"> <b class="curved_b4"></b> <b class="curved_b3"></b> <b class="curved_b2"></b> <b class="curved_b1"></b> </b>
|
123
|
</div>
|
124
|
</div>
|
125
|
<div id="footer">
|
126
|
<s:action name="FooterPage" executeResult="true"/>
|
127
|
</div>
|
128
|
</div>
|
129
|
</div>
|
130
|
</div>
|
131
|
</div>
|
132
|
</div>
|
133
|
</body>
|
134
|
</html>
|