first commit
This commit is contained in:
19
searx/templates/simple/elements/search_url.html
Normal file
19
searx/templates/simple/elements/search_url.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div id="search_url" role="complementary" aria-labelledby="search_url-title">
|
||||
<details class="sidebar-collapsible">
|
||||
<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>
|
||||
Reference in New Issue
Block a user