diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-07 18:58:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-13 20:21:39 (GMT) |
commit | 0fea3d4ca57187f271d7580ff16f32b7ab4657df (patch) | |
tree | 867c49d9450eeb9ec85d1ec36a4dd71caa91d007 /templates/html/htmldir.tpl | |
parent | 475b0c51847271b04cb0e58254bd7e420445250b (diff) | |
download | Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.zip Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.gz Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.bz2 |
Introduced template directory for template and resource files and resource compiler & manager
Diffstat (limited to 'templates/html/htmldir.tpl')
-rw-r--r-- | templates/html/htmldir.tpl | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/templates/html/htmldir.tpl b/templates/html/htmldir.tpl new file mode 100644 index 0000000..7417f7b --- /dev/null +++ b/templates/html/htmldir.tpl @@ -0,0 +1,78 @@ +{% extend 'htmlbase.tpl' %} +{% msg %}Generating HTML output for directory {{ compound.name }}{% endmsg %} + +{% block navpath %} + {% if compound.navigationPath %} + <div id="nav-path" class="navpath"> + <ul> + {% for obj in compound.navigationPath %} + <li class="navelem"> + {% with text=obj.text %} + {% include 'htmlobjlink.tpl' %} + {% endwith %} + </li> + {% endfor %} + </ul> + </div> + {% endif %} +{% endblock %} + +{% block title %} + {# write summary links in the title area #} + <div class="summary"> + {% with first=True %} + {% if compound.dirs %} + <a href="#subdirs">{{ tr.directories }}</a> + {% set first=False %} + {% endif %} + {% if compound.files %} + {% if not first %} | {% endif %} + <a href="#files">{{ tr.files }}</a> + {% set first=False %} + {% endif %} + {% endwith %} + </div> + {{ block.super }} +{% endblock %} + +{% block content %} +<div class="contents"> +{# brief description #} + {% if compound.brief %} + {{ compound.brief }} + {% if compound.hasDetails %} + <a href="#details">{{ tr.more }}</a> + {% endif %} + {% endif %} +{# dir graph #} +{# TODO #} +{# member declarations #} + {# directories #} + {% with list=compound.dirs label='subdirs' title=tr.directories local=False %} + {% include 'htmldeclcomp.tpl' %} + {% endwith %} + {# files #} + {% with list=compound.files, label='files' title=tr.files local=False %} + {% include 'htmldeclcomp.tpl' %} + {% endwith %} +{# end member declarations #} +{# detailed description #} +{% if compound.hasDetails %} + {# anchor #} + <a name="details" id="details"></a> + {# header #} + <h2 class="groupheader">{{ tr.detailedDesc }}</h2> + <div class="textblock"> + {# brief #} + {% if compound.brief and config.REPEAT_BRIEF %} + <p> + {{ compound.brief }} + </p> + {% endif %} + {# details #} + {{ compound.details }} + </div> +{% endif %} +</div> +{% endblock %} + |