From 2fc1de54da6c81ab99240b2f69319dfc62d6dd2e Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Fri, 16 Jan 2015 00:56:54 +0100 Subject: Lots of courgette modification --- searx/templates/courgette/results.html | 67 +++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 29 deletions(-) (limited to 'searx/templates/courgette/results.html') diff --git a/searx/templates/courgette/results.html b/searx/templates/courgette/results.html index 8b5135c02..de3c4e678 100644 --- a/searx/templates/courgette/results.html +++ b/searx/templates/courgette/results.html @@ -1,9 +1,10 @@ -{% extends "default/base.html" %} +{% extends "courgette/base.html" %} {% block title %}{{ q }} - {% endblock %} +{% block meta %}{% endblock %} {% block content %} -
preferences
+
{{ _('preferences') }}
- {{ _('Download results') }} - {% for output_type in ('csv', 'json', 'rss') %} -
-
- - - {% for category in selected_categories %} - + {{ _('Download results') }} + {% for output_type in ('csv', 'json', 'rss') %} + +
+ + + {% for category in selected_categories %} + + {% endfor %} + + +
+ {% endfor %} - - -
- - {% endfor %}
+ + {% if answers %} +
{{ _('Answers') }} + {% for answer in answers %} + {{ answer }} + {% endfor %} +
+ {% endif %} {% if suggestions %}
{{ _('Suggestions') }} @@ -54,26 +63,26 @@ {% if pageno > 1 %}
- - {% for category in selected_categories %} - - {% endfor %} - - + + {% for category in selected_categories %} + + {% endfor %} + +
{% endif %}
- {% for category in selected_categories %} - - {% endfor %} - - - + {% for category in selected_categories %} + + {% endfor %} + + +
{% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3