Project

General

Profile

1 4758 elena.nico
<%@ taglib prefix="s" uri="/struts-tags"%>
2
<%@ page contentType="text/html; charset=UTF-8"%>
3
4
5 7783 natalia.ma
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
6 8398 katerina.i
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 7783 natalia.ma
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8 8398 katerina.i
9 7735 alexandros
    <head>
10
        <title>DRIVER Dashboard</title>
11 8398 katerina.i
12
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
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 4972 elena.nico
15 8193 antonis.le
		<!--[if IE 6]>
16 13398 katerina.i
			<link href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/driver_search_ie6.css" rel="stylesheet" type="text/css" />
17 8193 antonis.le
		<![endif]-->
18 7700 natalia.ma
19 13398 katerina.i
        <link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
20
        <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>
21
        <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>
22
        <script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js"></script>
23
    	<link media="all" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/widget17.css" type="text/css" rel="stylesheet" />
24 7735 alexandros
25
    <script type="text/javascript">
26
        function equalize(tag)
27
        {
28
            var columns = $$(tag);
29
            var max_height = 0;
30 7700 natalia.ma
31 7735 alexandros
            columns.each(function(item) {
32
                max_height = Math.max(max_height, item.getSize().y);
33
            });
34 7700 natalia.ma
35 7735 alexandros
            columns.setStyle('height', max_height);
36
        }
37 6643 elena.nico
38 7735 alexandros
        window.addEvent('domready', function(){equalize('.equalize')});
39
        window.addEvent('domready', function(){equalize('.equalize2')});
40
    </script>
41
    <script type="text/javascript" language="javascript">
42
        function init() {
43
        }
44 4758 elena.nico
45 7735 alexandros
        // Selection summary
46
        var selectedDate = null;
47
        var selectedTypes = null;
48
        var selectedLanguages = null;
49
        var selectedRepositories = null;
50
        var selectedCommunities = null;
51
        var selectedCollections = null;
52 4758 elena.nico
53 7735 alexandros
        var showDetail;
54 4758 elena.nico
55 7735 alexandros
        function initSelectionArrays() {
56
            var dateDescription = '';
57
            var typeDescription = 'Article$$Bachelor thesis$$Book$$Conference lecture$$Conference report$$Contribution for newspaper or weekly magazine$$Doctoral thesis$$External research report$$Internal report$$Lecture$$Master thesis$$Newsletter$$Part of book or chapter of book$$Research paper$$Unknown';
58
            var languageDescription = '';
59
            var repositoryDescription = '';
60
            var communityDescription = '';
61
            var collectionDescription = '';
62 4758 elena.nico
63 7735 alexandros
            showDetail = true;
64
            if (dateDescription != '') {
65
                selectedDate = dateDescription;
66
            } else {
67
                selectedDate = null;
68
            }
69 4758 elena.nico
70 7735 alexandros
            if (typeDescription != '') {
71
                selectedTypes = typeDescription.split('$$');
72
            } else {
73
                selectedTypes = new Array(0);
74
            }
75 4758 elena.nico
76 7735 alexandros
            if (languageDescription != '') {
77
                selectedLanguages = languageDescription.split('$$');
78
            } else {
79
                selectedLanguages = new Array(0);
80
            }
81 4758 elena.nico
82 7735 alexandros
            if (repositoryDescription != '') {
83
                selectedRepositories = repositoryDescription.split('$$');
84
            } else {
85
                selectedRepositories = new Array(0);
86
            }
87 4758 elena.nico
88 7735 alexandros
            if (communityDescription != '') {
89
                selectedCommunities = communityDescription.split('$$');
90
            } else {
91
                selectedCommunities = new Array(0);
92
            }
93 4758 elena.nico
94 7735 alexandros
            if (collectionDescription != '') {
95
                selectedCollections = collectionDescription.split('$$');
96
            } else {
97
                selectedCollections = new Array(0);
98
            }
99
        }
100 4758 elena.nico
101 7735 alexandros
        function showDetailsDesc() {
102
            var selectHeadDiv = document.getElementById('selectedFields');
103 4758 elena.nico
104 7735 alexandros
            if (selectHeadDiv != null) {
105
                var innerHtmlHead = '';
106 4758 elena.nico
107 7735 alexandros
                if (showDetail == true) {
108
                    changeVisibility();
109
                }
110
            }
111
        }
112
    </script>
113 4758 elena.nico
114 7735 alexandros
    <style>
115
        /* IE specific css */
116
        .clearfix {zoom: 1; display:block;}
117
        * html .clearfix {height:1%;}
118 6018 antonis.le
119 7735 alexandros
    </style>
