2018-12-20 19:52:07 +01:00
|
|
|
<% with $SearchResults %>
|
|
|
|
<div id="PageContainer" class="page action{$Action}">
|
|
|
|
<div class="page-content">
|
|
|
|
<h1 class="page-header container no-elements">$Title</h1>
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
<% if $Results %>
|
|
|
|
<div id="SearchAccordion{$ID}">
|
|
|
|
<% loop $Results %>
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header" id="Heading{$ID}{$Up.ID}">
|
2018-12-21 03:56:42 +01:00
|
|
|
<h3
|
|
|
|
class="mb-0 a"
|
|
|
|
data-toggle="collapse"
|
|
|
|
data-target="#Collapse{$ID}{$Up.ID}"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-controls="Collapse{$ID}{$Up.ID}"
|
|
|
|
>
|
|
|
|
$Title
|
|
|
|
<i class="fas fa-plus accordion-icon pull-right"></i>
|
|
|
|
</h3>
|
2018-12-20 19:52:07 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
id="Collapse{$ID}{$Up.ID}"
|
|
|
|
class="collapse"
|
|
|
|
aria-labelledby="Heading{$ID}{$Up.ID}"
|
|
|
|
data-parent="#SearchAccordion{$Up.ID}"
|
|
|
|
>
|
|
|
|
<div class="card-body">
|
2018-12-21 03:56:42 +01:00
|
|
|
<p>$Summary(100)</p>
|
2018-12-20 19:52:07 +01:00
|
|
|
<a href="{$Link}">Learn More</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<h2>Nothing was found.</h2>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-21 03:56:42 +01:00
|
|
|
<% end_with %>
|