]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/covop/index.tt2
Converted covop target list
[ndwebbie.git] / root / src / covop / index.tt2
diff --git a/root/src/covop/index.tt2 b/root/src/covop/index.tt2
new file mode 100644 (file)
index 0000000..1c44bee
--- /dev/null
@@ -0,0 +1,22 @@
+[% META title = 'Covert operations' %]
+<table>
+       <tr>
+       <th>Coords</th><th>Metal</th><th>Crystal</th><th>Eonium</th><th>Gov</th><th>Alert</th><th>Dists</th><th>Max (15 agents)</th><th>Last covop (tick)</th>
+       </tr>
+
+[% debug(targets.size) %]
+[% FOR t IN targets %]
+       <tr align="center" class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
+       <td><a href="[% c.uri_for('/stats/planet',t.id) %]">[% t.coords %]</a></td>
+       <td>[% t.metal %]</td>
+       <td>[% t.crystal %]</td>
+       <td>[% t.eonium %]</td>
+       <td>[% t.gov %]</td>
+       <td>[% t.minalert %] - [% t.maxalert %]</td>
+       <td>[% t.distorters %]</td>
+       <td>[% t.maxreshack %]</td>
+       <td>[% t.lastcovop %]</td>
+       <td><a href="[% c.uri_for('marktarget', t.id) %]">Did CovOp this tick</a></td>
+       </tr>
+[% END %]
+</table>