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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
[% 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;
comment=nodeParam(parent(node),'comment',1); %]
<DIV CLASS="ShortGraph">
<DIV CLASS="NodeName">
<A HREF="[%url(node)%]">[% nodename %]</A>
</DIV>
[%IF comment%]<DIV CLASS="NodeDescr">[%xmlnorm(comment)%]</DIV>[%END%]
[%
nodeView = param(token,'rrgraph-view');
IF nodeView=='';
nodeView = nodeParam(node,'rrgraph-views').split(',').0;
END;
nodevars = [];
IF nodeParam(node, 'rrd-hwpredict') == 'enabled' and
param(nodeView, 'rrd-hwpredict') != 'disabled';
global.hwpredict = 1;
IF variables.NOHW;
nodevars = ['NOHW', 1];
ELSE;
nodevars = ['NOHW', ''];
END;
END
%]
<DIV CLASS="GraphImage">
<A HREF="[%url(node)%]">
<IMG SRC="[%url(node, nodeView, nodevars)%]"
ALT="[% param(nodeView, 'description') %]">
</A>
</DIV>
</DIV>
</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 %]
|