mirror of
https://github.com/searxng/searxng.git
synced 2024-11-14 08:40:11 +01:00
20 lines
892 B
HTML
20 lines
892 B
HTML
<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 -%}
|
|
&pageno={{ pageno }}
|
|
{%- endif -%}
|
|
{%- if selected_categories -%}
|
|
&categories={{ selected_categories|join(",") | replace(' ','+') }}
|
|
{%- endif -%}
|
|
{%- if timeout_limit -%}
|
|
&timeout_limit={{ timeout_limit|urlencode }}
|
|
{%- endif -%}
|
|
</pre>
|
|
</div>
|
|
</details>
|
|
</div>
|