Project

General

Profile

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
<head>
8
	<title><s:text name="repositories_jsp_title"/></title>
9
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10
	<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
		
12
	<link rel="shortcut icon" href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico'/>
13

    
14
	<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
	
18
</head>
19
<body>
20
	<div id="center">
21
		<div id="wrapper">
22
			<div class="wrapper_shadowleft">
23
				<div class="wrapper_shadowright">
24
					<div id="container">
25
						<jsp:include page="/pages/banner.jsp"/>
26
						<jsp:include page="/pages/menu.jsp"/>
27
			
28
						<div id="leftcolumn">
29
							<b class="curved_top">
30
								<b class="curved_t1"></b>
31
								<b class="curved_t2"></b>
32
								<b class="curved_t3"></b>
33
								<b class="curved_t4"></b>
34
							</b>
35
							
36
							<div class="curved_container clearfix">
37
								<div class="featured_top leftcolumn_top">
38
									<s:text name="List_of_DRIVER_Repositories"/>
39
								</div>
40
								<div class="search">
41
									<div class="searchwithin">
42
									<div class="mapField">
43
                                        <s:text name="View" />  
44
                                        <a href='<s:property value="mapUrl" default="http://admin.driver.research-infrastructures.eu/IS/RepositoryMapThin"/>'  target="_blank" class="externallink">
45
                                       		<s:text name="DRIVER_Repository_Map"/>
46
                                        </a>			
47
                                        </div>
48
                                    </div>
49
								</div>
50
							</div>
51

    
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
						</div>
59

    
60
						<div id="maincolumn2">
61
								<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
										<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
									</div>
100
									
101
									<s:if test="%{!#request.repositories.isEmpty()}">
102
										<table  id="listtbl" cellspacing="0" width="100%">										
103
										<tr>
104
                                        	
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
													<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
												</s:a>
113
											</th>
114
											<th >
115
												<s:a href="%{showRepositories}" title="Sort by repository name"> 
116
													<s:text name="Repository_Name"/>
117
												</s:a>
118
											</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
													<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
												</s:a>
127
											</th>
128
											<th>
129
												<s:a href="%{showRepositories}" title="Sort by country name">
130
													<s:text name="Country"/>
131
												</s:a>
132
											</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
													<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
												</s:a>
141
											</th>
142
											<th>												
143
												<s:a href="%{showRepositories}" title="Sort by document number">
144
													<s:text name="Documents" />
145
												</s:a>
146
											</th>
147
										</tr>
148
										<s:iterator value="#request.repositories" id="repository">
149
											<tr>
150
                                            	<td>&nbsp;</td>
151
												<td>
152
													<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
														<s:property value="#repository.englishName" /> 
157
													</s:a>
158
												</td>
159
                                                <td>&nbsp;</td>
160
												<td>
161
													<s:property value="#repository.country" />
162
												</td>
163
                                                <td>&nbsp;</td>
164
												<td >
165
													<s:text name="format.number">
166
														<s:param name="value" value="#repository.numberOfObjects" />
167
													</s:text>
168
												</td>
169
											</tr>
170
										</s:iterator>
171
									 </table>
172
								</s:if>
173
								<s:else>
174
									<table>
175
											<tr>
176
												<td colspan="6">
177
													<s:if test="#parameters['prefix']!=null && !#parameters['prefix'][0].equals(\"ALL\")">
178
														<s:text name="No_registered_repositories_starting_with">
179
															<s:param value="#parameters['prefix'][0]"></s:param>
180
														</s:text>
181
													</s:if>
182
													<s:else>
183
														<s:text name="No_registered_repositories" />
184
													</s:else>
185
												</td>
186
											</tr>
187
										</table>
188
									</s:else>
189
								</div> <!-- clear fix -->
190
							<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
						<div id="footer">
198
							<s:action name="FooterPage" executeResult="true"/> 
199
						</div>
200
					</div>
201
				</div>
202
			</div>
203
		</div>
204
	</div>
205
</body>
206
</html>
(7-7/8)