forked from zaclys/searxng
2149e88bdd
HINT: this patch has no functional change / it is the preparation for following changes and bugfixes Over the years, the preferences template became an unmanageable beast. To make the source code more readable the monolith is splitted into elements. The splitting into elements also has the advantage that a new template can make use of them. The reversed checkbox is a quirk that is only used in the prefereces and must be eliminated in the long term. For this the macro 'checkbox_onoff_reversed' was added to the preferences.html template. The 'checkbox' macro is also a quirk of the preferences.html we don't want to use in other templates (it is an input-checkbox in a HTML form that was misused for status display). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
15 lines
651 B
HTML
15 lines
651 B
HTML
<p class="small_font">
|
|
{{- _('These settings are stored in your cookies, this allows us not to store this data about you.') -}}
|
|
<br />{{- _("These cookies serve your sole convenience, we don't use these cookies to track you.") -}}
|
|
</p>{{- '' -}}
|
|
|
|
<input type="submit" value="{{ _('Save') }}" />{{- '' -}}
|
|
|
|
<div class="{% if rtl %}left{% else %}right{% endif %} preferences_back">{{- '' -}}
|
|
<a href="{{ url_for('clear_cookies') }}">{{ _('Reset defaults') }}</a>{{- '' -}}
|
|
</div>{{- '' -}}
|
|
|
|
<div class="{% if rtl %}left{% else %}right{% endif %} preferences_back">{{- '' -}}
|
|
<a href="{{ url_for('index') }}">{{ _('Back') }}</a>{{- '' -}}
|
|
</div>
|