searxng/searx/templates/pix-art/results.html

33 lines
1.1 KiB
HTML
Raw Normal View History

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|e }} - {% endblock %}
2015-02-15 18:09:17 +00:00
{% 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 />
<input type="button" onclick="load_more('{{ q|e }}', {{ pageno+1 }})" id="load_more" value="{{ _('Load more...') }}" />
2015-02-15 18:09:17 +00:00
</div>
</div>
{% endblock %}
{% endif %}