120 4972 elena.nico
</head>
121 4758 elena.nico
122 7700 natalia.ma
<body>
123 7735 alexandros
    <!--NMI
124
<object type="application/x-shockwave-flash" data="pages/button1.swf" id="atff" height="1px" width="1px"><param value="transparent" name="wmode"><param value="always" name="allowScriptAccess"></object>
125 7700 natalia.ma
    -->
126 7735 alexandros
    <div id="center">
127
        <div id="wrapper">
128
            <div class="wrapper_shadowleft">
129
                <div class="wrapper_shadowright">
130
                    <div id="container">
131
                        <jsp:include page="/pages/banner.jsp" />
132
                        <jsp:include page="/pages/menu.jsp" />
133
                        <div id="leftcolumn">
134 8025 natalia.ma
                            <b class="curved_top">
135
                                <b class="curved_t1"></b>
136
                                <b class="curved_t2"></b>
137
                                <b class="curved_t3"></b>
138
                                <b class="curved_t4"></b>
139
                            </b>
140
                            <div class="curved_container clearfix">
141 7976 alexandros
                            <jsp:include page="/pages/optionMenu.jsp" />
142 8025 natalia.ma
                            </div>
143
                            <b class="curved_bottom">
144
                                <b class="curved_b4"></b>
145
                                <b class="curved_b3"></b>
146
                                <b class="curved_b2"></b>
147
                                <b class="curved_b1"></b>
148
                            </b>
149 7735 alexandros
                        </div>
150 8025 natalia.ma
151 7735 alexandros
                        <div id="maincolumn2">
152
                            <div id="myPage">
153
                                <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>
154
                                <!-- this is the plain search area -->
155
                                <div class="curved_container equalize2 clearfix" >
156
                                    <div class="featured_top myPage_top">
157 13398 katerina.i
                                        <img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/summary.png" alt="Summary" align="absmiddle" height="16" width="16" />
158 7735 alexandros
                                        Welcome
159
                                    </div>
160 7976 alexandros
                                    <s:if test="showRecommendations == true">
161
                                        <div class="mydriveritem col1">
162
                                            <div class="announcements" >
163 8025 natalia.ma
                                                <div class="myPageAnnouncements">
164
                                                	News/announcements that you maybe interested in
165
                                                 </div>
166 7976 alexandros
                                                <ul>
167 8025 natalia.ma
                                                    <s:if test="%{#announcements.size() > 0}">
168
                                                        <s:iterator value="announcements" var="announce">
169
                                                            <li>
170
                                                                <strong>
171
                                                                    <s:date name="#announce.generationDate" format="dd MMM yyyy" />:
172
                                                                    <s:property escape="false" value="#announce.title"/> -</strong>
173
                                                                    <s:property escape="false" value="#announce.content"/>
174
                                                            </li>
175
                                                        </s:iterator>
176
                                                        <s:if test="announcementNumber > 3">
177
                                                            <a href="MyAlerts.action">Read more...</a>
178
                                                        </s:if>
179
                                                  	</s:if>
180
                                                    <s:else>
181
                                                        <div class="myPageField">
182
                                                            <span class="myPageFieldComments">
183
                                                            	There are no new announcements.
184
                                                            </span>
185
                                                        </div>
186
                                                    </s:else>
187 7976 alexandros
                                                </ul>
188 7735 alexandros
189 8025 natalia.ma
190
                                                <div class="myPageAlerts">
191
                                               	 Check out your alerts or recommendations
192
                                                </div>
193 7976 alexandros
                                                <ul>
194 8025 natalia.ma
                                                	<s:if test="%{#recommendations.size() > 0}">
195
                                                        <s:iterator value="recommendations" var="rec">
196
                                                            <li>
197
                                                                <strong><s:date name="#announce.generationDate" format="dd MMM yyyy" />:</strong>
198
                                                                <s:property escape="false" value="#rec.content"/>
199
                                                            </li>
200
                                                        </s:iterator>
201
                                                        <s:if test="recommendationNumber > 3">
202
                                                            <a href="MyAlerts.action">Read more...</a>
203
                                                        </s:if>
204
                                                     </s:if>
205
                                                    <s:else>
206
                                                        <div class="myPageField">
207
                                                            <span class="myPageFieldComments">
208
                                                            	You have no new alerts or recommendations.
209
                                                            </span>
210
                                                        </div>
211
                                                    </s:else>
212 7976 alexandros
                                                </ul>
213
                                            </div>
214 7735 alexandros
                                        </div>
215 7976 alexandros
                                    </s:if>
216 7735 alexandros
                                    <div class="mydriveritem col2">
217 7812 natalia.ma
                                        <div class="content equalize">
218 13398 katerina.i
                                            <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/profile.png" width="16"
