0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-23 04:48:21 -05:00
websurfx/public/templates/search.html

40 lines
1.2 KiB
HTML
Raw Normal View History

{{>header this.style}}
2023-04-22 07:35:07 -04:00
<main class="results">
{{>search_page_search_bar this}}
<div class="results_aggregated">
{{#if results}} {{#each results}}
<div class="result">
2023-07-18 15:04:35 -04:00
<h1><a href="{{{this.visitingUrl}}}">{{{this.title}}}</a></h1>
<small>{{{this.url}}}</small>
<p>{{{this.description}}}</p>
<div class="upstream_engines">
{{#each engine}}
<span>{{{this}}}</span>
2023-04-22 07:35:07 -04:00
{{/each}}
</div>
2023-04-22 07:35:07 -04:00
</div>
{{/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}}
</div>
<div class="page_navigation">
<button type="button" onclick="navigate_backward()">
&#8592; previous
</button>
<button type="button" onclick="navigate_forward()">next &#8594;</button>
</div>
2023-04-22 07:35:07 -04:00
</main>
<script src="static/index.js"></script>
<script src="static/pagination.js"></script>
<script src="static/error_box.js"></script>
2023-04-22 07:35:07 -04:00
{{>footer}}