mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[enh] csv/json download buttons
This commit is contained in:
parent
3b72cfabe2
commit
d1dd6364c9
@ -18,5 +18,19 @@
|
|||||||
{% include 'result_templates/default.html' %}
|
{% include 'result_templates/default.html' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<form method="post" action="">
|
||||||
|
<div class="left">
|
||||||
|
<input type="hidden" name="q" value="{{ q }}" />
|
||||||
|
<input type="hidden" name="format" value="csv" />
|
||||||
|
<input type="submit" value="download results in csv" />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<form method="post" action="">
|
||||||
|
<div class="">
|
||||||
|
<input type="hidden" name="q" value="{{ q }}" />
|
||||||
|
<input type="hidden" name="format" value="json" />
|
||||||
|
<input type="submit" value="download results in json" />
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<form method="post" action="/" id="search_form">
|
<form method="post" action="" id="search_form">
|
||||||
<div id="search_wrapper">
|
<div id="search_wrapper">
|
||||||
<input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
<input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
||||||
<input type="submit" value="" id="search_submit" />
|
<input type="submit" value="" id="search_submit" />
|
||||||
|
Loading…
Reference in New Issue
Block a user