2013-10-14 21:09:13 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
2013-10-14 22:02:55 +00:00
|
|
|
<form method="post" action="">
|
|
|
|
<input type="text" name="q" value="{{ q }}"/>
|
|
|
|
<input type="submit" value="search" />
|
|
|
|
</form>
|
2013-10-14 21:09:13 +00:00
|
|
|
{% for result in results %}
|
2013-10-15 17:11:43 +00: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 21:09:13 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|