summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-06-05 23:03:26 +0200
committerAlexandre Flament <alex@al-f.net>2022-06-05 23:03:26 +0200
commit9723cef99abab2aa4058343430018605b9368e56 (patch)
treed2801396771c5c6010651bfa6fd133cd8b36ff99 /searx/templates
parent1b4180df66e5e656e03f3b094fda3ebb322fd22a (diff)
downloadsearxng-9723cef99abab2aa4058343430018605b9368e56.tar.gz
searxng-9723cef99abab2aa4058343430018605b9368e56.zip
Revert "Theme: add a preference to center the results (Oscar)"
This reverts commit 4237f5fd50c2dc0e91513056d885f25038ef6787.
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/base.html2
-rw-r--r--searx/templates/simple/preferences.html10
2 files changed, 1 insertions, 11 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index a424032aa..d8eaaa02b 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_aligment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
+<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index aa0e65e28..4dde6fec2 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -213,16 +213,6 @@
</p>
<div class="description">{{ _('Choose auto to follow your browser settings') }}</div>
</fieldset>
- <fieldset>
- <legend id="pref_center_aligment">{{ _('Center Alignment') }}</legend>
- <p class="value">
- <select name="center_aligment" aria-labelledby="pref_center_aligment">
- <option value="1" {% if preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
- <option value="0" {% if not preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
- </select>
- </p>
- <div class="description">{{ _('Displays results in the center of the page (Oscar layout).') }}</div>
- </fieldset>
{% endif %}
{% if 'results_on_new_tab' not in locked_preferences %}
<fieldset>