From 2e7723a6c1ce51c6b3830470164ac818126760ae Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Mon, 3 Nov 2014 10:39:47 +0100 Subject: [enh] oscar_template: improve result visualisation * highlight parts of result * add link to archiv.to * fix little bugs * add little icons * change style of "show map" button --- searx/templates/oscar/result_templates/map.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'searx/templates/oscar/result_templates/map.html') diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index 3385f5ba7..45aa76356 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -1,12 +1,16 @@ -

{% if result['favicon'] %} {% endif %}{{ result.title|safe }}

+{% from 'oscar/macros.html' import icon %} -{% if result.publishedDate %}{% endif %} - -{% if result.content %}

{{ result.content|safe }}

{% endif %} +

{% if result['favicon'] %} {% endif %}{{ result.title|safe }}

-{% if result.latitude and result.longitude %} - +{% if result.publishedDate %}{% endif %} +{{ icon('link') }} {{ _('cached') }} +{% if (result.latitude and result.longitude) or result.boundingbox %} + +{% endif %} + +{% if result.content %}

{{ result.content|safe }}

{% endif %} +{% if (result.latitude and result.longitude) or result.boundingbox %}
-- cgit v1.2.3