219 7735 alexandros
                                                     height="16" alt="Profile" /><a href="Profile.action">Profile</a></h2>
220 13398 katerina.i
                                            <div class="avatar"><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/avatar.png"
221 7735 alexandros
                                                                     width="65" height="66" alt="avatar" />
222 7700 natalia.ma
                                            </div>
223 7735 alexandros
                                            <div class="myPageField">
224
                                                <span class="myPageFieldNm">email:</span>
225
                                                <s:property value="#session.user.email" />
226
                                            </div>
227
                                            <div class="myPageField">
228
                                                <span class="myPageFieldNm">Name:</span>
229
                                                <s:property value="#session.user.firstname" />
230
                                                <s:property value="#session.user.lastname" />
231
                                            </div>
232
                                            <div class="myPageField">
233
                                                <span class="myPageFieldNm">Institution:</span>
234
                                                <s:property value="#session.user.institution" />
235
                                            </div>
236
                                            <p>&nbsp;</p>
237
                                            <div class="myPageField">
238 8025 natalia.ma
                                                <a href="Profile.action" class="ovalbutton"><span>Edit profile information</span></a>
239 7735 alexandros
                                            </div>
240 7700 natalia.ma
                                        </div>
241
                                    </div>
242 7735 alexandros
                                    <!-- MB - user "clearright" for the box on the right column -->
243
                                    <div class="mydriveritem col2 ">
244 7812 natalia.ma
                                        <div   class="content equalize">
245 13398 katerina.i
                                            <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/dropbox.png" width="16" height="16" alt="Dropbox" /><a href="MyDropbox.action">Dropbox</a></h2>
246 7700 natalia.ma
                                            <div class="myPageField">
247 8025 natalia.ma
                                                <p class="myPageFieldComments">Use your dropbox
248
                                                <!--NMI (max X items)
249
                                                -->
250
                                                to temporarily save references to items or documents which may be of further use.</p>
251 7812 natalia.ma
                                                <p class="myPageFieldComments">To place items in your dropbox, click on "Add to dropbox" button on your query results.</p>
252 7700 natalia.ma
                                            </div>
253 7976 alexandros
254 7735 alexandros
                                            <s:if test="%{#session.user.getDocumentIds().size() > 0}">
255
                                                <div class="myPageField">
256 8025 natalia.ma
                                                    You have <s:property value="#session.user.getDocumentIds().size()"/> items in your dropbox.
257 7735 alexandros
                                                </div>
258 8025 natalia.ma
                                                <div class="myPageField">
259
                                                <a href="MyDropbox.action" class="ovalbutton"><span>Manage Dropbox</span></a>
260
                                                </div>
261 7700 natalia.ma
                                            </s:if>
262
                                            <s:else>
263 8025 natalia.ma
                                                <div class="myPageField">You have not added any items to your dropbox.</div>
264 7700 natalia.ma
                                            </s:else>
265
                                        </div>
266 7735 alexandros
                                    </div>
267 7976 alexandros
                                    <s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
268
                                        <div class="mydriveritem col2 ">
269
                                            <div  class="content equalize">
270 13398 katerina.i
                                                <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/collection.png" width="16"
271 7976 alexandros
                                                         height="16" alt="Collections" /><a href="BrowseCollections.action">Collections</a></h2>
272
                                                <div class="myPageField myPageFieldComments">
273 8025 natalia.ma
                                                    <p class="myPageFieldComments">Use collections to create reading lists or organize your document references.</p>
274 7976 alexandros
                                                    <p class="myPageFieldComments">To create a collection click on the "Save as.." in your query results.</p>
275 8025 natalia.ma
                                                    <p><a href="Help.action?type=collection" class="helpLink">Learn more...</a></p>
276 7976 alexandros
                                                </div>
277
278
                                                <div class="myPageField">
279
                                                    <s:if test="%{#request.numberOfCollections == 0}">
280
                                                        You have not created any collections.
281
                                                    </s:if>
282
                                                    <s:else>
283
                                                        You are the owner of <a href="BrowseCollections.action">
284
                                                            <s:property value="#request.numberOfCollections"/> collections</a>.
285
                                                        </s:else>
286
                                                </div>
287
288
                                                <!-- NMI
289
                                                <div class="myPageField">
290
                                                    <a href="ManageCollections.action">Manage your Collections</a>
291
                                                </div>
292
                                                -->
293
                                                <div class="myPageField">
294
                                                    <a href="CreateCollection.action" class="ovalbutton"><span>Create a collection folder</span></a>
295
                                                </div>
296 7735 alexandros
                                            </div>
297 7700 natalia.ma
                                        </div>
298 7976 alexandros
                                    </s:if>
