mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[fix] simple theme: /preferences: add tokens field
include changes to display input text field in the preferences
This commit is contained in:
committed by
Markus Heiser
parent
cf15652e4b
commit
dfbbc3b471
@@ -169,6 +169,13 @@
|
||||
<div class="description"><!-- {{ _('Redirect to open-access versions of publications when available (plugin required)') }} --></div>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
<fieldset>
|
||||
<legend>{{ _('Engine tokens') }}</legend>
|
||||
<p class="value">
|
||||
<input name="tokens" type="text" autocomplete="off" spellcheck="false" autocorrect="off" value='{{ preferences.tokens.get_value() }}'/>
|
||||
</p>
|
||||
<p class="description">{{ _('Access tokens for private engines') }}</p>
|
||||
</fieldset>
|
||||
{{ tab_footer() }}
|
||||
|
||||
{{ tab_header('maintab', 'ui', _('User interface')) }}
|
||||
|
||||
Reference in New Issue
Block a user