summaryrefslogtreecommitdiff
path: root/searx/templates/pix-art/preferences.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/pix-art/preferences.html')
-rw-r--r--searx/templates/pix-art/preferences.html8
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>