result_item.jsp 3.39 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>
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
29
		<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>
				<h3 class="panel-title">~{title}</h3>
30
			</div>
31
32
33
34
35
36
37
			<div class="panel-body">
				<div>
					~{link}
					<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">
38
									<s:message code="~eu.dariah.de.minfba.search.view.result.resources.content" />
39
40
41
42
43
								</a>
							</div>
							<div style="height: 0px;" id="search-results-content-~{index}-body" class="panel-collapse collapse">
								<div class="panel-body">~{snippet}</div>
							</div>
44
45
						</div>
					</div>
46
47
48
49
50
51
52
53
54
55
56
57
58
59
					
					<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>
					
60
61
62
63
64
65
					<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">
66
										<s:message code="~eu.dariah.de.minfba.search.view.result.resources.explanation" />
67
68
69
70
71
72
73
74
									</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>
75
				</div>
76
			</div>
77
78
79
		</div>
	</div>
</div>