Results.html 7.97 KB
Newer Older
1
2
3
4
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
5
6
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Template for the search results view for EXT:solr</title>
7
8
9
10
</head>
<body>

<!-- ###SOLR_SEARCH### begin -->
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div class="ter-ext-list-search">
	<!-- ###SOLR_SEARCH_SORTING### begin -->
	<span class="ter-ext-list-search-sorting cl">
			<label for="ter-ext-list-search-sorting">###LLL:sorting_sortBy###: </label>
			<select class="jsSubmit" id="ter-ext-list-search-sorting" name="###TX_SOLR.PREFIX###[sort]">
				<!-- ###LOOP:SORT### begin -->
				<!-- ###LOOP_CONTENT### -->
				<option value="###SORT.url###" ###SORT.selected###>
					###SORT.label###
				</option>
				<!-- ###LOOP_CONTENT### -->
				<!-- ###LOOP:SORT### end -->
			</select>
		</span>
	<!-- ###SOLR_SEARCH_SORTING### end -->

	<!-- ###SOLR_SEARCH_FORM### begin -->

29
<!--	<form id="tx-solr-search-form-pi-results" action="###FORM.ACTION###" method="get" accept-charset="###FORM.ACCEPT-CHARSET###" data-suggest-url="###FORM.SUGGEST_URL_RAW###">
30
31
32
33
		<input type="hidden" name="id" value="###FORM.ACTION_ID###" />
		<input type="hidden" name="###FORM.ACTION_LANGUAGE_PARAMETER###" value="###FORM.ACTION_LANGUAGE###" />

		<input type="text" id="ter-ext-list-search-needle" class="tx-solr-q form-input" name="###TX_SOLR.QUERY_PARAMETER###" value="###FORM.Q###" />
34
		<input type="submit" class="bu" value="###LLL:submit###" />-->
35
36
		<!-- ###SOLR_SEARCH_FORM### end -->

Jens Jacobsen's avatar
Jens Jacobsen committed
37

38
		<!-- ###SOLR_SEARCH_FACETING### begin -->
Jens Jacobsen's avatar
Jens Jacobsen committed
39
40
41
		<!-- ###SOLR_SEARCH_FACETING### end -->

		<!-- ###SOLR_SEARCH_FACETING_DISABLED### begin -->
42
43
44
45
46
47
48
49
50
51
52
53
54

		###IF:###FACETING.search_has_results###|==|1|x###

		<div id="ter-filter-toggle" class="ter-toggle

				###IF:###FACETING.active###|==|1###
				ter-toggle-showLess
				###IF:###FACETING.active###|==|1###

			">
			<div id="ter-filter-toggler"><span class="bu bu-mini"><span>Filter</span></span></div>
			<hr>
		</div>
55

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
		<div id="tx-solr-faceting" class="ter-filter"
			 ###IF:###FACETING.active###|==|0###
			 style="display: none;"
			 ###IF:###FACETING.active###|==|0###
		>
			<!-- ###AVAILABLE_FACETS### begin -->
			<div id="tx-solr-facets-available" class="secondaryContentSection">
				<!-- ###SINGLE_FACET### begin -->
				<div class="facet facet-###FACET.name### facet-type-###FACET.type###">
					<h5 class="facet-label csc-header">###FACET.label###</h5>
					<!-- ###SINGLE_FACET_OPTION### begin -->
					<!-- ###LOOP:FACET_LINKS### begin -->
					<!-- ###LOOP_CONTENT### -->
					<div class="facet-option">
						<input type="checkbox"
							   ###IF:###FACET_LINK.facetName###|==|outdated###
							   name="tx_solr[filter][###FACET_LINK.facetName###]"
							   ###IF:###FACET_LINK.facetName###|==|outdated###
							   ###IF:###FACET_LINK.facetName###|!=|outdated###
							   name="tx_solr[filter][]"
							   ###IF:###FACET_LINK.facetName###|!=|outdated###
							   class="facet-item" id="facet-###FACET_LINK.facetName###-option-###FACET_LINK.value###" value="###FACET_LINK.facetName###:###FACET_LINK.value###"
							   ###IF:###FACET_LINK.selected###|==|1###
							   checked="checked"
							   ###IF:###FACET_LINK.selected###|==|1###
						/>
						<label for="facet-###FACET_LINK.facetName###-option-###FACET_LINK.value###">###FACET_LINK.text###</label>
