diff options
Diffstat (limited to 'torrus/templates/expanded-dir.html')
-rw-r--r-- | torrus/templates/expanded-dir.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/torrus/templates/expanded-dir.html b/torrus/templates/expanded-dir.html new file mode 100644 index 000000000..159c68565 --- /dev/null +++ b/torrus/templates/expanded-dir.html @@ -0,0 +1,49 @@ +[% PROCESS 'html-incblocks.txt' %] +[% INCLUDE setdate %] +[% INCLUDE htmlstart title=xmlnorm(nodeParam(token,'comment')) printpath=1 %] + +[% INCLUDE variables %] + +[% INCLUDE legend %] + +<H2>Leaf nodes:</H2> +[% + FOREACH child = sortTokens(children(token)); + IF isLeaf(child); + INCLUDE shortgraph + token=child + nodename=nodeName(child) + comment=nodeParam(child,'comment',1); + ELSIF isAlias(child); + atoken=isAlias(child); + IF isLeaf(atoken); + INCLUDE shortgraph + token=atoken + nodename=nodeName(atoken) + comment=path(atoken); + END; + END; + END; +%] + +<DIV CLASS="BottomShortcuts"> +[% + IF global.hwpredict; + IF variables.NOHW; + INCLUDE shortcut url=url(token, view, 'NOHW', '') + text="Enable Holt-Winters" + title="Switch Holt-Winters prediction boundaries"; + ELSE; + INCLUDE shortcut url=url(token, view, 'NOHW', 1) + text="Disable Holt-Winters" + title="Switch Holt-Winters prediction boundaries"; + END; + END +%] + +[% INCLUDE shortcut url=url(token) text="Default view" + title="Restore default subtree view" %] +</DIV> + +[% INCLUDE bottomline %] +[% INCLUDE htmlend %] |