summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/templates/modindex.html
blob: e075db014dca3f71cbefad4462c421264e06aae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% extends "layout.html" %}
{% set title = 'Global Module Index' %}
{% block body %}

   <h1 id="global-module-index">Global Module Index</h1>
{% if builder == 'web' and freqentries %}
   <p>Most popular modules:</p>
   <div class="modulecloud">
   {%- for module in freqentries %}
     <a href="../q/{{ module.name|e }}/" style="font-size: {{ module.size }}%">{{ module.name|e }}</a>
   {%- endfor %}
   </div>
{% endif %}
   <form class="pfform" action="" method="get">
     Show modules only available on these platforms:<br>
     {% for pl in platforms -%}
     <input type="checkbox" name="pf" value="{{ pl }}" id="pl-{{ pl }}"
            {%- if pl in showpf %} checked="checked"{% endif %}>
     <label for="pl-{{ pl }}">{{ pl }}</label>
     {% endfor %}
     <input type="submit" value="Apply">
   </form>

   <table width="100%" class="indextable" cellspacing="0" cellpadding="2">
   {%- for modname, collapse, cgroup, indent, fname, synops, pform in modindexentries %}
   {%- if not modname -%}
   <tr class="pcap"><td></td><td>&nbsp;</td><td></td></tr>
   <tr class="cap"><td></td><td><strong>{{ fname }}</strong></td><td></td></tr>
   {%- else -%}
   <tr{% if indent %} class="cg-{{ cgroup }}"{% endif %}>
     <td>{% if collapse -%}
       <img src="{{ pathto('style/minus.png', 1) }}" id="toggle-{{ cgroup }}"
            class="toggler" style="display: none">
         {%- endif %}</td>
     <td>{% if indent %}&nbsp;&nbsp;&nbsp;{% endif %}
     {% if fname %}<a href="{{ fname }}">{% endif -%}
     <tt class="xref">{{ modname|e }}</tt>
     {%- if fname %}</a>{% endif %}
   {%- if pform[0] %} <em>({{ pform|join(', ') }})</em>{% endif -%}
   </td><td><em>{{ synops|e }}</em></td></tr>
   {%- endif -%}
   {% endfor %}
   </table>

{% endblock %}