Don't generate clashing IDs

This commit is contained in:
Eelco Dolstra 2013-02-20 18:26:26 +01:00
parent d1e983dfc6
commit b5273eed7a
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
[% PROCESS deps.tt %] [% PROCESS deps.tt %]
[% global.nodeId = 10000 %]
<div class="dep-tree"> <div class="dep-tree">
<ul class="tree"> <ul class="tree">
[% INCLUDE renderNode node=buildTimeGraph %] [% INCLUDE renderNode node=buildTimeGraph %]

View file

@ -1,7 +1,5 @@
[% PROCESS common.tt %] [% PROCESS common.tt %]
[% global.nodeId = 1 %]
[% BLOCK renderNode %] [% BLOCK renderNode %]
<li> <li>
[% IF done.${node.path} %] [% IF done.${node.path} %]

View file

@ -1,7 +1,9 @@
[% PROCESS deps.tt %] [% PROCESS deps.tt %]
[% global.nodeId = 1 %]
<div class="dep-tree"> <div class="dep-tree">
<ul class="tree"> <ul class="tree">
[% FOREACH node IN runtimeGraph; INCLUDE renderNode; END %] [% FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
</ul> </ul>
</div> </div>