diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2020-10-23 16:22:55 +0200 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2020-10-25 18:06:18 +0100 |
commit | 33e139cae64bb78157ebca56a5d1a752da95555a (patch) | |
tree | bf4ff91f497f4ec5941acca7ac0fc23e315536cc /searx/templates/pix-art | |
parent | 6beb84efb8c8b62f1dfa9e7af33db73c06fabcb2 (diff) | |
download | searxng-33e139cae64bb78157ebca56a5d1a752da95555a.tar.gz searxng-33e139cae64bb78157ebca56a5d1a752da95555a.zip |
Let admins lock user preferences
Diffstat (limited to 'searx/templates/pix-art')
-rw-r--r-- | searx/templates/pix-art/preferences.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/pix-art/preferences.html b/searx/templates/pix-art/preferences.html index 05876dedf..ee415435f 100644 --- a/searx/templates/pix-art/preferences.html +++ b/searx/templates/pix-art/preferences.html @@ -5,6 +5,7 @@ <h2>{{ _('Preferences') }}</h2> <form method="post" action="{{ url_for('preferences') }}" id="search_form"> + {% if 'language' not in locked_preferences %} <fieldset> <legend>{{ _('Search language') }}</legend> <p> @@ -16,6 +17,8 @@ </select> </p> </fieldset> + {% endif %} + {% if 'locale' not in locked_preferences %} <fieldset> <legend>{{ _('Interface language') }}</legend> <p> @@ -26,6 +29,8 @@ </select> </p> </fieldset> + {% endif %} + {% if 'method' not in locked_preferences %} <fieldset> <legend>{{ _('Method') }}</legend> <p> @@ -35,6 +40,8 @@ </select> </p> </fieldset> + {% endif %} + {% if 'theme' not in locked_preferences %} <fieldset> <legend>{{ _('Themes') }}</legend> <p> @@ -45,6 +52,7 @@ </select> </p> </fieldset> + {% endif %} <fieldset> <legend>{{ _('Currently used search engines') }}</legend> |