|
1 {% extends "layout.html" %} |
|
2 {% set title = _('Global Module Index') %} |
|
3 {% block extrahead %} |
|
4 {{ super() }} |
|
5 {% if builder != 'htmlhelp' and collapse_modindex %} |
|
6 <script type="text/javascript"> |
|
7 DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true; |
|
8 </script> |
|
9 {% endif %} |
|
10 {% endblock %} |
|
11 {% block body %} |
|
12 |
|
13 <h1 id="global-module-index">{{ _('Global Module Index') }}</h1> |
|
14 {% if builder == 'web' and freqentries %} |
|
15 <p>{{ _('Most popular modules:') }}</p> |
|
16 <div class="modulecloud"> |
|
17 {%- for module in freqentries %} |
|
18 <a href="../q/{{ module.name|e }}/" style="font-size: {{ module.size }}%">{{ module.name|e }}</a> |
|
19 {%- endfor %} |
|
20 </div> |
|
21 {% endif %} |
|
22 {% if builder == 'web' %} |
|
23 <form class="pfform" action="" method="get"> |
|
24 {{ _('Show modules only available on these platforms') }}:<br> |
|
25 {% for pl in platforms -%} |
|
26 <input type="checkbox" name="pf" value="{{ pl }}" id="pl-{{ pl }}" |
|
27 {%- if pl in showpf %} checked="checked"{% endif %}> |
|
28 <label for="pl-{{ pl }}">{{ pl }}</label> |
|
29 {% endfor %} |
|
30 <input type="hidden" name="newpf" value="true"> |
|
31 <input type="submit" value="Apply"> |
|
32 </form> |
|
33 {% endif %} |
|
34 |
|
35 {%- for letter in letters %} |
|
36 <a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a> {% if not loop.last %}| {% endif %} |
|
37 {%- endfor %} |
|
38 <hr/> |
|
39 |
|
40 <table width="100%" class="indextable" cellspacing="0" cellpadding="2"> |
|
41 {%- for modname, collapse, cgroup, indent, fname, synops, pform, dep in modindexentries %} |
|
42 {%- if not modname -%} |
|
43 <tr class="pcap"><td></td><td> </td><td></td></tr> |
|
44 <tr class="cap"><td></td><td><a name="cap-{{ fname }}"><strong>{{ fname }}</strong></a></td><td></td></tr> |
|
45 {%- else -%} |
|
46 <tr{% if indent %} class="cg-{{ cgroup }}"{% endif %}> |
|
47 <td>{% if collapse -%} |
|
48 <img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ cgroup }}" |
|
49 class="toggler" style="display: none" alt="-" /> |
|
50 {%- endif %}</td> |
|
51 <td>{% if indent %} {% endif %} |
|
52 {% if fname %}<a href="{{ fname }}">{% endif -%} |
|
53 <tt class="xref">{{ modname|e }}</tt> |
|
54 {%- if fname %}</a>{% endif %} |
|
55 {%- if pform[0] %} <em>({{ pform|join(', ') }})</em>{% endif -%} |
|
56 </td><td>{% if dep %}<strong>{{ _('Deprecated')}}:</strong>{% endif %} |
|
57 <em>{{ synops|e }}</em></td></tr> |
|
58 {%- endif -%} |
|
59 {% endfor %} |
|
60 </table> |
|
61 |
|
62 {% endblock %} |