blob: 3e556a22c17b329f2b0803289e894f84a77362ed (
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
|
{% extend 'htmlbase.tpl' %}
{% block content %}
<div class="contents">
{% with index=classIndex.list|alphaIndex:'name' %}
{# quick index at top #}
<div class="qindex">
{% for section in index %}
<a class="qindex" href="#letter_{{ section.label }}">{{ section.letter }}</a>
{% if not forloop.last %}
 | 
{% endif %}
{% endfor %}
</div>
{% indexentry nav name=tr.classIndex file=page.fileName anchor='' isReference=False separateIndex=False %}
{# multi column index #}
<div class="classindex">
{% for section in index %}
<dl class="classindex {% cycle 'even' 'odd' %}">
{% for cls in section.items %}
{% if forloop.first %}
<dt class="alphachar"><a id="letter_{{ section.label }}" name="letter_{{ section.label }}">{{ section.letter }}</a></dt>
{% endif %}
<dd>
{% with obj=cls text=cls.name %}
{% include 'htmlobjlink.tpl' %}
{% endwith %}
</dd>
{% endfor %}
</dl>
{% endfor %}
</div>
{% endwith %}
</div><!-- contents -->
{% endblock %}
|