mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02:00
add a "copy" button to the "search-url" sidebar
This commit is contained in:
parent
96ccec1aa6
commit
8adc7b0433
3 changed files with 18 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<div id="search_url" role="complementary" aria-labelledby="search_url-title">
|
||||
<details class="sidebar-collapsable">
|
||||
<summary class="title" id="search_url-title">{{ _('Search URL') }}</summary>
|
||||
<button id="copy_url" type="submit" data-copied-text="{{ _('Copied') }}">{{ _('Copy') }}</button>
|
||||
<div class="selectable_url">
|
||||
<pre>{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&language={{ current_language }}&time_range={{ time_range }}&safesearch={{ safesearch }}
|
||||
{%- if pageno > 1 -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue