Project

General

Profile

1 5009 elena.nico
<%@ taglib prefix="s" uri="/struts-tags"%>
2
<%@ page contentType="text/html; charset=UTF-8"%>
3
4 7783 natalia.ma
<!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 5009 elena.nico
8 7735 alexandros
    <head>
9 7812 natalia.ma
        <title>DRIVER MyAlerts</title>
10 5009 elena.nico
11 8398 katerina.i
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
12
13 13398 katerina.i
        <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 5009 elena.nico
16 13398 katerina.i
        <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 8193 antonis.le
    	<script type="text/javascript">
20 7735 alexandros
            function equalize(tag)
21
            {
22
                var columns = $$(tag);
23
                var max_height = 0;
24 7710 natalia.ma
25 7735 alexandros
                columns.each(function(item) {
26
                    max_height = Math.max(max_height, item.getSize().y);
27
                });
28 7710 natalia.ma
29 7735 alexandros
                columns.setStyle('height', max_height);
30
            }
31 5009 elena.nico
32 7735 alexandros
            window.addEvent('domready', function(){equalize('.equalize')});
33
            window.addEvent('domready', function(){equalize('.equalize2')});
34
        </script>
35
    </head>
36 5009 elena.nico
37 7735 alexandros
    <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 8025 natalia.ma
                                <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 7976 alexandros
                                <jsp:include page="/pages/optionMenu.jsp" />
54 8025 natalia.ma
                                </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 7710 natalia.ma
                            </div>
62 6662 elena.nico
63 7735 alexandros
                            <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 13398 katerina.i
                                            <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 12963 antonis.le
                                            Alerts and Recommendations
71 7735 alexandros
                                        </div>
72
                                        <div class="mydriveritem col1">
73 8025 natalia.ma
	                                        <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 7735 alexandros
                                                <ul>
79
                                                    <s:iterator value="announcements" var="announce">
80
                                                        <li>
81 7831 alexandros
                                                            <strong><s:date name="#announce.generationDate" format="dd MMM yyyy" />:
82
                                                            <s:property escape="false" value="#announce.title"/> -</strong>
83
                                                            </strong>
84 7793 alexandros
                                                            <s:property  escape="false" value="#announce.content"/>
85 7735 alexandros
                                                        </li>
86
                                                    </s:iterator>
87
                                                </ul>
88 7812 natalia.ma
                                                </div>
89 7735 alexandros
                                            </s:if>
90
                                            <s:else>
91 8025 natalia.ma
                                                 <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 7812 natalia.ma
                                                <div class="announcements">
102 7735 alexandros
                                                <ul>
103
                                                    <s:iterator value="recommendations" var="rec">
104
                                                        <li>
105 7831 alexandros
                                                            <strong><s:date name="#announce.generationDate" format="dd MMM yyyy" />:</strong>
106 7793 alexandros
                                                            <s:property  escape="false" value="#rec.content"/>
107 7735 alexandros
                                                        </li>
108
                                                    </s:iterator>
109
                                                </ul>
110 7812 natalia.ma
                                                </div>
111 8025 natalia.ma
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 7735 alexandros
                                            </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 7710 natalia.ma
                                </div>
124 7735 alexandros
                            </div>
125 12995 katerina.i
                            <div id="footer">
126
                             <s:action name="FooterPage" executeResult="true"/>
127
                            </div>
128 7735 alexandros
                        </div>
129 7710 natalia.ma
                    </div>
130 7735 alexandros
                </div>
131
            </div>
132
        </div>
133
    </body>
134 5009 elena.nico
</html>