2
basic/searchresults.html
3
~~~~~~~~~~~~~~~~~~~~~~~~
5
Template for the body of the search results page.
7
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8
:license: BSD, see LICENSE for details.
10
<h1 id="search-documentation">Search</h1>
12
From here you can search these documents. Enter your search
13
words into the box below and click "search".
16
<form class="form-search" action="" method="get">
17
<input type="text" name="q" class="input-medium search-query">
18
<button type="submit" class="btn">{{ _('search') }}</button>
19
<span id="search-progress" style="padding-left: 10px"></span>
22
{%- if search_performed %}
23
<h2>Search Results</h2>
24
{%- if not search_results %}
25
<p>Your search did not match any results.</p>
28
<div id="search-results">
29
{%- if search_results %}
31
{% for href, caption, context in search_results %}
32
<li><a href="{{ docroot }}{{ href }}/?highlight={{ q }}">{{ caption }}</a>
33
<div class="context">{{ context|e }}</div>