forked from zaclys/searxng
f3b565e17e
* implement results page * improve search form template * implement all result_templates * fix youtube engine
23 lines
921 B
HTML
23 lines
921 B
HTML
{% extends "oscar/base.html" %}
|
|
{% block title %}{{ q }} - {% endblock %}
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-sm-8" id="main_results">
|
|
<h1 class="sr-only">{{ _('Search results') }}</h1>
|
|
{% include 'oscar/search.html' %}
|
|
|
|
{% for result in results %}
|
|
<div class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %}">
|
|
{% set index = loop.index %}
|
|
{% if result.template %}{% include 'oscar/result_templates/'+result['template'] %}{% else %}{% include 'oscar/result_templates/default.html' %}{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
<div class="col-sm-4" id="sidebar_results">
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|