~openerp-dev/openerp-mobile/openerp-mobile-10

« back to all changes in this revision

Viewing changes to doc/source/_themes/bootstrap/searchresults.html

  • Committer: Dharmang Soni (OpenERP)
  • Date: 2014-04-07 07:55:14 UTC
  • Revision ID: dpr@tinyerp.com-20140407075514-c0f0i2qm9k6cbrx4
[REMOVE] removed documentation from base framework

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{#
2
 
    basic/searchresults.html
3
 
    ~~~~~~~~~~~~~~~~~~~~~~~~
4
 
 
5
 
    Template for the body of the search results page.
6
 
 
7
 
    :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8
 
    :license: BSD, see LICENSE for details.
9
 
#}
10
 
<h1 id="search-documentation">Search</h1>
11
 
<p>
12
 
  From here you can search these documents. Enter your search
13
 
  words into the box below and click "search".
14
 
</p>
15
 
 
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>
20
 
</form>
21
 
 
22
 
{%- if search_performed %}
23
 
  <h2>Search Results</h2>
24
 
  {%- if not search_results %}
25
 
  <p>Your search did not match any results.</p>
26
 
  {%- endif %}
27
 
{%- endif %}
28
 
<div id="search-results">
29
 
  {%- if search_results %}
30
 
  <ul class="search">
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>
34
 
    </li>
35
 
    {% endfor %}
36
 
  </ul>
37
 
  {%- endif %}
38
 
</div>