From 4237f5fd50c2dc0e91513056d885f25038ef6787 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 3 Jun 2022 14:10:48 +0200 Subject: Theme: add a preference to center the results (Oscar) related to #1169 --- searx/preferences.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'searx/preferences.py') diff --git a/searx/preferences.py b/searx/preferences.py index cd943af66..624f1284c 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -367,6 +367,16 @@ class Preferences: locked=is_locked('simple_style'), choices=['', 'auto', 'light', 'dark'] ), + 'center_aligment': MapSetting( + settings['ui']['center_aligment'], + locked=is_locked('center_aligment'), + map={ + '0': False, + '1': True, + 'False': False, + 'True': True + } + ), 'advanced_search': MapSetting( settings['ui']['advanced_search'], locked=is_locked('advanced_search'), -- cgit v1.2.3-54-g00ecf