summaryrefslogtreecommitdiff
path: root/torrus/templates/default-tset.html
diff options
context:
space:
mode:
authorivan <ivan>2010-12-27 00:04:44 +0000
committerivan <ivan>2010-12-27 00:04:44 +0000
commit74e058c8a010ef6feb539248a550d0bb169c1e94 (patch)
tree6e8d3efb218dd0f41970b62c7f29758d1ae9a937 /torrus/templates/default-tset.html
parent35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 (diff)
import torrus 1.0.9
Diffstat (limited to 'torrus/templates/default-tset.html')
-rw-r--r--torrus/templates/default-tset.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/torrus/templates/default-tset.html b/torrus/templates/default-tset.html
new file mode 100644
index 000000000..6cf79111a
--- /dev/null
+++ b/torrus/templates/default-tset.html
@@ -0,0 +1,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 %]