mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
32 lines
No EOL
1.1 KiB
HTML
32 lines
No EOL
1.1 KiB
HTML
{% if pageno > 1 %}
|
|
{% for result in results %}
|
|
{% set index = loop.index %}
|
|
{% include 'pix-art/result_templates/default.html' %}
|
|
{% endfor %}
|
|
{% else %}
|
|
{% extends "pix-art/base.html" %}
|
|
{% block title %}{{ q }} - {% endblock %}
|
|
{% block meta %}{% endblock %}
|
|
{% block content %}
|
|
<div id="logo"><a href="./"><img src="{{ url_for('static', filename='img/searx-pixel-small.png') }}" alt="Searx Logo"/></a></div>
|
|
<div class="preferences_container right"><a href="{{ url_for('preferences') }}" id="preferences"><span>preferences</span></a></div>
|
|
<div class="small search center">
|
|
{% include 'pix-art/search.html' %}
|
|
</div>
|
|
<script type="text/javascript">
|
|
favicons[{{ pageno }}] = [];
|
|
</script>
|
|
<div id="results">
|
|
<span id="results_list">
|
|
{% for result in results %}
|
|
{% set index = loop.index %}
|
|
{% include 'pix-art/result_templates/default.html' %}
|
|
{% endfor %}
|
|
</span>
|
|
<div id="pagination">
|
|
<br />
|
|
<input type="button" onclick="load_more('{{ q }}', {{ pageno+1 }})" id="load_more" value="{{ _('Load more...') }}" />
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% endif %} |