diff options
Diffstat (limited to 'searx/templates/simple/elements/search_url.html')
-rw-r--r-- | searx/templates/simple/elements/search_url.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/searx/templates/simple/elements/search_url.html b/searx/templates/simple/elements/search_url.html new file mode 100644 index 000000000..b3994fd94 --- /dev/null +++ b/searx/templates/simple/elements/search_url.html @@ -0,0 +1,18 @@ +<div id="search_url" role="complementary" aria-labelledby="search_url-title"> + <details> + <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> |