diff options
author | Alexandre Flament <alex@al-f.net> | 2022-06-03 14:10:48 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-06-18 08:54:24 +0200 |
commit | 8a85d1b0c7b03cc0d0f82287a114728b521a5a47 (patch) | |
tree | 53e78ebafe2c07edc2baae4afa27c3787076750a /searx/templates/simple/preferences.html | |
parent | 43b8b64866e450dc4143afd209258f40d6ac3325 (diff) | |
download | searxng-8a85d1b0c7b03cc0d0f82287a114728b521a5a47.tar.gz searxng-8a85d1b0c7b03cc0d0f82287a114728b521a5a47.zip |
Theme: add a preference to center the results (Oscar) (2nd edition)
related to
* #1169
* #1281
* #1286
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r-- | searx/templates/simple/preferences.html | 10 |
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> |