diff options
| author | asciimoo <asciimoo@gmail.com> | 2013-11-25 09:04:46 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2013-11-25 09:04:46 +0100 |
| commit | d1dd6364c9ee5b1ae78596ad4dcd7e38837927a8 (patch) | |
| tree | 848028f1c08b980d15dcbb3ea093f369191b1f0e /searx/templates/results.html | |
| parent | 3b72cfabe2ba3341fccbe44b19191c76da582319 (diff) | |
[enh] csv/json download buttons
Diffstat (limited to 'searx/templates/results.html')
| -rw-r--r-- | searx/templates/results.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/templates/results.html b/searx/templates/results.html index f130f5bc5..5b214b06d 100644 --- a/searx/templates/results.html +++ b/searx/templates/results.html @@ -18,5 +18,19 @@ {% include 'result_templates/default.html' %} {% endif %} {% 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> {% endblock %} |