From 8bb94e3dc4c35042ec5fb16f412331f4b8ca6c8a Mon Sep 17 00:00:00 2001 From: asciimoo Date: Wed, 29 Jan 2014 20:52:04 +0100 Subject: [enh] paging support --- searx/templates/results.html | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/results.html b/searx/templates/results.html index 238671878..fc5527296 100644 --- a/searx/templates/results.html +++ b/searx/templates/results.html @@ -11,10 +11,6 @@ {% endif %} -
- {{ _('Number of results') }}: {{ number_of_results }} -
- {% for result in results %} {% if result['template'] %} {% include 'result_templates/'+result['template'] %} @@ -22,6 +18,28 @@ {% include 'result_templates/default.html' %} {% endif %} {% endfor %} + + {% if paging %} +
+ {% if pageno > 1 %} +
+
+ + + +
+
+ {% endif %} +
+
+ + + +
+
+
+ {% endif %} +
{{ _('Download results') }}
-- cgit v1.2.3-54-g00ecf