summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorjibe-b <user701@orange.fr>2017-09-22 23:43:05 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2017-11-01 14:22:26 +0100
commit575159b194440052d7b48aa073d7e03c80799c90 (patch)
tree693e1db791842058d11c6ddb2cb181bb64b10da3 /searx/templates/oscar/preferences.html
parent7de8b43eb2081853ae15b2a52cc0cae43647320b (diff)
downloadsearxng-575159b194440052d7b48aa073d7e03c80799c90.tar.gz
searxng-575159b194440052d7b48aa073d7e03c80799c90.zip
[enh] oa_doi_rewrite plugin broadens doai_rewrite
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index f4b2c63ea..dcca3cba7 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -223,6 +223,23 @@
</div>
</div>
{% endfor %}
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">{{ _('OA DOI rewrite') }}</h3>
+ </div>
+ <div class="panel-body">
+ <div class="col-xs-6 col-sm-4 col-md-6">{{ _('Avoid paywalls by redirecting to open-access versions of publications when available') }}</div>
+ <div class="col-xs-6 col-sm-4 col-md-6">
+ <select class="form-control" 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>
+ </div>
+ </div>
+ </div>
</div>
</fieldset>
</div>