mirror of
https://github.com/searxng/searxng.git
synced 2025-09-01 15:58:37 +02:00
simple theme update
- npm package update - apply #1226 - implement vim help dialog - display cookies and search URL with preferences - allow to enable / disable Open Access DOI rewrite - add a clear text button on the left of the search button - implement #1011 : the HTML title page is not set when using POST - remove searx/static/themes/simple/img/loader.gif - use full width when only there are only images as result
This commit is contained in:
parent
845ba79e75
commit
3ba0d0516e
39 changed files with 1755 additions and 1211 deletions
|
@ -52,9 +52,9 @@
|
|||
<p class="value">
|
||||
<select name="autocomplete">
|
||||
<option value=""> - </option>
|
||||
{% for backend in autocomplete_backends %}
|
||||
{%- for backend in autocomplete_backends -%}
|
||||
<option value="{{ backend }}" {% if backend == autocomplete %}selected="selected"{% endif %}>{{ backend }}</option>
|
||||
{% endfor %}
|
||||
{%- endfor -%}
|
||||
</select>
|
||||
</p>
|
||||
<div class="description">{{ _('Find stuff as you type') }}</div>
|
||||
|
@ -71,6 +71,19 @@
|
|||
<div class="description">{{ _('Filter content') }}</p>
|
||||
</fieldset>
|
||||
{{ plugin_preferences('general') }}
|
||||
<fieldset>
|
||||
<legend>{{ _('Open Access DOI resolver') }}</legend>
|
||||
<p class="value">
|
||||
<select id='doi_resolver' name='doi_resolver'>
|
||||
{%- for doi_resolver_name,doi_resolver_url in doi_resolvers.items() -%}
|
||||
<option value="{{ doi_resolver_name }}" {% if doi_resolver_name == current_doi_resolver %}selected="selected"{% endif %}>
|
||||
{{- doi_resolver_name }} - {{ doi_resolver_url -}}
|
||||
</option>
|
||||
{%- endfor -%}
|
||||
</select>
|
||||
</p>
|
||||
<div class="description"><!-- {{ _('Redirect to open-access versions of publications when available (plugin required)') }} --></div>
|
||||
</fieldset>
|
||||
{{ tab_footer() }}
|
||||
|
||||
{{ tab_header('maintab', 'engines', _('Engines')) }}
|
||||
|
@ -151,6 +164,38 @@
|
|||
{{ plugin_preferences('ui') }}
|
||||
{{ tab_footer() }}
|
||||
|
||||
{{ tab_header('maintab', 'cookies', _('Cookies')) }}
|
||||
|
||||
<p class="text-muted" style="margin:20px 0;">
|
||||
{{ _('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 />
|
||||
</p>
|
||||
|
||||
{% if cookies %}
|
||||
<table class="cookies">
|
||||
<tr>
|
||||
<th>{{ _('Cookie name') }}</th>
|
||||
<th>{{ _('Value') }}</th>
|
||||
</tr>
|
||||
{% for cookie in cookies %}
|
||||
<tr>
|
||||
<td>{{ cookie }}</td>
|
||||
<td>{{ cookies[cookie] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% else %}
|
||||
{% include 'oscar/messages/no_cookies.html' %}
|
||||
{% endif %}
|
||||
|
||||
<h4>{{ _('Search URL of the currently saved preferences') }} :</h4>
|
||||
<div class="selectable_url">
|
||||
<pre>{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&q=%s{% endraw %}</pre>
|
||||
</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>
|
||||
|
||||
{{ tab_footer() }}
|
||||
|
||||
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
|
||||
<fieldset>
|
||||
<legend>{{ _('Method') }}</legend>
|
||||
|
@ -173,6 +218,7 @@
|
|||
<div class="description">{{ _('Proxying image results through searx') }}</div>
|
||||
</fieldset>
|
||||
{{ plugin_preferences('privacy') }}
|
||||
|
||||
{{ tab_footer() }}
|
||||
|
||||
{{ tabs_close() }}
|
||||
|
@ -180,7 +226,7 @@
|
|||
<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>
|
||||
</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue