2010-01-22 13:31:59 +00:00
|
|
|
[% PROCESS common.tt %]
|
|
|
|
|
2013-02-20 16:58:27 +00:00
|
|
|
[% global.nodeId = 1 %]
|
2010-01-22 13:31:59 +00:00
|
|
|
|
2013-02-14 14:53:34 +00:00
|
|
|
[% BLOCK renderNode %]
|
2013-02-20 00:02:18 +00:00
|
|
|
<li>
|
2013-02-14 14:53:34 +00:00
|
|
|
[% IF done.${node.path} %]
|
2013-02-20 00:28:29 +00:00
|
|
|
<a href="#[% done.${node.path} %]"><tt>[% node.name %]</tt></a>
|
2010-01-22 13:31:59 +00:00
|
|
|
[% ELSE %]
|
2013-02-20 00:28:29 +00:00
|
|
|
[% done.${node.path} = global.nodeId; global.nodeId = global.nodeId + 1; %]
|
2013-02-14 14:53:34 +00:00
|
|
|
[% IF node.refs.size > 0 %]
|
2013-02-20 00:02:18 +00:00
|
|
|
<a href="javascript:" class="tree-toggle"></a>
|
|
|
|
[% END %]
|
2013-02-20 12:56:41 +00:00
|
|
|
<span id="[% done.${node.path} %]"><span class="dep-tree-line">
|
2013-02-20 00:28:29 +00:00
|
|
|
[% IF node.buildStep %]
|
|
|
|
<a href="[% c.uri_for('/build' node.buildStep.get_column('build')) %]"><tt>[% node.name %]</tt></a> [%
|
|
|
|
IF log_exists(node.buildStep.drvpath);
|
|
|
|
INCLUDE renderLogLinks url=c.uri_for('/build' node.buildStep.get_column('build') 'nixlog' node.buildStep.stepnr);
|
|
|
|
END %]
|
|
|
|
[% ELSE %]
|
|
|
|
<tt>[% node.name %]</tt> (<em>no info</em>)
|
|
|
|
[% END %]
|
2013-02-20 12:56:41 +00:00
|
|
|
</span></span>
|
2013-02-20 00:02:18 +00:00
|
|
|
[% IF node.refs.size > 0 %]
|
|
|
|
<ul class="subtree">
|
2013-02-14 14:53:34 +00:00
|
|
|
[% FOREACH ref IN node.refs; INCLUDE renderNode node=ref; END %]
|
|
|
|
</ul>
|
|
|
|
[% END %]
|
2010-01-22 13:31:59 +00:00
|
|
|
[% END %]
|
|
|
|
</li>
|
|
|
|
[% END %]
|