summaryrefslogtreecommitdiff
path: root/searx/templates/pix-art/results.html
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-02-15 19:09:17 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-02-15 19:09:17 +0100
commitd740e7384a95c6a7d80e5f492f4dd7edb312175e (patch)
tree9cf8a96ec7d0834603290dde93ef5f45a68ef08a /searx/templates/pix-art/results.html
parent3ff269c84c936a3ffc2e8e3168a4ac017047015b (diff)
downloadsearxng-d740e7384a95c6a7d80e5f492f4dd7edb312175e.tar.gz
searxng-d740e7384a95c6a7d80e5f492f4dd7edb312175e.zip
New Theme, Pix-art.
First commit
Diffstat (limited to 'searx/templates/pix-art/results.html')
-rw-r--r--searx/templates/pix-art/results.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/searx/templates/pix-art/results.html b/searx/templates/pix-art/results.html
new file mode 100644
index 000000000..b01b7cb09
--- /dev/null
+++ b/searx/templates/pix-art/results.html
@@ -0,0 +1,44 @@
+{% extends "pix-art/base.html" %}
+{% block title %}{{ q }} - {% endblock %}
+{% block meta %}{% endblock %}
+{% block content %}
+<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>
+<div id="results">
+ {% for result in results %}
+ {% set index = loop.index %}
+ {% include 'pix-art/result_templates/default.html' %}
+ {% endfor %}
+
+ {% if paging %}
+ <div id="pagination">
+ {% if pageno > 1 %}
+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
+ <div class="{% if rtl %}right{% else %}left{% endif %}">
+ <input type="hidden" name="q" value="{{ q }}" />
+ {% for category in selected_categories %}
+ <input type="hidden" name="category_{{ category }}" value="1"/>
+ {% endfor %}
+ <input type="hidden" name="pageno" value="{{ pageno-1 }}" />
+ <input type="submit" value="<< {{ _('previous page') }}" />
+ </div>
+ </form>
+ {% endif %}
+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
+ <div class="{% if rtl %}left{% else %}right{% endif %}">
+ {% for category in selected_categories %}
+ <input type="hidden" name="category_{{ category }}" value="1"/>
+ {% endfor %}
+ <input type="hidden" name="q" value="{{ q }}" />
+ <input type="hidden" name="pageno" value="{{ pageno+1 }}" />
+ <input type="submit" value="{{ _('next page') }} >>" />
+ </div>
+ </form>
+
+ <br />
+ </div>
+ {% endif %}
+</div>
+{% endblock %}