]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/stats/galaxy.tt2
Added blue css from gm
[ndwebbie.git] / root / src / stats / galaxy.tt2
index 4e27a6bf46d3abbc2c4201f1f7f51894a334f104..a2158c471e095117fc806a71bf0776a78adef1de 100644 (file)
@@ -1,6 +1,13 @@
 [% META title = 'Galaxy stats' %]
+[% FOR b IN browse %]
+<a href="[% c.uri_for('galaxy',b.x,b.y) %]">[% b.x %]:[% b.y %]</a>
+[% END %]
+[% IF g %]
 [% PROCESS inc/stats.tt2 %]
-<div class="leftinfo">
+<div class="graphs">
 <img class="graph" src="[% c.uri_for('/graphs/galaxystats',g.x,g.y,STICK) %]" alt="stats" height="300" width="500">
 <img class="graph" src="[% c.uri_for('/graphs/galaxyranks',g.x,g.y,STICK) %]" alt="ranks" height="300" width="500">
 </div>
+[% ELSE %]
+<p>No such galaxy</p>
+[% END %]