Project

General

Profile

1
<%@ page contentType="text/html; charset=UTF-8" %>
2
<%@ taglib prefix="s" uri="/struts-tags" %>
3
 
4
 <s:set name="browsefield" value="#application['webInterfaceLayoutManager'].labelMap[browseField]" />
5
 
6
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8
   
9
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
10
 <head>
11
 	<title> <s:text name="Browse_by_title" /> <s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" /> </title>
12
 	
13
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14
 	
15
 	<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" />
16
 	<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" />
17
 	<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" />
18
    <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" />
19

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

    
22
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
23
    <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>
24
    <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>
25
    <script type="text/javascript" src='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/alphabet.js'></script>
26

    
27
 </head>
28
 
29
 
30
 <body>  
31
 	<div id="center">
32
		<div id="wrapper">
33
			<div class="wrapper_shadowleft">
34
				<div class="wrapper_shadowright">
35
					<div id="container">
36
						<jsp:include page="/pages/banner.jsp"/>
37
						<jsp:include page="/pages/menu.jsp"/>
38
			
39
						<div id="leftcolumn" style="height:10px;">
40
							<b class="curved_top">
41
								<b class="curved_t1"></b>
42
								<b class="curved_t2"></b>
43
								<b class="curved_t3"></b>
44
								<b class="curved_t4"></b>
45
							</b>
46
							
47
							<div class="curved_container clearfix">
48
								<div class="featured_top leftcolumn_top"> <s:text name="Browse_by" /> </div>
49
								<div class="mydrivermenu">
50
									<s:iterator value="#application['webInterfaceLayoutManager'].browseFields" var="bf">
51
                     					<div class="mydrivermenuitem">
52
                       				      <s:if test="%{@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#bf, locale).equals(@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale))}">
53
                          			           <span class="selected">
54
                          		                   <s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)"/>
55
                           			          </span>
56
                           				  </s:if>
57
                         			      <s:else>
58
											<s:url action="browseData" id="menuLink">
59
												<s:param name="field"><s:property value="#bf.name"/></s:param>
60
											</s:url>
61
											<s:a href="%{#menuLink}">
62
												<s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#bf, locale)"/>
63
											</s:a>
64
                           					</s:else>
65
                     					</div>
66
    					         	</s:iterator>
67
								</div>
68
							</div>
69
														
70
							<b class="curved_bottom">
71
								<b class="curved_b4"></b>
72
								<b class="curved_b3"></b>
73
								<b class="curved_b2"></b>
74
								<b class="curved_b1"></b>
75
							</b>
76
						</div>
77
						
78
						<div id="maincolumn2">
79
							<b class="curved_top">
80
								<b class="curved_t1"></b>
81
								<b class="curved_t2"></b>
82
								<b class="curved_t3"></b>
83
								<b class="curved_t4"></b>
84
							</b>
85
							<div class="curved_container clearfix">
86
								<s:if test="%{#request['enhancedBrowseData']!=null && !#request['enhancedBrowseData'].getData().isEmpty()}">
87
									<table  id="listtbl" cellspacing="0" width="100%" class="display data-table">
88
									    <thead>
89
                                            <tr>
90
                                                <th>
91
                                                    <s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)"/>
92
                                                </th>
93
                                                <th>
94
                                                    <s:text name="Number_of_Documents" />
95
                                                </th>
96
                                            </tr>
97
                                        </thead>
98
                                        <tbody>
99
								     	<s:iterator value="#request['enhancedBrowseData'].getFieldValues(#browsefield.indexType)" id="bdata" status="status">
100
								        <tr>
101
								        	<td>
102
								        		<s:url action="showResults" id="searchLink">
103
								        			<s:param name="query">(<s:property value="#browsefield.name"/>="<s:property value="#request['enhancedBrowseData'].getFieldEncodings(#browsefield.indexType)[#status.index]" escape="false"/>")</s:param>
104
								        			<s:param name="size">10</s:param>
105
								        			<s:param name="page">1</s:param>
106
								        		</s:url>
107
								        		<s:a href="%{searchLink}" cssClass="searchlink"><s:property value="#bdata"/></s:a>
108
								        	</td>
109
								        	<td>
110
								        		<s:text name="format.number">
111
								        			<s:param name="value" value="#request['enhancedBrowseData'].getFieldCounts(#browsefield.indexType)[#status.index]" />
112
								        		</s:text>
113
								        	</td>
114
								        </tr>
115
								     	</s:iterator>
116
								     	</tbody>
117
									 </table>
118
									</s:if>
119
									
120
									<s:else>
121
										<p>
122
											<s:if test="%{#parameters['prefix']!=null}">
123
												<s:text name="no_browse_data_starting_from_prefix_available">
124
													<s:param value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" />
125
													<s:param value="#parameters['prefix'][0]"></s:param>
126
												</s:text>
127
											</s:if>
128
											<s:else>
129
												<s:text name="no_browse_data_available">
130
													<s:param value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" />
131
												</s:text>
132
											</s:else>
133
										</p>
134
									</s:else>
135
							</div> <!-- clear fix -->
136
							<b class="curved_bottom">
137
								<b class="curved_b4"></b>
138
								<b class="curved_b3"></b>
139
								<b class="curved_b2"></b>
140
								<b class="curved_b1"></b>
141
							</b>
142
						</div> 
143
						<div id="footer">
144
							<s:action name="FooterPage" executeResult="true"/>
145
						</div>
146
					</div>
147
				</div>
148
			</div>
149
		</div>
150
	</div>
151
</body>
152
</html>
(2-2/27)