summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-10-08 13:31:14 +0200
committerGitHub <noreply@github.com>2020-10-08 13:31:14 +0200
commitab3a8c9e995e0a8ee74ccd3997107aebb82cbde2 (patch)
tree25c08217a872fbcaca97dd19ff4fa4014d8a768f /searx/templates
parent8b278cbfad3f39cc71cb41954d37b30c7d16d947 (diff)
parentf0278d41fc5cc0d9f618e39be83e690517e64819 (diff)
Merge pull request #1181 from kvch/ebay-in-shopping
Ebay engine in shopping category
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/result_templates/products.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/searx/templates/oscar/result_templates/products.html b/searx/templates/oscar/result_templates/products.html
new file mode 100644
index 000000000..590db0e05
--- /dev/null
+++ b/searx/templates/oscar/result_templates/products.html
@@ -0,0 +1,22 @@
+{% from 'oscar/macros.html' import draw_favicon, result_header, result_sub_header, result_footer_rtl, result_footer %}
+
+{{ result_header(result, favicons) }}
+{{ result_sub_header(result) }}
+
+<div class="container-fluid">
+ <div class="row">
+ <a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><img class="thumbnail col-xs-6 col-sm-3 col-md-3 result-content" src="{{ image_proxify(result.thumbnail) }}" alt="{{ result.title|striptags }} {{ result.engine }}" /></a>
+ <p class="col-xs-12 col-sm-9 col-md-9 result-content">
+ {% if result.price %}<big>{{ result.price|safe }}</big></br>{% endif %}
+ {% if result.shipping %}<small>{{ result.shipping|safe }}</small></br>{% endif %}
+ {% if result.source_country %}<small>{{ result.source_country|safe }}</small></br>{% endif %}
+ {% if result.content %}{{ result.content|safe }}{% endif %}
+ </p>
+ </div>
+</div>
+
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
+{{ result_footer(result) }}
+{% endif %}