import torrus 1.0.9
[freeside.git] / torrus / templates / default-tset.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% INCLUDE setdate %]
3 [% comment = xmlnorm(param(token, 'comment')) %]
4 [% INCLUDE htmlstart title=comment contentClass="SingleColumnContent" %]
5
6 <H1>[% comment %]</H1>
7
8 [% INCLUDE treename %]
9
10 [% INCLUDE variables %]
11
12 [% SET pos = 1; SET global.hwpredict = 0 %]
13 [% FOREACH node = sortTokens(tsetMembers(token)) %]
14   [% IF pos == 1 %]
15 <DIV CLASS="ShortLeft">
16   [% ELSE %]
17 <DIV CLASS="ShortRight">
18   [% END %]
19   [% nodename=nodeParam(node,'descriptive-nickname');
20      IF nodename=='';
21        nodename=path(node);
22      END;
23      INCLUDE shortgraph
24         token=node
25         nodename=nodename
26         comment=nodeParam(parent(node),'comment',1)
27    %]
28 </DIV>
29   [% IF pos == 1 %]
30     [% SET pos = 2 %]
31   [% ELSE %]
32     [% SET pos = 1 %]
33   [% END %]
34 [% END %]
35
36 <DIV CLASS="BottomShortcuts">
37 [%
38   IF global.hwpredict;
39     IF variables.NOHW;
40       INCLUDE shortcut url=url(token, view, 'NOHW', '')
41                        text="Enable Holt-Winters"
42                        title="Switch Holt-Winters prediction boundaries";
43     ELSE;
44       INCLUDE shortcut url=url(token, view, 'NOHW', 1)
45                        text="Disable Holt-Winters"
46                        title="Switch Holt-Winters prediction boundaries";
47     END;
48   END
49 %]
50
51 [% INCLUDE shortcut url=url('SS') text="Back to tokensets list"
52                     title="List of non-empty tokensets"%]
53 </DIV>
54
55 [% INCLUDE tsetbottomline %]
56 [% INCLUDE htmlend %]