summaryrefslogtreecommitdiff
path: root/templates/html/htmlclasses.tpl
blob: ceb1b06c7d052f3f25419aec6f49a97501b11c45 (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 %}
    &#160;|&#160;
    {% endif %}
  {% endfor %}
  </div>
  {% indexentry nav name=tr.classIndex file=page.fileName anchor='' isReference=False separateIndex=False addToIndex=True %}
  {# 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 %}