summaryrefslogtreecommitdiff
path: root/searx/templates/legacy
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2019-09-23 17:14:32 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2019-10-16 15:52:48 +0200
commita6f20caf32af463b57a026ee7cb7ed6317db6b8b (patch)
treec180f804d1a80767ab50b7cffb42aa75f9c3806a /searx/templates/legacy
parent2946c5f10695634be1f1266142bec5572139085f (diff)
downloadsearxng-a6f20caf32af463b57a026ee7cb7ed6317db6b8b.tar.gz
searxng-a6f20caf32af463b57a026ee7cb7ed6317db6b8b.zip
add initial support for offline engines && command engine
Diffstat (limited to 'searx/templates/legacy')
-rw-r--r--searx/templates/legacy/result_templates/key-value.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/templates/legacy/result_templates/key-value.html b/searx/templates/legacy/result_templates/key-value.html
new file mode 100644
index 000000000..a5bb509d9
--- /dev/null
+++ b/searx/templates/legacy/result_templates/key-value.html
@@ -0,0 +1,13 @@
+<table class="result-table">
+ {% for key, value in result.items() %}
+ {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions'] %}
+ {% continue %}
+ {% endif %}
+ <tr>
+ <td><b>{{ key|upper }}</b>: {{ value|safe }}</td>
+ </tr>
+ {% endfor %}
+ <tr>
+ <td><b>ENGINES</b>: {{ result.engines|join(', ') }}</td>
+ </tr>
+</table>