From 0978f108879324a0367bc6d362f896532d6fc04f Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 5 Jun 2015 08:48:47 +0200 Subject: [fix] do not hide categorie inside preferences if there is no engine activated --- searx/templates/oscar/preferences.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/templates/oscar/preferences.html') diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index ee4e6ab57..6adb43523 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -117,7 +117,7 @@ @@ -128,7 +128,7 @@
- {% for categ in categories %} + {% for categ in all_categories %}
-- cgit v1.2.3 From a8b75ca47b14b9df13017f7409367993afb3fb7c Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 5 Jun 2015 09:07:59 +0200 Subject: [enh] oscar template: using table instead of container-fluid to show cookies --- searx/templates/oscar/preferences.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'searx/templates/oscar/preferences.html') diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 6adb43523..ea36a14b9 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -213,21 +213,23 @@ {{ _('This is the list of cookies and their values searx is storing on your computer.') }}
{{ _('With that list, you can assess searx transparency.') }}

-
-
-
-
-
-
+ {% if cookies %} + + + + + {% for cookie in cookies %} -
-
{{ cookie }}
-
{{ cookies[cookie] }}
-
+ + + + {% endfor %} - - +
{{ _('Cookie name') }}{{ _('Value') }}
{{ cookie }}{{ cookies[cookie] }}
+ {% else %} + {% include 'oscar/messages/no_cookies.html' %} + {% endif %}

{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }} -- cgit v1.2.3