]> ruin.nu Git - ndwebbie.git/blob - root/src/members/points.tt2
Top members converted
[ndwebbie.git] / root / src / members / points.tt2
1 [% META title = 'Top members' %]
2 <table>
3         <tr>
4         <th>User</th>
5         <th><a href="[% c.uri_for('points','total_points') %]">Total</a></th>
6         <th><a href="[% c.uri_for('points','defense_points') %]">Defenses</a></th>
7         <th><a href="[% c.uri_for('points','attack_points') %]">Attacks</a></th>
8         <th><a href="[% c.uri_for('points','raid_points') %]">Raid</a></th>
9         <th><a href="[% c.uri_for('points','scan_points') %]">Scans</a></th>
10         <th><a href="[% c.uri_for('points','humor_points') %]">Humor</a></th>
11         </tr>
12 [% FOR m IN members %]
13         <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
14         <td>[% m.username %]</td>
15         <td>[% m.total_points %]</td>
16         <td>[% m.defense_points %]</td>
17         <td>[% m.attack_points %]</td>
18         <td>[% m.raid_points %]</td>
19         <td>[% m.scan_points %]</td>
20         <td>[% m.humor_points %]</td>
21         </tr>
22 [% END %]
23 </table>