summaryrefslogtreecommitdiff
path: root/searx/templates/result_templates
diff options
context:
space:
mode:
authorpw3t <romain@berthor.fr>2014-01-12 18:31:57 +0100
committerpw3t <romain@berthor.fr>2014-01-16 22:03:43 +0100
commitcf8f444e8597bf527ef4bfc691b6d45d5704f77f (patch)
tree6ae1cff9ae2e888251df151f97d882a1fe9008a9 /searx/templates/result_templates
parentad72c16050932ac5c71e27e4199582b5de38b561 (diff)
[ehn] Add a 'featured result feature'm putting on top of the reasults ddg definitions and wikipedia (ugly html / css)
[ehn] Add a templates for videos, so the thumbnails all have the same side
Diffstat (limited to 'searx/templates/result_templates')
-rw-r--r--searx/templates/result_templates/videos.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/searx/templates/result_templates/videos.html b/searx/templates/result_templates/videos.html
new file mode 100644
index 000000000..97c966e43
--- /dev/null
+++ b/searx/templates/result_templates/videos.html
@@ -0,0 +1,7 @@
+<div class="result">
+ <p>
+ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
+ <a href="{{ result.url }}"><img width="300" height="170" src="{{ result.thumbnail }}" title={{ result.title }} alt=" {{ result.title }}"/></a>
+ <p class="url">{{ result.url }}</p>
+ </p>
+</div>