forked from Ponysearch/Ponysearch
[preferences] cleanup whitespaces
This commit is contained in:
parent
2d26ace265
commit
45eb2b5637
1 changed files with 129 additions and 139 deletions
|
@ -171,10 +171,8 @@
|
||||||
|
|
||||||
{{ tab_header('maintab', 'engines', _('Engines')) }}
|
{{ tab_header('maintab', 'engines', _('Engines')) }}
|
||||||
<p>{{ _('Currently used search engines') }}</p>
|
<p>{{ _('Currently used search engines') }}</p>
|
||||||
|
|
||||||
{{ tabs_open() }}
|
{{ tabs_open() }}
|
||||||
{% for categ in all_categories %}
|
{% for categ in all_categories %}
|
||||||
|
|
||||||
{{ tab_header('enginetab', 'category' + categ, _(categ)) }}
|
{{ tab_header('enginetab', 'category' + categ, _(categ)) }}
|
||||||
<div class="scrollx">
|
<div class="scrollx">
|
||||||
<table class="striped">
|
<table class="striped">
|
||||||
|
@ -190,7 +188,6 @@
|
||||||
<th>{{ _("Reliablity") }}</th>
|
<th>{{ _("Reliablity") }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for search_engine in engines_by_category[categ] %}
|
{% for search_engine in engines_by_category[categ] %}
|
||||||
|
|
||||||
{% if not search_engine.private %}
|
{% if not search_engine.private %}
|
||||||
{% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %}
|
{% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %}
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -256,12 +253,10 @@
|
||||||
{{ tab_footer() }}
|
{{ tab_footer() }}
|
||||||
|
|
||||||
{{ tab_header('maintab', 'cookies', _('Cookies')) }}
|
{{ tab_header('maintab', 'cookies', _('Cookies')) }}
|
||||||
|
|
||||||
<p class="text-muted">
|
<p class="text-muted">
|
||||||
{{ _('This is the list of cookies and their values searx is storing on your computer.') }}<br />
|
{{ _('This is the list of cookies and their values searx is storing on your computer.') }}<br />
|
||||||
{{ _('With that list, you can assess searx transparency.') }}<br />
|
{{ _('With that list, you can assess searx transparency.') }}<br />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if cookies %}
|
{% if cookies %}
|
||||||
<table class="cookies">
|
<table class="cookies">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -278,17 +273,14 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{% include 'oscar/messages/no_cookies.html' %}
|
{% include 'oscar/messages/no_cookies.html' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h4>{{ _('Search URL of the currently saved preferences') }} :</h4>
|
<h4>{{ _('Search URL of the currently saved preferences') }} :</h4>
|
||||||
<div class="selectable_url">
|
<div class="selectable_url">
|
||||||
<pre>{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&q=%s{% endraw %}</pre>
|
<pre>{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&q=%s{% endraw %}</pre>
|
||||||
</div>
|
</div>
|
||||||
<p class="small_font">{{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}</p>
|
<p class="small_font">{{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}</p>
|
||||||
|
|
||||||
{{ tab_footer() }}
|
{{ tab_footer() }}
|
||||||
|
|
||||||
{{ tab_header('maintab', 'query', _('Special Queries')) }}
|
{{ tab_header('maintab', 'query', _('Special Queries')) }}
|
||||||
|
|
||||||
{% if answerers %}
|
{% if answerers %}
|
||||||
<div class="scrollx">
|
<div class="scrollx">
|
||||||
<table class="striped">
|
<table class="striped">
|
||||||
|
@ -326,7 +318,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ tab_footer() }}
|
{{ tab_footer() }}
|
||||||
|
|
||||||
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
|
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
|
||||||
|
@ -355,7 +346,6 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ plugin_preferences('privacy') }}
|
{{ plugin_preferences('privacy') }}
|
||||||
|
|
||||||
{{ tab_footer() }}
|
{{ tab_footer() }}
|
||||||
|
|
||||||
{{ tabs_close() }}
|
{{ tabs_close() }}
|
||||||
|
|
Loading…
Reference in a new issue