From 0a3b9a7b00fb2f9af562ba73fb543a5ea7967782 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 16 Jan 2015 16:58:44 +0100 Subject: [PATCH] [enh] add image proxy toggle to preferences templates --- searx/templates/courgette/preferences.html | 11 ++++++++++- searx/templates/default/preferences.html | 9 +++++++++ searx/templates/oscar/preferences.html | 20 +++++++++++++++----- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/searx/templates/courgette/preferences.html b/searx/templates/courgette/preferences.html index c492e3751..07d79b532 100644 --- a/searx/templates/courgette/preferences.html +++ b/searx/templates/courgette/preferences.html @@ -41,6 +41,15 @@

+
+ {{ _('Image proxy') }} +

+ +

+
{{ _('Method') }}

@@ -96,4 +105,4 @@

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/searx/templates/default/preferences.html b/searx/templates/default/preferences.html index 639877d47..1fa8d88b7 100644 --- a/searx/templates/default/preferences.html +++ b/searx/templates/default/preferences.html @@ -42,6 +42,15 @@

+
+ {{ _('Image proxy') }} +

+ +

+
{{ _('Method') }}

diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 644865822..1a885f6cc 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -52,7 +52,7 @@

- + + + + +
+ {{ _('Proxying image results through searx') }} +
@@ -87,18 +97,18 @@
- + - + - +
{% for (categ,search_engines) in categs %} @@ -136,6 +146,6 @@
{{ _('back') }}
- +
{% endblock %}