1
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
2
|
<%@ taglib prefix="s" uri="/struts-tags"%>
|
3
|
|
4
|
<div class="content">
|
5
|
<s:if test="%{#request.docs.size() > 0}">
|
6
|
<div class="myPageMenu" >
|
7
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections() || #application['webInterfaceLayoutManager'].layout.isViewCommunities() || #application['webInterfaceLayoutManager'].layout.isViewEPublications()">
|
8
|
<div class="right">
|
9
|
<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
|
<div style="display: none;" class="dropboxsave" id="dropboxsave_smarthbox">
|
11
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCollections()">
|
12
|
<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
|
</s:if>
|
14
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewCommunities()">
|
15
|
<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
|
</s:if>
|
17
|
<s:if test="#application['webInterfaceLayoutManager'].layout.isViewEPublications()">
|
18
|
<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
|
</s:if>
|
21
|
</div>
|
22
|
</div>
|
23
|
</s:if>
|
24
|
|
25
|
<a href="javascript:setCheckboxes(true);">select all</a> | <a href="javascript:setCheckboxes(false);">deselect all</a>
|
26
|
|
27
|
<a class="ovalbutton" href="javascript:removeDropoboxDocuments('documentList')"><span>Remove selected</span></a>
|
28
|
|
29
|
</div>
|
30
|
|
31
|
<div class="myPageMenu" >
|
32
|
<div class="right">
|
33
|
<div id="showAll" style="display:'block'">
|
34
|
<a href="#" class="buttonlink"><span>Expand view</span></a>
|
35
|
</div>
|
36
|
<div id="hideAll" style="display:'none'">
|
37
|
<a href="#" class="buttonlink"><span>Collapse view</span></a>
|
38
|
</div>
|
39
|
</div>
|
40
|
</div>
|
41
|
<s:form name="documentIdsForm" action="addToEPublication" theme="simple">
|
42
|
<s:hidden name="documents" value = "#request['docs']"/>
|
43
|
<s:hidden name="target"/>
|
44
|
<div id="documentList">
|
45
|
<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
|
<h2><s:checkbox cssClass="cb" theme="simple" name="documentIds['%{#itStatus.index}']" id="%{#document.id}"/></h2>
|
52
|
</div>
|
53
|
<s:include value="/pages/search/results/html/document.jsp"/>
|
54
|
<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
|
</div>
|
59
|
</div>
|
60
|
</div>
|
61
|
</s:iterator>
|
62
|
</div>
|
63
|
</div>
|
64
|
</s:form>
|
65
|
|
66
|
<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
|
</div>
|
74
|
</div>
|
75
|
|
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
|
</div>
|
84
|
</div>
|
85
|
|
86
|
</s:if>
|
87
|
<s:else>
|
88
|
<div class="myPageMenu">
|
89
|
<span class="collectionFieldComments">Your dropbox is empty...</span>
|
90
|
</div>
|
91
|
</s:else>
|
92
|
</div>
|