2015-02-17 00:07:14 +00:00
|
|
|
{% if pageno > 1 %}
|
|
|
|
{% for result in results %}
|
|
|
|
{% set index = loop.index %}
|
|
|
|
{% include 'pix-art/result_templates/default.html' %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2015-02-15 18:09:17 +00:00
|
|
|
{% extends "pix-art/base.html" %}
|
|
|
|
{% block title %}{{ q }} - {% endblock %}
|
|
|
|
{% block meta %}{% endblock %}
|
|
|
|
{% block content %}
|
2016-08-15 15:12:43 +00:00
|
|
|
<div id="logo"><a href="./"><img src="{{ url_for('static', filename='img/searx-pixel-small.png') }}" alt="searx Logo"/></a></div>
|
2015-02-15 18:09:17 +00:00
|
|
|
<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>
|
2015-02-17 00:07:14 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
favicons[{{ pageno }}] = [];
|
|
|
|
</script>
|
2015-02-15 18:09:17 +00:00
|
|
|
<div id="results">
|
2015-02-17 00:07:14 +00:00
|
|
|
<span id="results_list">
|
2015-02-15 18:09:17 +00:00
|
|
|
{% for result in results %}
|
|
|
|
{% set index = loop.index %}
|
|
|
|
{% include 'pix-art/result_templates/default.html' %}
|
|
|
|
{% endfor %}
|
2015-02-17 00:07:14 +00:00
|
|
|
</span>
|
2015-02-15 18:09:17 +00:00
|
|
|
<div id="pagination">
|
|
|
|
<br />
|
2015-02-17 00:07:14 +00:00
|
|
|
<input type="button" onclick="load_more('{{ q }}', {{ pageno+1 }})" id="load_more" value="{{ _('Load more...') }}" />
|
2015-02-15 18:09:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2015-02-17 00:07:14 +00:00
|
|
|
{% endif %}
|