2013-10-14 23:09:13 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
2013-10-15 00:02:55 +02:00
|
|
|
<form method="post" action="">
|
|
|
|
<input type="text" name="q" value="{{ q }}"/>
|
|
|
|
<input type="submit" value="search" />
|
|
|
|
</form>
|
2013-10-14 23:09:13 +02:00
|
|
|
{% for result in results %}
|
2013-10-15 19:11:43 +02:00
|
|
|
<div class="result">
|
|
|
|
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
|
|
|
|
<p class="content"><span class="engine">{{ result.engine }}</span><br />{% if result.content %}{{ result.content|safe }}<br />{% endif %}<span class="url">{{ result.url }}</span></p>
|
|
|
|
</div>
|
2013-10-14 23:09:13 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|