]> ruin.nu Git - ndwebbie.git/blobdiff - templates/covop.tmpl
nicer tables
[ndwebbie.git] / templates / covop.tmpl
index 29d36b1625239e0135aa4da40bf20e0f600aaeef..aef3e6a0b043321faafdd9db346e1d04e9a7129b 100644 (file)
@@ -1,9 +1,9 @@
-<table border="1">
+<table>
        <tr>
        <th>Coords</th><th>Metal</th><th>Crystal</th><th>Eonium</th><th>% Sec Centres</th><th>Dists</th><th>Max (15 agents)</th><th>Last covop (tick)</th>
        </tr>
        <TMPL_LOOP Targets>
-       <tr align="center">
+       <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
        <td><a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
        <td><TMPL_VAR NAME=Metal></td>
        <td><TMPL_VAR NAME=Crystal></td>