]> ruin.nu Git - ndwebbie.git/blobdiff - templates/check.tmpl
arbiter check and some more logging
[ndwebbie.git] / templates / check.tmpl
index bdfd593c046a53535056b4ff8e62109e1715bbed..7b3660379ca2295815cfefdc999c651a29dc90f9 100644 (file)
@@ -1,4 +1,4 @@
-<p><a href="index.pl?page=check&amp;cmd=arbiter&amp;coords=<TMPL_VAR NAME=Coords>">Do arbiter check on gal</a></p>
+<p><TMPL_IF Arbiter><TMPL_VAR NAME=Arbiter><TMPL_ELSE><a href="index.pl?page=check&amp;cmd=arbiter&amp;coords=<TMPL_VAR NAME=Coords>">Do arbiter check on gal</a></TMPL_IF></p>
 <table border="1">
        <tr><th>Coords</th><th>Planet</th><th>Race</th><th>Size (rank)</th><th>Score (rank)</th><th>Value (rank)</th>
                <th>XP (rank)</th><th>Fleet (Resouce) value</th><TMPL_IF isBC><th>Nick</th><th>Hit us</th><th>Alliance</th></TMPL_IF>
                <td><TMPL_VAR NAME=FleetValue></td><TMPL_IF isBC><td class="<TMPL_VAR NAME=PlanetStatus>"><TMPL_VAR NAME=Nick></td><td><TMPL_VAR NAME=HitUs></td>
                <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance></td></TMPL_IF>
        </tr>
-</TMPL_LOOP>
+
+       </TMPL_LOOP>
+</table>
+<TMPL_IF OnePlanet>
+<table border="1">
+       <tr><th>Target</th><th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th></tr>
+       <TMPL_LOOP Missions>
+       <tr align="center">
+               <td><TMPL_VAR NAME=Target></td><td><TMPL_VAR NAME=Mission></td><td><TMPL_VAR NAME=LandingTick></td>
+               <td><TMPL_VAR NAME=ETA></td><td><TMPL_VAR NAME=Amount></td>
+       </tr>
+       </TMPL_LOOP>
 </table>
+<TMPL_LOOP Scans>
+<div class="leftinfo">
+<TMPL_VAR NAME=Scan>
+</div>
+</TMPL_LOOP>
+</TMPL_IF>