]> ruin.nu Git - ndwebbie.git/blobdiff - templates/calls.tmpl
inform about coords delay
[ndwebbie.git] / templates / calls.tmpl
index 07155a5650ee3c30354b6fc5adb5f722e29fcee7..79cabf30e7c74c47bcc4e98e3b9799d8d2a827d4 100644 (file)
        </div>
        </TMPL_LOOP Fleets>
        </fieldset>
+       <fieldset><legend>Defenders</legend>
+       <TMPL_LOOP Defenders>
+       <div class="leftinfo">
+               <p>Member: <TMPL_VAR NAME=Username></p>
+               <TMPL_IF Recalled><p style="color:red;">RECALLED!</p></TMPL_IF> 
+               <table>
+                       <tr><th>Ship</th><th>Amount</th></tr>
+                       <TMPL_LOOP Ships>
+                               <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+                                       <td><TMPL_VAR NAME=Ship></td><td><TMPL_VAR NAME=Amount></td>
+                               </tr>
+                       </TMPL_LOOP>
+               </table>
+       </div>
+       </TMPL_LOOP>
+       </fieldset>
        <p>Userful information. Change?<input type="checkbox" name="cinfo"/></p>
        <textarea rows="15" cols="80" name="info"><TMPL_VAR NAME=Info></textarea>
        <p>
@@ -52,7 +68,7 @@
        </tr>
        <TMPL_LOOP Attackers>
        <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
+               <td><a href="/check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
                <td class="<TMPL_VAR NAME=Planet_status>"><TMPL_VAR NAME=Planet_status></td>
                <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance> (<TMPL_VAR NAME=Relationship>)</td>
                <td><TMPL_VAR NAME=Race></td>
@@ -74,8 +90,8 @@
        <tr><th>Call</th><th>Member (def points)</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>Current eta</th><th>Inital eta</th><th>Alliance</th><th>Attackers</th></tr>
 <TMPL_LOOP Calls>
        <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="<TMPL_VAR NAME=PAGE>?call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
-               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_VAR NAME=Coords> <TMPL_IF Id>(<TMPL_VAR NAME=Defense_points>)<TMPL_ELSE>-New Day-</TMPL_IF></td>
+               <td class="<TMPL_VAR NAME=DC>"><a href="/<TMPL_VAR NAME=PAGE>?call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
+               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_IF Id><a href="/check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</a><TMPL_ELSE>-New Day-</TMPL_IF></td>
                <td><TMPL_VAR NAME=Landing_tick></td>
                <td><TMPL_VAR NAME=Race></td>
                <td><TMPL_VAR NAME=Amount></td>