Update results.html

This commit is contained in:
Joseph Cheung 2023-02-19 21:56:20 +08:00
parent 065023ec05
commit ad91b37b21

View file

@ -85,13 +85,13 @@
</div> </div>
{% endif %} {% endif %}
{% if method == 'POST' %} <!-- {% if method == 'POST' %}
<div id="search_url" role="complementary" aria-labelledby="search_url-title"> <div id="search_url" role="complementary" aria-labelledby="search_url-title">
<h4 class="title" id="search_url-title">{{ _('Search URL') }} :</h4> <h4 class="title" id="search_url-title">{{ _('Search URL') }} :</h4>
<div class="selectable_url"><pre>{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&amp;language={{ current_language }}&amp;time_range={{ time_range }}&amp;safesearch={{ safesearch }}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if timeout_limit %}&amp;timeout_limit={{ timeout_limit|urlencode }}{% endif %}</pre></div> <div class="selectable_url"><pre>{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&amp;language={{ current_language }}&amp;time_range={{ time_range }}&amp;safesearch={{ safesearch }}{% if pageno > 1 %}&amp;pageno={{ pageno }}{% endif %}{% if selected_categories %}&amp;categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if timeout_limit %}&amp;timeout_limit={{ timeout_limit|urlencode }}{% endif %}</pre></div>
</div> </div>
{% endif %} {% endif %} -->
<div id="apis" role="complementary" aria-labelledby="apis-title"> <!-- <div id="apis" role="complementary" aria-labelledby="apis-title">
{% if search_formats %} {% if search_formats %}
<h4 class="title" id="apis-title">{{ _('Download results') }}</h4> <h4 class="title" id="apis-title">{{ _('Download results') }}</h4>
{% for output_type in search_formats %} {% for output_type in search_formats %}
@ -112,7 +112,7 @@
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div> -->
</div> </div>
{% if corrections %} {% if corrections %}