result_item.jsp 3.65 KB
Newer Older
1
2
3
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>

4
<div style="clear: both;">
5
6
7
	<div class="search-results-image" id="search-results-image-~{index}">
		<div class="no-preview-overlay">
		    <s:message code="~eu.dariah.de.minfba.search.view.result.resources.no_preview" />
8
		</div>
9
		<div id="search-results-image-carousel-~{index}" class="carousel slide hide" data-interval="false">
10
11
12
13
14
15
16
17
18
19
20
21
22
			<div class="carousel-inner" role="listbox"></div>

			<!-- Controls -->
			<a class="left carousel-control" href="#search-results-image-carousel-~{index}" role="button" data-slide="prev"> 
				<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
				<span class="sr-only">Previous</span>
			</a> 
			<a class="right carousel-control" href="#search-results-image-carousel-~{index}" role="button" data-slide="next"> 
				<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
				<span class="sr-only">Next</span>
			</a>
		</div>

23
	</div>
24

25
	<div style="margin-left: 170px;">
26
27
28
		<div class="panel panel-search-result search-results-resource-item">
			<div class="panel-heading">
				<div class="search-results-resources-collection">~{datasource}<span class="score pull-right">~{score}</span></div>
29
30
				<!-- <h3 class="panel-title"><a href='<s:url value="/item/~{type}/~{resultId}/" />'>~{title} <i class="fa fa-link" aria-hidden="true"></i></a></h3> -->
				<h3 class="panel-title">~{title}</h3>
31
			</div>
32
33
34
			<div class="panel-body">
				<div>
					~{link}
35
36
					<div class="search-result-objects" id="search-result-objects-~{index}">
					</div>
37
38
39
40
					<div class="panel-group search-result-subpanel" id="search-results-content-~{index}-accordion">
						<div class="panel panel-default">
							<div class="panel-heading">
								<a class="collapsed" data-toggle="collapse" data-parent="search-results-content-~{index}-accordion" href="#search-results-content-~{index}-body">
41
									<s:message code="~eu.dariah.de.minfba.search.view.result.resources.content" />
42
43
44
45
46
								</a>
							</div>
							<div style="height: 0px;" id="search-results-content-~{index}-body" class="panel-collapse collapse">
								<div class="panel-body">~{snippet}</div>
							</div>
47
48
						</div>
					</div>
49
50
51
52
53
54
55
56
57
58
59
60
61
62
					
					<div class="panel-group search-result-subpanel original-data-panel" id="search-results-original-~{index}-accordion">
						<div class="panel panel-default">
							<div class="panel-heading">
								<a class="collapsed" data-toggle="collapse" data-parent="search-results-original-~{index}-accordion" href="#search-results-original-~{index}-body">
									<s:message code="~eu.dariah.de.minfba.search.view.result.original.content" />
								</a>
							</div>
							<div style="height: 0px;" id="search-results-original-~{index}-body" class="panel-collapse collapse">
								<div class="panel-body">~{original}</div>
							</div>
						</div>
					</div>
					
63
64
65
66
67
68
					<c:if test="${explain}">
						<div class="panel-group search-result-subpanel"
							id="search-results-resources-~{index}-accordion">
							<div class="panel panel-default">
								<div class="panel-heading">
									<a class="collapsed" data-toggle="collapse" data-parent="search-results-resources-~{index}-accordion" href="#search-results-resources-~{index}-body">
69
										<s:message code="~eu.dariah.de.minfba.search.view.result.resources.explanation" />
70
71
72
73
74
75
76
77
									</a>
								</div>
								<div style="height: 0px;" id="search-results-resources-~{index}-body" class="panel-collapse collapse">
									<div class="panel-body">~{explanation}</div>
								</div>
							</div>
						</div>
					</c:if>
78
				</div>
79
			</div>
80
81
82
		</div>
	</div>
</div>