summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/key-value.html
diff options
context:
space:
mode:
authorMathieu Brunot <mathieu.brunot@monogramm.io>2019-10-16 19:30:02 +0200
committerGitHub <noreply@github.com>2019-10-16 19:30:02 +0200
commita51b2b6c20c1346748c09aec051d78f6822c580c (patch)
tree5f08fadc14de64e86c5582ebbdc928e4abe7475b /searx/templates/oscar/result_templates/key-value.html
parent4d17d453bf99641797dcbfa1f1a35dd5b21dcab4 (diff)
parent12f42d1572311a56401637ac5c7dc66008eb979c (diff)
Merge branch 'master' into feature/accessibility
Diffstat (limited to 'searx/templates/oscar/result_templates/key-value.html')
-rw-r--r--searx/templates/oscar/result_templates/key-value.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/searx/templates/oscar/result_templates/key-value.html b/searx/templates/oscar/result_templates/key-value.html
new file mode 100644
index 000000000..67c748e7f
--- /dev/null
+++ b/searx/templates/oscar/result_templates/key-value.html
@@ -0,0 +1,19 @@
+{% from 'oscar/macros.html' import result_footer, result_footer_rtl with context %}
+<div class="panel panel-default">
+<table class="table table-responsive table-bordered table-condensed">
+ {% for key, value in result.items() %}
+ {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions'] %}
+ {% continue %}
+ {% endif %}
+ <tr>
+ <td><b>{{ key|upper }}</b>: {{ value }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
+{{ result_footer(result) }}
+{% endif %}
+</div>