]> ruin.nu Git - ndwebbie.git/blob - root/src/alliances/list.tt2
28b9f995a36ee6167161ab456bb6e1e07d94b697
[ndwebbie.git] / root / src / alliances / list.tt2
1 [% META title = 'List Alliances' %]
2
3 <table class="stats">
4         <tr>
5                 <th>Alliance</th>
6                 <th>Kmembers</th>
7                 <th>Members</th>
8                 <th><a href="[% c.uri_for('list','score') %]">Score</a></th>
9                 <th><a href="[% c.uri_for('list','kscore') %]">KScore</a></th>
10                 <th><a href="[% c.uri_for('list','scavg') %]">Avg Score</a></th>
11                 <th><a href="[% c.uri_for('list','kscavg') %]">KAvg score</a></th>
12                 <th><a href="[% c.uri_for('list','size') %]">Size</a></th>
13                 <th><a href="[% c.uri_for('list','ksize') %]">KSize</a></th>
14                 <th><a href="[% c.uri_for('list','siavg') %]">Avg Size</a></th>
15                 <th><a href="[% c.uri_for('list','ksiavg') %]">KAvg size</a></th>
16                 <th><a href="[% c.uri_for('list','kxp') %]">XP</a></th>
17                 <th><a href="[% c.uri_for('list','kxpavg') %]">XP avg</a></th>
18                 <th><a href="[% c.uri_for('list','kvalue') %]">Value</a></th>
19                 <th><a href="[% c.uri_for('list','kvalueavg') %]">Val avg</a></th>
20         </tr>
21 [% FOR a IN alliances %]
22         <tr align="right" class="[% loop.count % 2 ? 'even' : 'odd' %]">
23                 <td align="left"><a href="[% c.uri_for('edit',a.id) %]">[% a.name %]</a></td>
24                 <td>[% a.kmem %]</td>
25                 <td>[% a.members %]</td>
26                 <td>[% comma(a.score) %]</td>
27                 <td>[% comma(a.kscore) %]</td>
28                 <td>[% comma(a.scavg) %]</td>
29                 <td>[% comma(a.kscavg) %]</td>
30                 <td>[% comma(a.size) %]</td>
31                 <td>[% comma(a.ksize) %]</td>
32                 <td>[% comma(a.siavg) %]</td>
33                 <td>[% comma(a.ksiavg) %]</td>
34                 <td>[% comma(a.kxp) %]</td>
35                 <td>[% comma(a.kxpavg) %]</td>
36                 <td>[% comma(a.kvalue) %]</td>
37                 <td>[% comma(a.kvalavg) %]</td>
38         </tr>
39 [% END %]
40 </table>