diff options
| author | pw3t <romain@berthor.fr> | 2014-01-15 22:25:10 +0100 |
|---|---|---|
| committer | pw3t <romain@berthor.fr> | 2014-01-16 22:03:43 +0100 |
| commit | a8ec7fe6a4ad86a8eea4aa6be441984bc5ef7e5a (patch) | |
| tree | a9777dd3b432245996b3a64c7aa0d123d3fde987 /searx/templates | |
| parent | fdb6fac214c2fb5bdc6c27492bc45c6694483fb4 (diff) | |
[ehn] add favicons for vimeo, soundcloud, twitter and youtube
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/result_templates/default.html | 2 | ||||
| -rw-r--r-- | searx/templates/result_templates/videos.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/searx/templates/result_templates/default.html b/searx/templates/result_templates/default.html index 3f2d0f360..14f527361 100644 --- a/searx/templates/result_templates/default.html +++ b/searx/templates/result_templates/default.html @@ -2,7 +2,7 @@ {% if result['favicon'] %} <div style="float:left; margin:2px;"> - <img width="24" height="24" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> + <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> </div> {% endif %} diff --git a/searx/templates/result_templates/videos.html b/searx/templates/result_templates/videos.html index 97c966e43..524c99116 100644 --- a/searx/templates/result_templates/videos.html +++ b/searx/templates/result_templates/videos.html @@ -1,4 +1,12 @@ <div class="result"> + + {% if result['favicon'] %} + <div style="float:left; margin:2px;"> + <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" /> + </div> + {% endif %} + + <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> |