Project

General

Profile

1 4758 elena.nico
<%@ taglib prefix="s" uri="/struts-tags"%>
2
<%@ page contentType="text/html; charset=UTF-8"%>
3
4 7812 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 8193 antonis.le
<head>
8 9938 katerina.i
	<title><s:text name="repositories_jsp_title"/></title>
9 8398 katerina.i
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 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" />
11 12963 antonis.le
12 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'/>
13 4758 elena.nico
14 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>
15
	<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>
16
	<script type="text/javascript" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/smarthoverbox.js'></script>
17 12963 antonis.le
18 8193 antonis.le
</head>
19 7513 katerina.i
<body>
20 6164 katerina.i
	<div id="center">
21
		<div id="wrapper">
22 7399 katerina.i
			<div class="wrapper_shadowleft">
23
				<div class="wrapper_shadowright">
24 6164 katerina.i
					<div id="container">
25 7439 katerina.i
						<jsp:include page="/pages/banner.jsp"/>
26
						<jsp:include page="/pages/menu.jsp"/>
27 7513 katerina.i
28 7700 natalia.ma
						<div id="leftcolumn">
29 7513 katerina.i
							<b class="curved_top">
30
								<b class="curved_t1"></b>
31
								<b class="curved_t2"></b>
32
								<b class="curved_t3"></b>
33 8112 katerina.i
								<b class="curved_t4"></b>
34 7513 katerina.i
							</b>
35
36
							<div class="curved_container clearfix">
37 9938 katerina.i
								<div class="featured_top leftcolumn_top">
38
									<s:text name="List_of_DRIVER_Repositories"/>
39
								</div>
40 7513 katerina.i
								<div class="search">
41 7700 natalia.ma
									<div class="searchwithin">
42 7812 natalia.ma
									<div class="mapField">
43 9938 katerina.i
                                        <s:text name="View" />
44 7812 natalia.ma
                                        <a href='<s:property value="mapUrl" default="http://admin.driver.research-infrastructures.eu/IS/RepositoryMapThin"/>'  target="_blank" class="externallink">
45 9938 katerina.i
                                       		<s:text name="DRIVER_Repository_Map"/>
46 7812 natalia.ma
                                        </a>
47
                                        </div>
48 7700 natalia.ma
                                    </div>
49 6164 katerina.i
								</div>
50
							</div>
51 7513 katerina.i
52
							<b class="curved_bottom">
53
								<b class="curved_b4"></b>
54
								<b class="curved_b3"></b>
55
								<b class="curved_b2"></b>
56
								<b class="curved_b1"></b>
57
							</b>
58 6164 katerina.i
						</div>
59 4758 elena.nico
60 6164 katerina.i
						<div id="maincolumn2">
61 8112 katerina.i
								<b class="curved_top">
62
								<b class="curved_t1"></b>
63
								<b class="curved_t2"></b>
64
								<b class="curved_t3"></b>
65
								<b class="curved_t4"></b>
66
								</b>
67
								<div class="curved_container clearfix">
68
									<div class="featured_top maincolumn2_top">
69 9938 katerina.i
										<s:iterator value="getText('alphabet').split(\" \")" id="letter">
70
											<s:if test="%{#parameters['prefix'] == null || !#parameters['prefix'][0].equals(#letter) }">
71
												<s:url action="showRepositories" id="alphaUrl">
72
													<s:param name="order" value="#parameters['order'][0]" />
73
													<s:param name="prefix" value="#letter" />
74
												</s:url>
75
												<span class="alphaLetter">
76
													<s:a href="%{alphaUrl}">
77
														<s:property />
78
													</s:a>
79
												</span>
80
											</s:if>
81
											<s:else>
82
												<span class="alphaLetterSelected"> <s:property /> </span>
83
											</s:else>
84
										</s:iterator>
85
										<s:if test="%{#parameters['prefix'][0].equals(\"ALL\")}">
86
											<span class="alphaLetterSelected"> <s:text name="all" /> </span>
87
										</s:if>
88
										<s:else>
89
											<s:url action="showRepositories" id="alphaUrl">
90
												<s:param name="order" value="#parameters['order'][0]" />
91
												<s:param name="prefix">ALL</s:param>
92
											</s:url>
93
											<span class="alphaLetter">
94
												<s:a href="%{alphaUrl}">
95
													<s:text name="all"/>
96
												</s:a>
97
											</span>
98
										</s:else>
99 8112 katerina.i
									</div>
100
101
									<s:if test="%{!#request.repositories.isEmpty()}">
102 7513 katerina.i
										<table  id="listtbl" cellspacing="0" width="100%">
103 6164 katerina.i
										<tr>
104 7700 natalia.ma
105
                                            <s:url id="showRepositories" action="showRepositories">
