summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2018-02-09 23:52:11 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2020-10-08 13:20:55 +0200
commitf0278d41fc5cc0d9f618e39be83e690517e64819 (patch)
tree25c08217a872fbcaca97dd19ff4fa4014d8a768f /searx/templates
parenta9dc54bebc943000252975ef25ddcb51681fc284 (diff)
add ebay enginte to 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 %}