Commit 116e3f9b authored by Nicolas Gelot's avatar Nicolas Gelot

Add ability on eelo theme to switch to another

parent 812bac9d
...@@ -72,6 +72,24 @@ ...@@ -72,6 +72,24 @@
</select> </select>
{% endcall %} {% endcall %}
{% set theme_label = _('Themes') %}
{% set theme_info = _('Change searx layout') %}
{% call preferences_item(theme_info, theme_label, rtl) %}
<select class="form-control custom-select" name="theme">
{% for name in themes %}
<option value="{{ name }}" {% if name == theme %}selected="selected"{% endif %}>{{ name }}</option>
{% endfor %}
</select>
{% endcall %}
{% call preferences_item(_('Choose style for this theme'), _('Style'), rtl) %}
<select class="form-control custom-select" name='oscar-style'>
<option value="logicodev" >Logicodev</option>
<option value="pointhi" {% if preferences.get_value('oscar-style') == 'pointhi' %}selected="selected"{% endif %}>Pointhi</option>
<option value="logicodev-dark" {% if preferences.get_value('oscar-style') == 'logicodev-dark' %}selected="selected"{% endif %}>Logicodev dark</option>
</select>
{% endcall %}
{% set label = _('Results on new tabs') %} {% set label = _('Results on new tabs') %}
{% set info = _('Open result links on new browser tabs') %} {% set info = _('Open result links on new browser tabs') %}
{% call preferences_item(info, label, rtl) %} {% call preferences_item(info, label, rtl) %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment