]> ruin.nu Git - ndwebbie.git/blob - root/src/stats/galaxy.tt2
Add links to previous and next galaxy
[ndwebbie.git] / root / src / stats / galaxy.tt2
1 [% META title = 'Galaxy stats' %]
2 [% FOR b IN browse %]
3 <a href="[% c.uri_for('galaxy',b.x,b.y) %]">[% b.x %]:[% b.y %]</a>
4 [% END %]
5 [% IF g %]
6 [% PROCESS inc/stats.tt2 %]
7 <div class="leftinfo">
8 <img class="graph" src="[% c.uri_for('/graphs/galaxystats',g.x,g.y,STICK) %]" alt="stats" height="300" width="500">
9 <img class="graph" src="[% c.uri_for('/graphs/galaxyranks',g.x,g.y,STICK) %]" alt="ranks" height="300" width="500">
10 </div>
11 [% ELSE %]
12 <p>No such galaxy</p>
13 [% END %]