summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/videos.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-11-03 10:39:47 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-11-03 10:39:47 +0100
commit2e7723a6c1ce51c6b3830470164ac818126760ae (patch)
treeac7839a2f53bbf993704f13da734826a3ad23ee9 /searx/templates/oscar/result_templates/videos.html
parentb2c976a5a33f234de1f5c67de0e04034c21c20d8 (diff)
downloadsearxng-2e7723a6c1ce51c6b3830470164ac818126760ae.tar.gz
searxng-2e7723a6c1ce51c6b3830470164ac818126760ae.zip
[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
Diffstat (limited to 'searx/templates/oscar/result_templates/videos.html')
-rw-r--r--searx/templates/oscar/result_templates/videos.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
index 4d711ea71..f69134d6f 100644
--- a/searx/templates/oscar/result_templates/videos.html
+++ b/searx/templates/oscar/result_templates/videos.html
@@ -1,11 +1,14 @@
-<h3>{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
+{% from 'oscar/macros.html' import icon %}
+
+<h4 class="result_header">{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h4>
{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.publishedDate }}" pubdate>{{ result.publishedDate }}</time>{% endif %}
-
+<small><a class="text-info" href="https://web.archive.org/web/{{ result.pretty_url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
+
<div class="container-fluid">
<div class="row">
<img class="thumbnail col-xs-6 col-sm-4 col-md-4" src="{{ result.thumbnail|safe }}" />
- {% if result.content %}<p class="col-xs-12 col-sm-8 col-md-8">{{ result.content|safe }}</p>{% endif %}
+ {% if result.content %}<p class="col-xs-12 col-sm-8 col-md-8 result-content">{{ result.content|safe }}</p>{% endif %}
</div>
</div>