summaryrefslogtreecommitdiff
path: root/torrus/templates/expanded-dir.html
blob: 159c68565e3b1b5bdad901fc2211ced69eed446b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 %]