83
					</div>
84
85
86
87
88
89
90
91
92
93
94
					<!-- ###LOOP_CONTENT### -->
					<!-- ###LOOP:FACET_LINKS### end -->
					<!-- ###SINGLE_FACET_OPTION### end -->
				</div>
				<!-- ###SINGLE_FACET### end -->
				<div class="facet facet-typo3-version">
					<h5 class="facet-label csc-header">TYPO3 Version</h5>
					<input value="###TS:lib.solr.selected_typo3_filter.min###" name="tx_solr[filter][extensionMinTYPO3Version]" id="ter-ext-list-typo3-min-version" type="hidden" />
					<input value="###TS:lib.solr.selected_typo3_filter.max###" name="tx_solr[filter][extensionMaxTYPO3Version]" id="ter-ext-list-typo3-max-version" type="hidden" />
					<div class="facet-type-slider">
						<div id="ter-ext-list-version-slider" class="noUi-extended"></div>
95
96
97
					</div>
				</div>
			</div>
98
			<!-- ###AVAILABLE_FACETS### end -->
99
			<div style="clear: both;"></div>
100
		</div>
101

102
		###IF:###FACETING.search_has_results###|==|1|x###
Jens Jacobsen's avatar
Jens Jacobsen committed
103
		<!-- ###SOLR_SEARCH_FACETING_DISABLED### end -->
104
105
<!--	</form>
</div>-->
106

107
<!-- ###SOLR_SEARCH_RESULTS### begin -->
108
<div class="mb-3">
109
110
111
112
113
114
115
	###IF:###RESULTS.count###|==|1###
	###RESULTS.count### extension found
	###IF:###RESULTS.count###|==|1###
	###IF:###RESULTS.count###|>|1###
	###RESULTS.count### extensions found
	###IF:###RESULTS.count###|>|1###
</div>
116

117
118
119
120
121
122
<!-- RESULT LIST begin -->
<ol start="###RESULTS.OFFSET###" class="list-unstyled results-list">
	<!-- ###LOOP:RESULT_DOCUMENTS### begin -->
	<!-- ###LOOP_CONTENT### -->
	<li class="results-entry###IF:###RESULT_DOCUMENT.isElevated###|==|1|class### results-elevated###IF:###RESULT_DOCUMENT.isElevated###|==|1|class###">
		<div class="mb-3">
123
			<div class="card">
124
125
126
127
128
				<!--
				Score: ###RESULT_DOCUMENT.SCORE###
				Document ID:  ###RESULT_DOCUMENT.ID###
				-->
				<div class="card-header">
Thomas Löffler's avatar
Thomas Löffler committed
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
					<div class="row align-items-center">
						<div class="col-md-8">
							<h2 class="card-title">
								###IF:###RESULT_DOCUMENT.extensionIcon_stringS###|!=|###
								<img class="ter-ext-icon" alt="###RESULT_DOCUMENT.title###" src="###RESULT_DOCUMENT.extensionIcon_stringS###" height="16" width="16">
								###IF:###RESULT_DOCUMENT.extensionIcon_stringS###|!=|###
								<a href="###RESULT_DOCUMENT.url###">###RESULT_DOCUMENT.title###</a>
							</h2>
							<h4 class="card-subtitle mb-2 text-muted">
								###RESULT_DOCUMENT.extensionKey_stringS### /
								<span class="ter-ext-state ter-ext-state-###RESULT_DOCUMENT.extensionState_stringS###">###RESULT_DOCUMENT.extensionState_stringS###</span>
							</h4>
						</div>
						<div class="col-md-4 text-right">
							<a class="btn btn-lg btn-primary" href="###RESULT_DOCUMENT.extensionDownloadZipUrl_stringS###">
								<i class="fa fa-download"></i> Download ZIP Archive
							</a>
						</div>
					</div>
