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

    
11
	<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" />
12
	<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/alphabet.css' rel="stylesheet" type="text/css" />
13
	<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/DataTables-1.10.0/extensions/TableTools/css/dataTables.tableTools.css' rel="stylesheet" type="text/css" />	
14
	<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/DataTables-1.10.0/media/css/jquery.dataTables.min.css' rel="stylesheet" type="text/css" />
15
	
16

    
17
	<link rel="shortcut icon" href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico'/>
18

    
19
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
20
	<script type="text/javascript" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/DataTables-1.10.0/media/js/jquery.dataTables.min.js'></script>
21
	<script type="text/javascript" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/DataTables-1.10.0/extensions/TableTools/js/dataTables.tableTools.min.js'></script>
22
		<script type="text/javascript" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/alphabet.js'></script>
23

    
24

    
25
</head>
26
<body>
27
	<div id="center">
28
		<div id="wrapper">
29
			<div class="wrapper_shadowleft">
30
				<div class="wrapper_shadowright">
31
					<div id="container">
32
						<jsp:include page="/pages/banner.jsp"/>
33
						<jsp:include page="/pages/menu.jsp"/>
34

    
35
						<div id="leftcolumn" style="height:10px;">
36
							<b class="curved_top">
37
								<b class="curved_t1"></b>
38
								<b class="curved_t2"></b>
39
								<b class="curved_t3"></b>
40
								<b class="curved_t4"></b>
41
							</b>
42

    
43
							<div class="curved_container clearfix">
44
								<div class="featured_top leftcolumn_top">
45
									<s:text name="List_of_DRIVER_Repositories"/>
46
								</div>
47
								<div class="search">
48
									<div class="searchwithin">
49
									<div class="mapField">
50
                                        <s:text name="View" />
51
                                        <a href='<s:property value="mapUrl" default="http://admin.driver.research-infrastructures.eu/IS/RepositoryMapThin"/>'  target="_blank" class="externallink">
52
                                       		<s:text name="DRIVER_Repository_Map"/>
53
                                        </a>
54
                                        </div>
55
                                    </div>
56
								</div>
57
							</div>
58

    
59
							<b class="curved_bottom">
60
								<b class="curved_b4"></b>
61
								<b class="curved_b3"></b>
62
								<b class="curved_b2"></b>
63
								<b class="curved_b1"></b>
64
							</b>
65
						</div>
66

    
67
						<div id="maincolumn2">
68
								<b class="curved_top">
69
								<b class="curved_t1"></b>
70
								<b class="curved_t2"></b>
71
								<b class="curved_t3"></b>
72
								<b class="curved_t4"></b>
73
								</b>
74
								<div class="curved_container clearfix">
75
									<s:if test="%{!#request.repositories.isEmpty()}">
76
										<table id="listtbl" cellspacing="0" width="100%" class="display data-table">
77
										<thead>
78
											<tr>
79
												<th>
80
													<s:text name="Repository_Name"/>
81
												</th>
82
												<th>
83
													<s:text name="Country"/>
84
												</th>
85
												<th>
86
													<s:text name="Documents" />
87
												</th>
88
											</tr>
89
										</thead>
90
										<tbody>
91
										<s:iterator value="#request.repositories" id="repository">
92
											<tr>
93
												<td>
94
													<s:url action="showRepository" id="showRep">
95
														<s:param name="name"><s:property value="#repository.id" escape="false"/></s:param>
96
													</s:url>
97
													<s:a  href="%{#showRep}">
98
														<s:property value="#repository.englishName" />
99
													</s:a>
100
												</td>
101
												<td>
102
													<s:property value="#request.countriesVocabulary.getEnglishName(#repository.countryCode)" />
103
												</td>
104
												<td >
105
													 <s:if test="%{!#repository.interfaces[0].extraFields['last_aggregation_total'].equals('0')}">
106
                                                        <s:property value="#repository.interfaces[0].extraFields['last_aggregation_total']"/>
107
                                                     </s:if>
108
                                                     <s:else>
109
                                                        0
110
                                                     </s:else>
111
												</td>
112
											</tr>
113
										</s:iterator>
114
										<tbody>
115
									 </table>
116
								</s:if>
117
								<s:else>
118
									<table>
119
											<tr>
120
												<td colspan="6">
121
													<s:if test="#parameters['prefix']!=null && !#parameters['prefix'][0].equals(\"ALL\")">
122
														<s:text name="No_registered_repositories_starting_with">
123
															<s:param value="#parameters['prefix'][0]"></s:param>
124
														</s:text>
125
													</s:if>
126
													<s:else>
127
														<s:text name="No_registered_repositories" />
128
													</s:else>
129
												</td>
130
											</tr>
131
										</table>
132
									</s:else>
133
								</div> <!-- clear fix -->
134
							<b class="curved_bottom">
135
								<b class="curved_b4"></b>
136
								<b class="curved_b3"></b>
137
								<b class="curved_b2"></b>
138
								<b class="curved_b1"></b>
139
							</b>
140
						</div> 
141
						<div id="footer">
142
							<s:action name="FooterPage" executeResult="true"/> 
143
						</div>
144
					</div>
145
				</div>
146
			</div>
147
		</div>
148
	</div>
149
</body>
150
</html>
(7-7/8)