summaryrefslogtreecommitdiffstats
path: root/templates/html/htmlclasses.tpl
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-14 15:39:29 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-25 12:43:31 (GMT)
commitfe818bf8e3a154788a4a180068cfdfbbadd66ff6 (patch)
treec08545cd15e627b36eef1e0d0a7eb4fa0bb76437 /templates/html/htmlclasses.tpl
parent3ebc431569aa6566389f3f3fc00aae7b8a90e58b (diff)
downloadDoxygen-fe818bf8e3a154788a4a180068cfdfbbadd66ff6.zip
Doxygen-fe818bf8e3a154788a4a180068cfdfbbadd66ff6.tar.gz
Doxygen-fe818bf8e3a154788a4a180068cfdfbbadd66ff6.tar.bz2
Added graphical hierarchy support to template engine
Diffstat (limited to 'templates/html/htmlclasses.tpl')
-rw-r--r--templates/html/htmlclasses.tpl40
1 files changed, 34 insertions, 6 deletions
diff --git a/templates/html/htmlclasses.tpl b/templates/html/htmlclasses.tpl
index e932c26..803b1a9 100644
--- a/templates/html/htmlclasses.tpl
+++ b/templates/html/htmlclasses.tpl
@@ -4,18 +4,46 @@
<div class="textblock">
{% indexentry nav name=tr.classIndex file=page.fileName anchor='' %}
</div>
-<div class="classindex" style="column-count:{{ config.COLS_IN_ALPHA_INDEX }};-moz-column-count:{{ config.COLS_IN_ALPHA_INDEX }};-webkit-column-count:{{ config.COLS_IN_ALPHA_INDEX}}">
-<ul>
{% with index=classIndex.list|alphaIndex:'name' %}
+ {# quick index at top #}
+ <div class="qindex">
{% for section in index %}
- <div class="ah">&#160;&#160;{{ section.letter }}&#160;&#160;</div>
+ <a class="qindex" href="#letter_{{ section.label }}">{{ section.letter }}</a>
+ {% if not forloop.last %}
+ &#160;|&#160;
+ {% endif %}
+ {% endfor %}
+ </div>
+ {# multi column index #}
+ <div class="classindex" style="column-count:{{ config.COLS_IN_ALPHA_INDEX }};-moz-column-count:{{ config.COLS_IN_ALPHA_INDEX }};-webkit-column-count:{{ config.COLS_IN_ALPHA_INDEX}}">
+ {% for section in index %}
+ <ul>
{% for cls in section.items %}
- <li>{{ cls.name }}</li>
+ <li>
+ <span class="ai">
+ {% if forloop.first %}
+ <a name="#letter_{{ section.label }}"></a>
+ <span class="ah">&#160;&#160;{{ section.letter }}&#160;&#160;</span><br/>
+ {% endif %}
+ {% with obj=cls text=cls.name %}
+ {% include 'htmlobjlink.tpl' %}
+ {% endwith %}
+ </span>
+ </li>
{% endfor %}
+ </ul>
+ {% endfor %}
+ </div><!-- classindex -->
+ {# quick index at bottom #}
+ <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>
{% endwith %}
-</ul>
-</div><!-- classindex -->
</div><!-- contents -->
{% endblock %}