148
				</div>
149

150
				<div class="card-block">
151
152
153
154
155
156
157
158
159
160
					<div class="row">
						<div class="col-md-8 mb-3">
							<div class="alert alert-warning"><strong>Needs TYPO3 ###RESULT_DOCUMENT.extensionDependency_stringS###</strong></div>
							<p class="card-text">
								<strong>Description:</strong>
								<br>###RESULT_DOCUMENT.content###
							</p>
						</div>
						<div class="col-md-4">
							<div class="alert alert-info">
Thomas Löffler's avatar
Thomas Löffler committed
161
162
								<dl class="dl-horizontal">
									<dt>
163
164
										Version:
									</dt>
Thomas Löffler's avatar
Thomas Löffler committed
165
166
									<dd>###RESULT_DOCUMENT.extensionVersion_stringS###</dd>
									<dt>
167
168
										Author:
									</dt>
Thomas Löffler's avatar
Thomas Löffler committed
169
170
									<dd>###RESULT_DOCUMENT.author###</dd>
									<dt>
171
172
										Uploaded:
									</dt>
Thomas Löffler's avatar
Thomas Löffler committed
173
									<dd>###DATE:###RESULT_DOCUMENT.extensionLastUpload_intS######</dd>
Thomas Löffler's avatar
Thomas Löffler committed
174
									###IF:###RESULT_DOCUMENT.extensionDocumentationLink_stringS###|!=|###
Thomas Löffler's avatar
Thomas Löffler committed
175
									<dt>
176
177
										Manual:
									</dt>
Thomas Löffler's avatar
Thomas Löffler committed
178
179
									<dd>###LINK:Extension manual|###RESULT_DOCUMENT.extensionDocumentationLink_stringS######</dd>
									###IF:###RESULT_DOCUMENT.extensionDocumentationLink_stringS###|!=|###
180
181
182
183
								</dl>
							</div>
						</div>
					</div>
184
				</div>
185
186
			</div>
		</div>
187
188
189
190
191
	</li>
	<!-- ###LOOP_CONTENT### -->
	<!-- ###LOOP:RESULT_DOCUMENTS### end -->
</ol>
<!-- RESULT LIST end -->
192

193
###RESULTS.PAGEBROWSER###
194

195
<!-- ###SOLR_SEARCH_RESULTS### end -->
196
197


198
199
200
201
<!-- ###SOLR_SEARCH_NO_RESULTS### begin -->
<div class="tx-solr-search-no-results">
	<div class="typo3-message message-warning">
		<div class="message-header">###NO_RESULTS.nothing_found###</div>
Thomas Löffler's avatar
Thomas Löffler committed
202
		<div class="message-body">###NO_RESULTS.showing_results_suggestion###.</div>
203
	</div>
204
205

	###NO_RESULTS.SUGGESTION_RESULTS###
206
</div>
207
<!-- ###SOLR_SEARCH_NO_RESULTS### end -->
208
209
210
211
212
213
214
215
216
217
218
219
220
<!-- ###SOLR_SEARCH### end -->


<!-- ###SOLR_SEARCH_UNAVAILABLE### begin -->
###LLL:searchUnavailable###
<!-- ###SOLR_SEARCH_UNAVAILABLE### end -->

<!-- ###SOLR_SEARCH_ERROR### begin -->
###LLL:searchFailed###
<!-- ###SOLR_SEARCH_ERROR### end -->


</body>
221
</html>