mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
oscar template: implement first version of results page
* implement results page * improve search form template * implement all result_templates * fix youtube engine
This commit is contained in:
parent
9158571059
commit
f3b565e17e
10 changed files with 127 additions and 15 deletions
8
searx/templates/oscar/result_templates/default.html
Normal file
8
searx/templates/oscar/result_templates/default.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<h3><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
|
||||
|
||||
{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.publishedDate }}" pubdate>{{ result.publishedDate }}</time>{% endif %}
|
||||
|
||||
{% if result.content %}<p>{{ result.content|safe }}</p>{% endif %}
|
||||
|
||||
<span class="label label-default pull-right">{{ result.engine }}</span>
|
||||
<p class="text-muted">{% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{ theme }}/img/icon_{{ result['favicon'] }}.ico" />{% endif %} {{ result.pretty_url }}</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue