summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/videos.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-11-19 16:19:03 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-11-19 16:19:03 +0100
commit075a5fe8985dcd3e675e7249755ab211da7a5ce4 (patch)
tree3b343fae9708407151932ff17f4434e8372be1f2 /searx/templates/oscar/result_templates/videos.html
parent1a81c20d738cdd760805ae597e611026ea007f3f (diff)
parent807db97690e8421c0995860ec9644a8bbe084cba (diff)
Merge pull request #127 from pointhi/template_oscar_map
Template oscar, add map support
Diffstat (limited to 'searx/templates/oscar/result_templates/videos.html')
-rw-r--r--searx/templates/oscar/result_templates/videos.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
index 1a9b60717..0d6cf50aa 100644
--- a/searx/templates/oscar/result_templates/videos.html
+++ b/searx/templates/oscar/result_templates/videos.html
@@ -1,13 +1,18 @@
-<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 %}
+ <img class="thumbnail col-xs-6 col-sm-4 col-md-4 result-content" src="{{ result.thumbnail|safe }}" />
+ {% if result.content %}<p class="col-xs-12 col-sm-8 col-md-8 result-content">{{ result.content|safe }}</p>{% endif %}
</div>
</div>
+<div class="clearfix"></div>
+
<span class="label label-default pull-right">{{ result.engine }}</span>
<p class="text-muted">{{ result.pretty_url }}</p>