Project

General

Profile

1 5130 elena.nico
<%@ page contentType="text/html; charset=UTF-8"%>
2
<%@ taglib prefix="s" uri="/struts-tags"%>
3
4 7710 natalia.ma
<div class="content">
5 10794 katerina.i
	<s:if test="%{#request.docs.size() > 0}">
6 7988 antonis.le
		<div class="myPageMenu" >
7 10794 katerina.i
			<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections() || #application['webInterfaceLayoutManager'].layout.isViewCommunities() || #application['webInterfaceLayoutManager'].layout.isViewEPublications()">
8
				<div class="right">
9 13398 katerina.i
	                <img style="cursor: pointer;" id="dropboxsave" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/with_selected_documents.png" alt="With Selected Documents" height="17" width="140" />
10 10794 katerina.i
	                <div style="display: none;" class="dropboxsave" id="dropboxsave_smarthbox">
11
						<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
12 13398 katerina.i
	                    	<div><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/collection.png" alt="Add to a collection" class="absmiddle" height="16" width="16"> <a href="#collection" id="collectionLink" rel="popup">... add to Collection</a></div>
13 10794 katerina.i
	                    </s:if>
14
						<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()">
15 13398 katerina.i
		                    <div><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/communities.png" alt="Add to a community" class="absmiddle" height="16" width="16"> <a href="#community" rel="popup">... add to Community</a></div><div class="myPageFieldComments">(reading list)</div>
16 10794 katerina.i
		                </s:if>
17
		                <s:if test="#application['webInterfaceLayoutManager'].layout.isViewEPublications()">
18 13398 katerina.i
		                    <div><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/document_hexagonal.png" alt="Create an EPublication" class="absmiddle" height="16" width="16"> <a href="javascript:submitForm('Enhanced publication');">... create EPublication</a></div>
19
		                    <div><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/document_hexagonal.png" alt="Create a Compound Object" class="absmiddle" height="16" width="16"> <a href="javascript:submitForm('Aggregation');">... create Compound Object</a></div>
20 10794 katerina.i
		               	</s:if>
21
	                </div>
22
	            </div>
23
			</s:if>
24 7988 antonis.le
25 8025 natalia.ma
            <a href="javascript:setCheckboxes(true);">select all</a> | <a href="javascript:setCheckboxes(false);">deselect all</a>
26
            &nbsp;&nbsp;&nbsp;
27
            <a  class="ovalbutton" href="javascript:removeDropoboxDocuments('documentList')"><span>Remove selected</span></a>
28 7807 antonis.le
29 8025 natalia.ma
        </div>
30 10794 katerina.i
31 8025 natalia.ma
        <div class="myPageMenu" >
32
        <div class="right">
33
        <div id="showAll" style="display:'block'">
34 8059 natalia.ma
            <a href="#" class="buttonlink"><span>Expand view</span></a>
35 8025 natalia.ma
        </div>
36
        <div id="hideAll" style="display:'none'">
37 8059 natalia.ma
            <a href="#" class="buttonlink"><span>Collapse view</span></a>
38 8025 natalia.ma
        </div>
39
        </div>
40
        </div>
41 10413 katerina.i
		<s:form name="documentIdsForm" action="addToEPublication" theme="simple">
42 8571 katerina.i
			<s:hidden name="documents" value = "#request['docs']"/>
43 8694 katerina.i
			<s:hidden name="target"/>
44 8571 katerina.i
			<div id="documentList">
45 8703 katerina.i
				<div class="searchresultsitem">
46
					<s:iterator value="#request.docs" id="document" status="itStatus">
47
						<div id="document<s:property value="#itStatus.index"/>">
48
							<div class="mydriveritem">
49
								<div class="content">
50
									<div class="right">
51 10386 katerina.i
										<h2><s:checkbox cssClass="cb" theme="simple" name="documentIds['%{#itStatus.index}']" id="%{#document.id}"/></h2>
52 8703 katerina.i
									</div>
53 10386 katerina.i
									<s:include value="/pages/search/results/html/document.jsp"/>
54 8703 katerina.i
									<div class="document_info">
55
										<div class="document_more">Show document details</div>
56
										<div class="document_fewer">Hide document details</div>
57
									</div>
58 8571 katerina.i
								</div>
59 7988 antonis.le
							</div>
60 7807 antonis.le
						</div>
61 8703 katerina.i
					</s:iterator>
62
				</div>
63 8571 katerina.i
			</div>
64
		</s:form>
65 5130 elena.nico
66 7988 antonis.le
		<div id="collection_container" class="optiontable_container">
67
			<div id="collection" class="optiontable_content">
68
				<div class="optiontable_content2">
69
					<s:iterator value="#request.userCollections" id="collection" status="itStatus">
70
						<a href="#" onclick="addToCollection('documentList', '<s:property value="#collection.resourceId"/>')"><s:property value="#collection.name" /></a><br/>
71
					</s:iterator>
72
				</div>
73 7807 antonis.le
			</div>
74 5130 elena.nico
		</div>
75 7988 antonis.le
76
		<div id="community_container" class="optiontable_container">
77
			<div id="community" class="optiontable_content">
78
				<div class="optiontable_content2">
79
				<s:iterator value="#request.userCommunities" id="community" status="itStatus">
80
					<a href="#" onclick="addToCommunity('documentList', '<s:property value="#community.resourceId"/>')"><s:property value="#community.name" /></a><br />
81
				</s:iterator>
82
				</div>
83 7807 antonis.le
			</div>
84 5130 elena.nico
		</div>
85 7988 antonis.le
86
	</s:if>
87
	<s:else>
88 8025 natalia.ma
    	<div class="myPageMenu">
89
			<span class="collectionFieldComments">Your dropbox is empty...</span>
90
        </div>
91 7988 antonis.le
	</s:else>
92 7807 antonis.le
</div>