summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/default.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-27 12:33:22 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:46 +0200
commitf3b565e17ecd4c875381a3a212d73fb065f9a89d (patch)
tree1d9fe5384e3103a910286f69f17f5fa0bd24102f /searx/templates/oscar/result_templates/default.html
parent915857105997357f24db86b9fcc6739fd816e98e (diff)
downloadsearxng-f3b565e17ecd4c875381a3a212d73fb065f9a89d.tar.gz
searxng-f3b565e17ecd4c875381a3a212d73fb065f9a89d.zip
oscar template: implement first version of results page
* implement results page * improve search form template * implement all result_templates * fix youtube engine
Diffstat (limited to 'searx/templates/oscar/result_templates/default.html')
-rw-r--r--searx/templates/oscar/result_templates/default.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html
new file mode 100644
index 000000000..2ea246542
--- /dev/null
+++ b/searx/templates/oscar/result_templates/default.html
@@ -0,0 +1,8 @@
+<h3><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
+
+{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.publishedDate }}" pubdate>{{ result.publishedDate }}</time>{% endif %}
+
+{% if result.content %}<p>{{ result.content|safe }}</p>{% endif %}
+
+<span class="label label-default pull-right">{{ result.engine }}</span>
+<p class="text-muted">{% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{ theme }}/img/icon_{{ result['favicon'] }}.ico" />{% endif %} {{ result.pretty_url }}</p>