~ubuntu-branches/ubuntu/oneiric/pyside/oneiric

« back to all changes in this revision

Viewing changes to doc/_themes/pysidedocs/domainindex.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2010-10-19 22:52:14 UTC
  • mfrom: (1.1.4 upstream)
  • mto: (13.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101019225214-0s9fbpz12x3962qa
Tags: upstream-0.4.2
ImportĀ upstreamĀ versionĀ 0.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{#
 
2
    basic/domainindex.html
 
3
    ~~~~~~~~~~~~~~~~~~~~~~
 
4
 
 
5
    Template for domain indices (module index, ...).
 
6
 
 
7
    :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
 
8
    :license: BSD, see LICENSE for details.
 
9
#}
 
10
{% extends "layout.html" %}
 
11
{% set title = indextitle %}
 
12
{% block extrahead %}
 
13
{{ super() }}
 
14
{% if not embedded and collapse_index %}
 
15
    <script type="text/javascript">
 
16
      DOCUMENTATION_OPTIONS.COLLAPSE_INDEX = true;
 
17
    </script>
 
18
{% endif %}
 
19
{% endblock %}
 
20
{% block body %}
 
21
<div class="section">
 
22
   {%- set curr_group = 0 %}
 
23
 
 
24
   <h1>{{ indextitle }}</h1>
 
25
 
 
26
   <div class="modindex-jumpbox">
 
27
   {%- for (letter, entries) in content %}
 
28
   <a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a>
 
29
     {%- if not loop.last %} | {% endif %}
 
30
   {%- endfor %}
 
31
   </div>
 
32
 
 
33
   <table class="indextable modindextable" cellspacing="0" cellpadding="2">
 
34
   {%- for letter, entries in content %}
 
35
     <tr class="pcap"><td></td><td>&nbsp;</td><td></td></tr>
 
36
     <tr class="cap"><td></td><td><a name="cap-{{ letter }}">
 
37
           <strong>{{ letter }}</strong></a></td><td></td></tr>
 
38
     {%- for (name, grouptype, page, anchor, extra, qualifier, description)
 
39
             in entries %}
 
40
     {%- if grouptype == 1 %}{% set curr_group = curr_group + 1 %}{% endif %}
 
41
     <tr{% if grouptype == 2 %} class="cg-{{ curr_group }}"{% endif %}>
 
42
       <td>{% if grouptype == 1 -%}
 
43
         <img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ curr_group }}"
 
44
              class="toggler" style="display: none" alt="-" />
 
45
           {%- endif %}</td>
 
46
       <td>{% if grouptype == 2 %}&nbsp;&nbsp;&nbsp;{% endif %}
 
47
       {% if page %}<a href="{{ pathto(page) }}#{{ anchor }}">{% endif -%}
 
48
       <tt class="xref">{{ name|e }}</tt>
 
49
       {%- if page %}</a>{% endif %}
 
50
     {%- if extra %} <em>({{ extra|e }})</em>{% endif -%}
 
51
     </td><td>{% if qualifier %}<strong>{{ qualifier|e }}:</strong>{% endif %}
 
52
       <em>{{ description|e }}</em></td></tr>
 
53
     {%- endfor %}
 
54
   {%- endfor %}
 
55
   </table>
 
56
</div>
 
57
{% endblock %}