]> ruin.nu Git - ndwebbie.git/blob - root/src/members/points.tt2
Add defprio to main and top members
[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','defprio') %]">Defprio</a></th>
7         <th><a href="[% c.uri_for('points','defense_points') %]">Defenses</a></th>
8         <th><a href="[% c.uri_for('points','attack_points') %]">Attacks</a></th>
9         <th><a href="[% c.uri_for('points','raid_points') %]">Raid</a></th>
10         <th><a href="[% c.uri_for('points','scan_points') %]">Scans</a></th>
11         <th><a href="[% c.uri_for('points','humor_points') %]">Humor</a></th>
12         </tr>
13 [% FOR m IN members %]
14         <tr align="right" class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
15         <td align="left">[% m.username %]</td>
16         <td>[% m.total_points %]</td>
17         <td>[% m.defprio %]</td>
18         <td>[% m.defense_points %]</td>
19         <td>[% m.attack_points %]</td>
20         <td>[% m.raid_points %]</td>
21         <td>[% m.scan_points %]</td>
22         <td>[% m.humor_points %]</td>
23         </tr>
24 [% END %]
25 </table>