diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-11-19 16:19:03 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-11-19 16:19:03 +0100 |
| commit | 075a5fe8985dcd3e675e7249755ab211da7a5ce4 (patch) | |
| tree | 3b343fae9708407151932ff17f4434e8372be1f2 /searx/templates/courgette | |
| parent | 1a81c20d738cdd760805ae597e611026ea007f3f (diff) | |
| parent | 807db97690e8421c0995860ec9644a8bbe084cba (diff) | |
Merge pull request #127 from pointhi/template_oscar_map
Template oscar, add map support
Diffstat (limited to 'searx/templates/courgette')
| -rw-r--r-- | searx/templates/courgette/result_templates/map.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/templates/courgette/result_templates/map.html b/searx/templates/courgette/result_templates/map.html new file mode 100644 index 000000000..734f9066c --- /dev/null +++ b/searx/templates/courgette/result_templates/map.html @@ -0,0 +1,13 @@ +<div class="result {{ result.class }}"> + + {% if result['favicon'] %} + <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" /> + {% endif %} + + <div> + <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3> + {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %} + <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p> + <p class="url">{{ result.pretty_url }}</p> + </div> +</div> |