]> ruin.nu Git - ndwebbie.git/blobdiff - templates/check.tmpl
Show planet_data on check page
[ndwebbie.git] / templates / check.tmpl
index a4a14c183b16552a521a99c39ceb91b54a4a3d35..a8c55fe6b2b988a33aea95739b63892b421b6939 100644 (file)
 <TMPL_IF OnePlanet>
 <div class="leftinfo">
 <table>
+<tr><th>Tick</th><th>Type</th>Amount</tr>
+<TMPL_LOOP PlanetData>
+<tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+       <td><TMPL_VAR NAME=Tick></td>
+       <td><TMPL_VAR NAME=Category> <TMPL_VAR NAME=Name></td>
+       <td><TMPL_VAR NAME=Amount></td>
+</tr>
+</TMPL_LOOP>
+</table>
+</div>
+<div class="leftinfo">
+<table>
 <tr><th>Tick</th><th>Value</th><th>Gain</th></tr>
 <TMPL_LOOP Values>
 <tr>
 </TMPL_LOOP>
 </table>
 </div>
+<div class="leftinfo">
 <table>
        <tr><th>Target</th><th>Name</th><th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th></tr>
        <TMPL_LOOP Missions>
        </tr>
        </TMPL_LOOP>
 </table>
+</div>
 </TMPL_IF>
 <div class="leftinfo">
 <img class="graph" src="/graph/stats/<TMPL_VAR NAME=Coords>" alt="stats" height="300" width="500"/>