106
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@PREFIX}" value="#parameters[@gr.uoa.di.driver.web.Repositories@PREFIX]" />
107
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@ORDER}">1</s:param>
108
                                            </s:url>
109
                                             <th width="22px">
110
												<s:a href="%{showRepositories}" title="Sort by repository name">
111 13398 katerina.i
													<img border="0" height="18px" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/sortalpha.png"/>
112 7700 natalia.ma
												</s:a>
113
											</th>
114
											<th >
115
												<s:a href="%{showRepositories}" title="Sort by repository name">
116 9938 katerina.i
													<s:text name="Repository_Name"/>
117 7513 katerina.i
												</s:a>
118 7700 natalia.ma
											</th>
119
                                            <s:url id="showRepositories" action="showRepositories">
120
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@PREFIX}" value="#parameters[@gr.uoa.di.driver.web.Repositories@PREFIX]" />
121
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@ORDER}">2</s:param>
122
                                            </s:url>
123
											<th width="22px">
124
												<s:a href="%{showRepositories}" title="Sort by country name">
125 13398 katerina.i
													<img border="0" height="18px" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/sortalpha.png"/>
126 7700 natalia.ma
												</s:a>
127
											</th>
128
											<th>
129
												<s:a href="%{showRepositories}" title="Sort by country name">
130 9938 katerina.i
													<s:text name="Country"/>
131 7513 katerina.i
												</s:a>
132 7700 natalia.ma
											</th>
133
                                            <s:url id="showRepositories" action="showRepositories">
134
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@PREFIX}" value="#parameters[@gr.uoa.di.driver.web.Repositories@PREFIX]" />
135
                                                <s:param name="%{@gr.uoa.di.driver.web.Repositories@ORDER}">3</s:param>
136
                                            </s:url>
137
                                            <th width="22px">
138
												<s:a href="%{showRepositories}" title="Sort by documnent number">
139 13398 katerina.i
													<img border="0" height="18px" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/sortdesc.png"/>
140 7700 natalia.ma
												</s:a>
141
											</th>
142
											<th>
143
												<s:a href="%{showRepositories}" title="Sort by document number">
144 9938 katerina.i
													<s:text name="Documents" />
145 7513 katerina.i
												</s:a>
146 7700 natalia.ma
											</th>
147 6164 katerina.i
										</tr>
148 7513 katerina.i
										<s:iterator value="#request.repositories" id="repository">
149
											<tr>
150 7700 natalia.ma
                                            	<td>&nbsp;</td>
151
												<td>
152 8108 katerina.i
													<s:url action="showRepository" id="showRep">
153
														<s:param name="name"><s:property value="#repository.officialName" escape="false"/></s:param>
154
													</s:url>
155
													<s:a  href="%{#showRep}">
156 7513 katerina.i
														<s:property value="#repository.englishName" />
157 8108 katerina.i
													</s:a>
158 7513 katerina.i
												</td>
159 7700 natalia.ma
                                                <td>&nbsp;</td>
160
												<td>
161 7513 katerina.i
													<s:property value="#repository.country" />
162
												</td>
163 7700 natalia.ma
                                                <td>&nbsp;</td>
164
												<td >
165 9042 katerina.i
													<s:text name="format.number">
166
														<s:param name="value" value="#repository.numberOfObjects" />
167
													</s:text>
168 7513 katerina.i
												</td>
169
											</tr>
170
										</s:iterator>
171
									 </table>
172 8112 katerina.i
								</s:if>
173
								<s:else>
174
									<table>
175 7513 katerina.i
											<tr>
176 7700 natalia.ma
												<td colspan="6">
177 7513 katerina.i
													<s:if test="#parameters['prefix']!=null && !#parameters['prefix'][0].equals(\"ALL\")">
178 9938 katerina.i
														<s:text name="No_registered_repositories_starting_with">
179
															<s:param value="#parameters['prefix'][0]"></s:param>
180
														</s:text>
181 7513 katerina.i
													</s:if>
182 9938 katerina.i
													<s:else>
183
														<s:text name="No_registered_repositories" />
184
													</s:else>
185 7513 katerina.i
												</td>
186
											</tr>
187
										</table>
188
									</s:else>
189 8112 katerina.i
								</div> <!-- clear fix -->
190 7513 katerina.i
							<b class="curved_bottom">
191
								<b class="curved_b4"></b>
192
								<b class="curved_b3"></b>
193
								<b class="curved_b2"></b>
194
								<b class="curved_b1"></b>
195
							</b>
196
						</div>
197 12995 katerina.i
						<div id="footer">
198
							<s:action name="FooterPage" executeResult="true"/>
199
						</div>
200 6164 katerina.i
					</div>
201
				</div>
202
			</div>
203
		</div>
204 8112 katerina.i
	</div>
205 4758 elena.nico
</body>
206
</html>