forked from zaclys/searxng
f087959b02
* set border top and bottom on sidebar collasables * inrease peading on summary so its easier to click on mobile * remove margins and add flex wrapper to normalize elements in sidebar
19 lines
790 B
HTML
19 lines
790 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>
|
|
<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>
|