diff options
Diffstat (limited to 'searx/templates/simple/preferences/center_alignment.html')
-rw-r--r-- | searx/templates/simple/preferences/center_alignment.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/searx/templates/simple/preferences/center_alignment.html b/searx/templates/simple/preferences/center_alignment.html index 983a3957b..80508a1ae 100644 --- a/searx/templates/simple/preferences/center_alignment.html +++ b/searx/templates/simple/preferences/center_alignment.html @@ -1,10 +1,14 @@ <fieldset>{{- '' -}} <legend id="pref_center_alignment">{{ _('Center Alignment') }}</legend>{{- '' -}} <p class="value">{{- '' -}} - <select name="center_alignment" aria-labelledby="pref_center_alignment">{{- '' -}} - <option value="1" {% if preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('On') }}</option>{{- '' -}} - <option value="0" {% if not preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>{{- '' -}} - </select>{{- '' -}} + <input type="checkbox" {{- ' ' -}} + name="center_alignment" {{- ' ' -}} + aria-labelledby="pref_center_alignment" {{- ' ' -}} + class="checkbox-onoff" {{- ' ' -}} + {%- if preferences.get_value('center_alignment') -%} + checked + {%- endif -%}{{- ' ' -}} + />{{- '' -}} </p>{{- '' -}} <div class="description"> {{- _('Displays results in the center of the page (Oscar layout).') -}} |