Mercurial > pub > site.implab
comparison view/layout/default/library.tt @ 8:7d92a42f8e18
improved doxygen library
author | sergey |
---|---|
date | Wed, 14 May 2014 17:28:22 +0400 |
parents | fa7a99c2d079 |
children | 573272ec604b |
comparison
equal
deleted
inserted
replaced
7:fa7a99c2d079 | 8:7d92a42f8e18 |
---|---|
1 [% | 1 [% |
2 labels( | 2 labels( |
3 CollectionTitle = "Home (%name%)" | 3 CollectionTitle = "Home (%name%)" |
4 ); | 4 ); |
5 document.css.push(css.global); | 5 document.postRender.push('dojo'); |
6 | |
6 document.css.push(css.library); | 7 document.css.push(css.library); |
7 | 8 |
8 CollectionClass = 'Benzin::Doxygen::Model::Collection'; | 9 CollectionClass = 'Benzin::Doxygen::Model::Collection'; |
9 CompoundClass = 'Benzin::Doxygen::Model::Compound'; | 10 CompoundClass = 'Benzin::Doxygen::Model::Compound'; |
10 MemberClass = 'Benzin::Doxygen::Model::Member'; | 11 MemberClass = 'Benzin::Doxygen::Model::Member'; |
51 [% FOREACH item IN compound.GetMembers({ kind = { '-not_in' = [ 'file', 'dir' ] } }) %] | 52 [% FOREACH item IN compound.GetMembers({ kind = { '-not_in' = [ 'file', 'dir' ] } }) %] |
52 <li [% IF item.doxId == model.doxId %]class="active"[% END %]>[% Link(item,item.shortName, item.canonicalName) %]</li> | 53 <li [% IF item.doxId == model.doxId %]class="active"[% END %]>[% Link(item,item.shortName, item.canonicalName) %]</li> |
53 [% END %] | 54 [% END %] |
54 </ul> | 55 </ul> |
55 [% END %] | 56 [% END %] |
57 [% BLOCK LAYOUT %] | |
56 <div class="library-pane"> | 58 <div class="library-pane"> |
57 | 59 |
58 <div id="toc-nav" class="nav-pane left"> | 60 <div id="toc-nav" class="nav-pane left"> |
59 [% IF model.isa(CollectionClass) %] | 61 [% IF model.isa(CollectionClass) %] |
60 | 62 |
87 sticky('toc-nav',{ along: 'content-pane' }); | 89 sticky('toc-nav',{ along: 'content-pane' }); |
88 sticky('siblings-nav', { along: 'content-pane' }); | 90 sticky('siblings-nav', { along: 'content-pane' }); |
89 }); | 91 }); |
90 </script> | 92 </script> |
91 </div> | 93 </div> |
94 [% END %] | |
95 [% WRAPPER LAYOUT; | |
96 render('base', content = content); | |
97 END %] |