summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-06-18 12:34:57 +0200
committerGitHub <noreply@github.com>2022-06-18 12:34:57 +0200
commit189df7db4e26056159cc21109591b813f6c4f4ad (patch)
treeabed112a7307e982b199df898cd0abe48def9175 /searx/templates/simple/preferences.html
parent62e88e63a1d22c6d2298eec1aa1225801c0ca636 (diff)
parente6c300090916c192bdb3e01c02fc372ba800f66a (diff)
Merge pull request #1287 from dalf/style-center-2nd
Theme: add a preference to center the results (Oscar) (2nd edition)
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r--searx/templates/simple/preferences.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 4dde6fec2..aa0e65e28 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -213,6 +213,16 @@
</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>