2023-04-30 11:16:08 -04:00
|
|
|
{{>header this.style}}
|
2023-04-22 07:35:07 -04:00
|
|
|
<main class="results">
|
2023-08-09 21:32:47 -04:00
|
|
|
{{>search_bar this}}
|
2023-05-03 14:31:52 -04:00
|
|
|
<div class="results_aggregated">
|
2023-08-09 21:32:47 -04:00
|
|
|
{{#if results}} {{#each results}}
|
2023-05-03 14:31:52 -04:00
|
|
|
<div class="result">
|
2023-07-18 15:04:35 -04:00
|
|
|
<h1><a href="{{{this.visitingUrl}}}">{{{this.title}}}</a></h1>
|
2023-06-25 13:29:15 -04:00
|
|
|
<small>{{{this.url}}}</small>
|
2023-05-03 14:31:52 -04:00
|
|
|
<p>{{{this.description}}}</p>
|
|
|
|
<div class="upstream_engines">
|
|
|
|
{{#each engine}}
|
2023-06-25 13:29:15 -04:00
|
|
|
<span>{{{this}}}</span>
|
2023-04-22 07:35:07 -04:00
|
|
|
{{/each}}
|
2023-05-03 14:31:52 -04:00
|
|
|
</div>
|
2023-04-22 07:35:07 -04:00
|
|
|
</div>
|
2023-08-09 21:32:47 -04:00
|
|
|
{{/each}} {{else}}
|
|
|
|
<div class="result_not_found">
|
|
|
|
<p>Your search - {{{this.pageQuery}}} - did not match any documents.</p>
|
|
|
|
<p class="suggestions">Suggestions:</p>
|
|
|
|
<ul>
|
|
|
|
<li>Make sure that all words are spelled correctly.</li>
|
|
|
|
<li>Try different keywords.</li>
|
|
|
|
<li>Try more general keywords.</li>
|
|
|
|
</ul>
|
|
|
|
<img src="./images/no_results.gif" alt="Man fishing gif" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-05-03 14:31:52 -04:00
|
|
|
</div>
|
|
|
|
<div class="page_navigation">
|
2023-08-09 21:32:47 -04:00
|
|
|
<button type="button" onclick="navigate_backward()">
|
|
|
|
← previous
|
|
|
|
</button>
|
2023-05-03 14:31:52 -04:00
|
|
|
<button type="button" onclick="navigate_forward()">next →</button>
|
|
|
|
</div>
|
2023-04-22 07:35:07 -04:00
|
|
|
</main>
|
|
|
|
<script src="static/index.js"></script>
|
2023-05-03 14:31:52 -04:00
|
|
|
<script src="static/pagination.js"></script>
|
2023-08-09 21:32:47 -04:00
|
|
|
<script src="static/error_box.js"></script>
|
2023-04-22 07:35:07 -04:00
|
|
|
{{>footer}}
|