1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <link rel=
"stylesheet" type=
"text/css" href=
"/static/css/main.css"/>
6 <title>Search Demonstration App
</title>
10 <form action=
"/sign" method=
"post">
11 <div>Search Demo
</div>
12 <div><textarea name=
"search" rows=
"1" cols=
"60"></textarea></div>
13 <div><input type=
"submit" value=
"Search"/></div>
14 <div><textarea name=
"content" rows=
"3" cols=
"60"></textarea></div>
15 <div><input type=
"submit" value=
"Comment"/></div>
18 {{number_returned}} of {{results.number_found}} comments found
<p>
19 {% for scored_document in results %}
20 {% for field in scored_document.fields %}
21 {{field.value}}
26 <a href=
"{{ url }}">{{ url_linktext }}
</a>