summaryrefslogtreecommitdiff
path: root/torrus/templates/tset-list.html
blob: a3785785b28e74b351266fe8cc5f5c8bbbddc28d (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
[% 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 %]