summaryrefslogtreecommitdiff
path: root/torrus/templates/default-tset.html
blob: 6cf79111a0bd89b84d096f7540bd1689139b6c6d (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
50
51
52
53
54
55
56
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
[% comment = xmlnorm(param(token, 'comment')) %]
[% INCLUDE htmlstart title=comment contentClass="SingleColumnContent" %]

<H1>[% comment %]</H1>

[% INCLUDE treename %]

[% INCLUDE variables %]

[% SET pos = 1; SET global.hwpredict = 0 %]
[% FOREACH node = sortTokens(tsetMembers(token)) %]
  [% IF pos == 1 %]
<DIV CLASS="ShortLeft">
  [% ELSE %]
<DIV CLASS="ShortRight">
  [% END %]
  [% nodename=nodeParam(node,'descriptive-nickname');
     IF nodename=='';
       nodename=path(node);
     END;
     INCLUDE shortgraph
        token=node
        nodename=nodename
        comment=nodeParam(parent(node),'comment',1)
   %]
</DIV>
  [% IF pos == 1 %]
    [% SET pos = 2 %]
  [% ELSE %]
    [% SET pos = 1 %]
  [% 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('SS') text="Back to tokensets list"
                    title="List of non-empty tokensets"%]
</DIV>

[% INCLUDE tsetbottomline %]
[% INCLUDE htmlend %]