summaryrefslogtreecommitdiff
path: root/torrus/templates/tset-list.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/tset-list.html
parent35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 (diff)
import torrus 1.0.9
Diffstat (limited to 'torrus/templates/tset-list.html')
-rw-r--r--torrus/templates/tset-list.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/torrus/templates/tset-list.html b/torrus/templates/tset-list.html
new file mode 100644
index 000000000..a3785785b
--- /dev/null
+++ b/torrus/templates/tset-list.html
@@ -0,0 +1,38 @@
+[% PROCESS 'html-incblocks.txt' %]
+[% INCLUDE htmlstart
+ title="Non-empty tokensets"
+ contentClass="SingleColumnContent" %]
+
+<H1>Non-empty tokensets</H1>
+
+[% INCLUDE treename %]
+
+<DIV CLASS="Listing">
+[% counter = 0;
+ evenRow = 0;
+
+ FOREACH tset = tsetList();
+ sz = tsetMembers(tset).size;
+
+ IF sz.length > 0 AND sz > 0;
+
+ counter = counter + 1;
+
+ IF counter % 2 == 0;
+ evenRow = 1;
+ ELSE;
+ evenRow = 0;
+ END;
+%]
+ <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
+ <SPAN CLASS="TokensetDescr">
+ <A HREF="[%url(tset)%]">[% xmlnorm(param(tset, 'comment')) %]</A>
+ ([% sz %])
+ </SPAN>
+ </DIV>
+ [% END %]
+ [% END %]
+</DIV>
+
+[% INCLUDE tsetbottomline %]
+[% INCLUDE htmlend %]