299
                                    <s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()">
300
                                        <div class="mydriveritem col2 ">
301
                                            <div   class="content equalize">
302 13398 katerina.i
                                                <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/communities.png" width="16" height="16" alt="Communities" />
303 7976 alexandros
                                                    <a href="ViewMyCommunities.action">Communities</a>
304
                                                </h2>
305
                                                <div class="myPageField myPageFieldComments">
306 8025 natalia.ma
                                        	Create of subscribe to communities to collaborate with other users.
307
                                            <p>
308
                                            <a href="Help.action?type=community" class="helpLink">Learn more...</a>
309
                                            </p>
310 7976 alexandros
                                                </div>
311
312
                                                <div class="myPageField">
313 8025 natalia.ma
                                        			You are currently a member in <a href="ViewMyCommunities.action"><s:property value="subscribedCommunites" /> communities.</a>
314 7976 alexandros
                                                </div>
315
                                                <div class="myPageField">
316
                                                    <a href="CreateCommunity.action" class="ovalbutton"><span>Create a Community</span></a>
317
                                                </div>
318 7735 alexandros
                                            </div>
319 7700 natalia.ma
                                        </div>
320 7976 alexandros
                                    </s:if>
321 7735 alexandros
                                    <div class="mydriveritem col2">
322 7812 natalia.ma
                                        <div  class="content equalize">
323 13398 katerina.i
                                            <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/query.png" width="16" height="16"
324 7735 alexandros
                                                     alt="Queries" /><a href="MyQueries.action">Queries</a></h2>
325
                                            <div class="myPageField myPageFieldComments">
326 8025 natalia.ma
                                                <p class="myPageFieldComments">You can save some of your most frequently used queries.</p>
327 7976 alexandros
                                                <p class="myPageFieldComments">To save a query click on the "Save as.." in your query results. </p>
328 7735 alexandros
                                            </div>
329 7976 alexandros
330 7735 alexandros
                                            <div class="myPageField">
331
                                                <s:if test="%{#session.user.getSavedQueries().size() > 0}">
332 8025 natalia.ma
                                                    You have saved <s:property value="#session.user.getSavedQueries().size()"/> queries.
333
                                                    <br /><br />
334
                                                    <a href="MyQueries.action" class="ovalbutton"><span>Manage saved queries</span></a>
335
                                                </s:if>
336
                                                <s:else>
337
		                                            You have not saved any queries.
338 7735 alexandros
                                                </s:else>
339
                                            </div>
340 7700 natalia.ma
                                        </div>
341 7735 alexandros
                                    </div>
342
                                    <div class="mydriveritem col2 ">
343 7812 natalia.ma
                                        <div class="content equalize">
344 13398 katerina.i
                                            <h2><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/filter.png" width="16" height="16"
345 7735 alexandros
                                                     alt="Filter" /><a href="MyFilter.action">Filters</a></h2>
346 7812 natalia.ma
                                            <div class="myPageField">
347 8025 natalia.ma
                                                <p class="myPageFieldComments">You may specify additional criteria which will be used to filter your queries when you are logged in.</p>
348 7976 alexandros
                                                <p class="myPageFieldComments">To define a filter click on the "Save as.." in your query results. </p>
349 7735 alexandros
                                            </div>
350
351
                                            <div class="myPageField">
352
                                                <s:if test="%{#session.user.getFilter() != null}">
353 8025 natalia.ma
                                                    <a href="MyFilter.action" class="ovalbutton"><span>Manage qyery filter</span></a>
354 7735 alexandros
                                                </s:if>
355
                                                <s:else>
356 8025 natalia.ma
                                                    You have not defined any query filter.
357 7735 alexandros
                                                </s:else>
358
                                            </div>
359 7700 natalia.ma
                                        </div>
360 7735 alexandros
                                    </div>
361 8059 natalia.ma
                                    <!--NMI
362 8025 natalia.ma
                                    <div align="right">
363
                                        <div class="mydriveritem col2">
364
                                            <a href="Unsubscribe.action" class="ovalbutton"><span>Unsubscribe</span></a>
365
                                        </div>
366 7976 alexandros
                                    </div>
367 8059 natalia.ma
                                    -->
368 8025 natalia.ma
                                    <p>&nbsp;</p>
369 6643 elena.nico
                                </div>
370 7735 alexandros
                                <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>
371
                            </div>
372
                        </div>
373 12995 katerina.i
                        <div id="footer">
374
                        	 <s:action name="FooterPage" executeResult="true"/>
375
                        </div>
376 7700 natalia.ma
                    </div>
377 7735 alexandros
                </div>
378
            </div>
379
        </div>
380
    </div>
381 4758 elena.nico
</body>
382
</html>